Skip to main content

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:

MethodCreditsDescription
getBlockDagInfo1DAG tip hashes and network info
getServerInfo1Node version and sync status
getSyncStatus1Sync progress
getBalanceByAddress1Balance for an address
getUtxosByAddresses5UTXO set for addresses
getVirtualChainFromBlockV25Virtual chain from block
submitTransaction5Broadcast a signed transaction

See the JSON-RPC reference for all supported methods.

Response headers

Every authenticated RPC response includes:

HeaderDescription
X-Credits-UsedCredits charged for this request
X-Credits-RemainingBalance after this request
X-PlanYour plan (free, developer, business)
X-RateLimit-Limit-RPSYour per-second rate limit
X-RateLimit-Remaining-RPSRequests remaining this second

Call GET /v1/limits anytime (0 credits) to inspect your full balance and rate limits.