# QuickNode Solana Mainnet JSON-RPC

> QuickNode Solana Mainnet JSON-RPC 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).

Provides paid JSON-RPC access to the Solana mainnet blockchain via QuickNode infrastructure, payable per-request using x402 micropayments.

## Facts

- Endpoint: POST https://x402.quicknode.com/solana-mainnet
- 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/x402-quicknode-com-fef54c23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S4-0mDC2Zp8S32ypaVXxC

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 x402-quicknode-com-fef54c23 -d '<json body>'
```

Example prompt: Can you call getBalance on Solana mainnet for the address 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAcb using QuickNode's RPC endpoint?

## When to prefer this

Use this endpoint when you need reliable, low-latency JSON-RPC access to Solana mainnet and want to pay per-request without a subscription, or when integrating micropayments via x402 protocol into an autonomous agent workflow. Prefer this over free public RPC nodes when uptime and performance guarantees matter.

## Known failure modes

- Payment failure: insufficient USDC balance or x402 payment rejected (402 response)
- Invalid JSON-RPC method: method not supported on Solana mainnet (error code -32601)
- Invalid params: malformed or missing method parameters (error code -32602)
- Rate limiting or node unavailability (503 or timeout)
- Invalid jsonrpc version field (parse error -32700)

## How this service works

Payment for Quicknode RPC access. Options: per-request ($0.001/request), nanopayment ($0.0001/request via Circle Gateway), or credit drawdown with SIWX authentication.

## Output

A standard JSON-RPC 2.0 response object containing the result of the Solana RPC method call, such as account balance in lamports, block details, transaction confirmations, or program account data, depending on the method invoked.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "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"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": [
    "number",
    "string"
   ]
  },
  "error": {
   "type": "object",
   "properties": {
    "code": {
     "type": "integer"
    },
    "message": {
     "type": "string"
    }
   }
  },
  "result": {
   "description": "RPC result (type varies by method)"
  },
  "jsonrpc": {
   "type": "string",
   "const": "2.0"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-quicknode-com-fef54c23/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)
