Read-only JSON-RPC access to NEAR Protocol mainnet, served by the Pocket Network
Read-only JSON-RPC access to NEAR Protocol mainnet, served by the Pocket Network decentralised supplier set. Pay per request in USDC; no account, no API key.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
991 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agent.pocket.network/v1/near
| Category | Everything else |
|---|---|
| Provider host | agent.pocket.network |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 6 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.005 | 991 ms |
Example input (from the provider)
{
"body": {
"id": 3,
"jsonrpc": "2.0",
"method": "block",
"params": {
"finality": "final"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"method": {
"description": "JSON-RPC read method, e.g. query",
"examples": [
"EXPERIMENTAL_changes",
"EXPERIMENTAL_changes_in_block",
"EXPERIMENTAL_congestion_level",
"EXPERIMENTAL_genesis_config",
"EXPERIMENTAL_light_client_block_proof",
"EXPERIMENTAL_light_client_proof",
"EXPERIMENTAL_maintenance_windows",
"EXPERIMENTAL_protocol_config",
"EXPERIMENTAL_receipt",
"EXPERIMENTAL_split_storage_info",
"EXPERIMENTAL_tx_status",
"EXPERIMENTAL_validators_ordered",
"block",
"changes",
"chunk",
"client_config",
"gas_price",
"genesis_config",
"health",
"light_client_proof",
"maintenance_windows",
"network_info",
"next_light_client_block",
"query",
"status",
"tx",
"validators"
],
"type": "string"
},
"params": {
"description": "Parameters per the NEAR RPC spec (positional or named)"
}
},
"required": [
"method"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"description": "JSON-RPC 2.0 response envelope. Exactly one of `result` or `error` is present. `result` takes the shape the called method defines per the NEAR RPC specification; NEAR conventionally echoes a string id.",
"examples": [
{
"id": "dontcare",
"jsonrpc": "2.0",
"result": {
"gas_price": "100000000"
}
}
],
"properties": {
"error": {
"description": "Present instead of `result` when the call failed",
"properties": {
"code": {
"description": "A JSON-RPC 2.0 error code",
"type": "integer"
},
"data": {
"description": "Method-specific detail, when the node supplies it"
},
"message": {
"type": "string"
}
},
"type": "object"
},
"id": {
"description": "The request id, echoed back",
"type": [
"string",
"number",
"null"
]
},
"jsonrpc": {
"description": "The protocol version, always \"2.0\"",
"type": "string"
},
"result": {
"description": "The method's result, in the shape the called method defines. Present when the call succeeded; absent when `error` is."
}
},
"type": "object"
},
"portal": {
"properties": {
"provenance": {
"const": "third-party-supplier"
},
"schemaCheck": {
"enum": [
"passed",
"undeclared",
"unchecked"
]
},
"serviceId": {
"const": "near"
}
},
"required": [
"provenance",
"serviceId",
"schemaCheck"
],
"type": "object"
}
},
"required": [
"portal",
"data"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}