Pay-per-run with crypto
Machine Payments let any program call Subconscious agents and pay per run with USDC on Base. No account, no API key. Just an HTTP request and an on-chain payment. Built on the open x402 protocol, machine payment endpoints return a standard 402 Payment Required response when called without payment. Any x402-compatible client handles the payment flow automatically.Search run
$0.10 per run. Run a deep search with a preselected engine and search tools.
Full agent run
$0.50 per run. Full control over the engine, instructions, and tools to kick off an agent.
How it works
Receive a 402
The server responds with
402 Payment Required and payment details (amount, network, deposit address).Retry with payment proof
Re-send the same request with the
X-Payment header containing the payment proof. The server verifies payment and returns a runId.Endpoints
Search run ($0.10)
Runs a web search agent against your query. The engine and tools are managed for you. Just provide a description.The search query or task instructions for the agent.
Request body
Full agent run ($0.50)
Full control over engine, instructions, and tools. Mirrors the shape ofPOST /v1/runs without org-specific fields.
Request body
| Field | Required | Notes |
|---|---|---|
engine | Yes | tim, tim-edge, timini, tim-gpt, or tim-gpt-heavy |
input.instructions | Yes | Task for the agent |
input.tools | No | Omit for pure reasoning |
input.answerFormat | No | JSON schema to shape the response |
input.reasoningFormat | No | JSON schema for reasoning output |
output.callbackUrl | No | Webhook URL called on completion |
Response
Both endpoints return 202 Accepted immediately with arunId:
Polling for results
status is succeeded or failed.
Status values
| Status | Meaning |
|---|---|
queued | Run is waiting to be processed |
processing | Agent is actively working |
succeeded | Run completed. result is available. |
failed | Run errored. Check the error field. |
Example with curl
x402 Protocol
Machine Payments use the x402 protocol, an open standard for HTTP-native payments. When a request arrives without a validX-Payment header, the server returns:
X-Payment header.
Any x402-compatible HTTP client (like purl) handles this automatically — your code just makes a normal HTTP request.