Endpoint
POST https://kwery-api.com/rpc
Authenticate with the X-API-Key header on every request.
Request format
Kwery accepts standard JSON-RPC 2.0 payloads:
{
"jsonrpc": "2.0",
"id": 1,
"method": "getBlock",
"params": {
"hash": "0x...",
"includeTransactions": true
}
}
Common methods
Kwery supports the full Kaspa wRPC surface. Common calls:
| Method | Credits | Description |
|---|---|---|
getBlockDagInfo | 1 | DAG tip hashes and network info |
getServerInfo | 1 | Node version and sync status |
getSyncStatus | 1 | Sync progress |
getBalanceByAddress | 1 | Balance for an address |
getUtxosByAddresses | 5 | UTXO set for addresses |
getVirtualChainFromBlockV2 | 5 | Virtual chain from block |
submitTransaction | 5 | Broadcast a signed transaction |
See the JSON-RPC reference for all supported methods.
Response headers
Every authenticated RPC response includes:
| Header | Description |
|---|---|
X-Credits-Used | Credits charged for this request |
X-Credits-Remaining | Balance after this request |
X-Plan | Your plan (free, developer, business) |
X-RateLimit-Limit-RPS | Your per-second rate limit |
X-RateLimit-Remaining-RPS | Requests remaining this second |
Call GET /v1/limits anytime (0 credits) to inspect your full balance and rate limits.