# BlockMachine API Key Management

> BlockMachine API Key Management is a paid API for AI agents from blockmachine.io, paid per call via x402, $5/call, status unknown (last checked 2026-10-27).

Creates and manages API keys for accessing BlockMachine services via the x402 payment protocol

## Facts

- Endpoint: POST https://blockmachine.io/user-management-api/x402/api-keys?utm_source=zero.xyz
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockmachine-api-key-management-9ac9bb8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MoBZXL5rGDB2gykKl_1NL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockmachine-api-key-management-9ac9bb8b -d '<json body>'
```

Example prompt: Create a new API key for my BlockMachine account so I can start making authenticated API calls — I'm ready to pay the $5 USDC fee via x402.

## When to prefer this

Use this endpoint when you need to programmatically create or provision API keys for BlockMachine services, especially when operating within the x402 payment protocol ecosystem. Prefer this over manual key generation when automating developer onboarding or integrating BlockMachine into an automated workflow.

## Known failure modes

- Payment of $5 USDC fails or is rejected by x402 protocol — returns payment required error
- Invalid or missing user account credentials — returns authentication error
- Duplicate key creation attempt — may return conflict error
- Rate limiting on key creation — returns too many requests error
- Malformed request body — returns 400 bad request with validation details

## How this service works

Buy a blockmachine API key with Request Unit (RU) credit. blockmachine is decentralized multi-chain RPC infrastructure on Bittensor Subnet 19 - one key authenticates across supported chain RPC endpoints (Bittensor and Ethereum), spending from a single global RU budget. Pay per purchase in USDC (Base), TAO, or alpha.

## Output

Returns a newly created API key credential that can be used to authenticate subsequent requests to BlockMachine services, along with any associated metadata such as key ID, creation timestamp, and permissions scope.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockmachine-api-key-management-9ac9bb8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockmachine.io](https://www.zero.xyz/host/blockmachine.io/llms.txt)
