# QuickNode x402 Credits Purchase

> QuickNode x402 Credits Purchase is a paid API for AI agents from x402.quicknode.com, paid per call via x402, $10/call, status unknown (last checked 2026-09-14).

Purchase USDC credits to access QuickNode's Core API and blockchain RPC services via the x402 payment protocol

## Facts

- Endpoint: POST https://x402.quicknode.com/credits
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quicknode-x402-credits-purchase-50223651
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_quYNSly3ZDtdzK9Ig38QC

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 quicknode-x402-credits-purchase-50223651 -d '<json body>'
```

Example prompt: I need to purchase $10 worth of QuickNode Core API credits using USDC via x402 so I can start making blockchain RPC calls — go ahead and complete that payment.

## When to prefer this

Use this endpoint when an agent needs programmatic, crypto-native access to QuickNode's Core API and wants to pay per-use in USDC via the x402 micropayment protocol, rather than managing a traditional subscription or API key billing account. Ideal for autonomous agents that need to self-fund blockchain RPC access on demand.

## Known failure modes

- Insufficient USDC balance — payment rejected with 402 Payment Required
- Invalid x402 payment header — authentication or payment proof malformed
- Network or chain issues causing payment verification failure
- Credits already funded — duplicate payment attempt may be rejected
- QuickNode service unavailable — 503 or timeout response

## How this service works

Payment for credits to access Quicknode Core API

## Output

Returns a JSON-RPC 2.0 style response confirming the credit purchase with an id, result hash, and jsonrpc version field, granting access to QuickNode Core API services.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "jsonrpc",
      "method"
     ],
     "properties": {
      "id": {
       "type": [
        "number",
        "string"
       ],
       "description": "Request identifier"
      },
      "method": {
       "type": "string",
       "description": "JSON-RPC method name (e.g., eth_blockNumber, eth_call)"
      },
      "params": {
       "type": "array",
       "description": "Method parameters"
      },
      "jsonrpc": {
       "type": "string",
       "const": "2.0"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": 1,
  "result": "0x1234567",
  "jsonrpc": "2.0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quicknode-x402-credits-purchase-50223651/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.quicknode.com](https://www.zero.xyz/host/x402.quicknode.com/llms.txt)
