Skip to main content

Base URL

https://kwery-api.com
SurfacePath
JSON-RPCPOST /rpc
REST/v1/*

Authentication

MethodUse
X-API-Key headerRecommended for production
api_key query parameterQuick tests only
curl -X POST "https://kwery-api.com/rpc" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: kwery_live_YOUR_KEY" \
  -d '{"jsonrpc":"2.0","id":1,"method":"getBlockDagInfo","params":{}}'

JSON-RPC errors

{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32000,
    "message": "Rate limit exceeded"
  }
}

REST errors

{
  "detail": {
    "error": "api_key_paused",
    "message": "API access is paused due to a past-due payment."
  }
}