Statistics API
Statistics API Documentation
The NOWNodes Statistics API allows you to monitor and analyze your API usage, manage API key information, and track subscription limits through a dedicated REST interface.
Retrieve detailed request statistics across supported blockchain networks, filter usage data by API key, request type (HTTP or WebSocket), and date range, and monitor your remaining monthly request quota.
To get started, obtain your Statistics API authentication token from the Statistics section of your NOWNodes dashboard, available on the Business plan and above. Use this token to access the Statistics API endpoints and integrate usage monitoring into your applications.
Base URL and authentication
Base URL: https://api.nownodes.io
All endpoints use the GET method and require a Statistics API authentication token in the HTTP header named token. You can obtain the token in your NOWNodes dashboard under Statistics (available starting with the Business subscription plan).
curl -X GET "https://api.nownodes.io/v1.0/subscription" \
-H "token: YOUR_STATISTICS_TOKEN"Use the token header for Statistics API authentication (rather than the api-key header).
Endpoints overview
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1.0/subscription | Get subscription details, request quota, and usage. |
| GET | /v1.0/api-keys | List API keys and their usage and active status. |
| GET | /v1.0/statistics | Retrieve filtered API request statistics by date, network, key, and request type. |
Subscription
GET /v1.0/subscription
Returns subscription details and request usage statistics for the provided token.
This endpoint does not require query parameters.
Example request
curl -X GET "https://api.nownodes.io/v1.0/subscription" \
-H "token: YOUR_STATISTICS_TOKEN"Response fields (200 OK)
| Field | Type | Description |
|---|---|---|
| subscription_type | string | Subscription plan type. |
| activated_at | string (date-time) | ISO 8601 timestamp when the subscription was activated. |
| expires_at | string (date-time) | ISO 8601 timestamp when the subscription will expire. |
| used_requests_per_month | integer (int64) | Number of requests already used within the current subscription. |
| overage_requests_per_month | integer (int64) | The total number of requests that exceeded the monthly plan limit. |
| request_limit_per_month | integer (int64) | Maximum number of requests allowed within the current subscription. |
| remaining_requests_per_month | integer (int64) | Remaining number of requests available within the current subscription. |
| usage_percent_per_month | integer | Usage percentage (rounded to an integer). |
Example response — 200 OK
The Swagger file provides an example for each response field; the object below combines those field examples.
{
"subscription_type": "business",
"activated_at": "2026-06-08T09:56:00.000Z",
"expires_at": "2026-07-08T09:56:38.745Z",
"used_requests_per_month": 203643,
"overage_requests_per_month": 0,
"request_limit_per_month": 30000000,
"remaining_requests_per_month": 29796357,
"usage_percent_per_month": 1
}API keys
GET /v1.0/api-keys
Returns the current tariff name and a list of API keys with optional filtering by status and sorting by call count.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| calls_count_order | string | No | Specifies the sort order of the results based on the total number of API calls. Use asc for ascending or desc for descending order. Allowed values: asc, desc. Example: desc. |
| is_active | boolean | No | Filters the results to include only API keys with the specified active status. Set to true for active keys or false for inactive keys. Example: true. |
The calls_count field in this endpoint reflects request counts for the last 30 days, as specified in the Swagger schema.
Example request
curl -X GET "https://api.nownodes.io/v1.0/api-keys" \
-H "token: YOUR_STATISTICS_TOKEN"To filter active keys and sort by the number of requests, you can optionally add ?is_active=true&calls_count_order=desc to the URL. The response example below shows an unfiltered result.
Response fields (200 OK)
| Field | Type | Description |
|---|---|---|
| tariff_name | string | The name of the subscription tariff plan currently assigned to the account. |
| api_keys | array of object | A collection of API keys associated with the user account, including metadata and usage statistics. |
| api_keys[].id | integer | The unique identifier of the API key. |
| api_keys[].api_key_name | string | The display name or label assigned to the API key for identification purposes. |
| api_keys[].is_active | boolean | Indicates whether the API key is currently active and can be used for API requests. |
| api_keys[].calls_count | integer | The total number of API calls made using this API key (the number of requests is counted based on the last 30 days). |
| api_keys[].created_at | string (date-time) | The timestamp when the API key was created, in ISO 8601 format. |
Example response — 200 OK
{
"tariff_name": "business",
"api_keys": [
{
"id": 26953,
"api_key_name": "[email protected](1)",
"is_active": false,
"calls_count": 400,
"created_at": "2026-05-13T11:59:14.270Z"
},
{
"id": 26954,
"api_key_name": "[email protected](2)",
"is_active": true,
"calls_count": 500,
"created_at": "2026-05-18T10:15:31.996Z"
},
{
"id": 26955,
"api_key_name": "[email protected](3)",
"is_active": true,
"calls_count": 30201500,
"created_at": "2026-05-18T10:15:33.485Z"
},
{
"id": 26982,
"api_key_name": "[email protected](4)",
"is_active": true,
"calls_count": 546,
"created_at": "2026-05-27T15:40:52.169Z"
}
]
}Statistics
GET /v1.0/statistics
Returns detailed statistics about API requests made using your API keys. This endpoint provides information about request counts, types, dates, and blockchain nodes used.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| current_subscription | boolean | Yes | Select the statistics period: current subscription (true) or all recorded usage through today (false). Allowed values: true, false. Example: false. |
| blockchain_ticker | array of string | No | Filter statistics by specific blockchain ticker(s). Multiple values can be provided as an array. Example: tomo. |
| request_type | string | No | Filter statistics by the type of API request. http for HTTP requests or wss for WebSocket connections. Allowed values: http, wss. Example: http. |
| api_key | string | No | Filter statistics by a specific API key name. The value should match the exact name of the API key. Example: [email protected](4). |
| date_from | string (date) | No | Inclusive start date (YYYY-MM-DD); see date filtering rules below. Example: 2025-05-10. |
| date_to | string (date) | No | Inclusive end date (YYYY-MM-DD); see date filtering rules below. Example: 2026-06-15. |
| calls_count_order | string | No | Sort order for the results based on the number of API calls. asc for ascending (lowest first) or desc for descending (highest first). Allowed values: asc, desc. Example: asc. |
| date_order | string | No | Sort order for the results based on the date. asc for chronological order (oldest first) or desc for reverse chronological order (newest first). Allowed values: asc, desc. Example: desc. |
Date filtering rules
- current_subscription=true: include the active subscription period only. date_from must not be earlier than the subscription start date, and date_to must not be later than the subscription end date.
- current_subscription=false: include records from the first recorded request through today. date_from must not be earlier than the first request record, and date_to must not be later than today.
- date_from and date_to are inclusive; use YYYY-MM-DD.
Supported blockchain_ticker values
The following values are copied from the Swagger enum, preserving their original spelling and case. This list also includes service identifiers such as market-data and fiat-rates.
ada, akt, algo, ALPH, apt, arb, ardr, ARK, ATLA, atom, aurora, avax, axl, BABY, band,
base, bch, bdag, BERA, blast, BLD, bnb, bsv, btc, btg, celo, cfx, clo, cmp, core, coreum,
cspr, dash, dcr, dgb, divi, doge, dot, dot-assethub, egld, eos, etc, eth, ethw, fet,
fiat-rates, fil, firo, flr, FLUX, ftm, glmr, grs, HBAR, Hype, icx, inj, inj-indexer,
iota, kaia, kas, kava, kmd, ksm, ksm-assethub, linea, lsk, ltc, luna, lunc, lyx,
market-data, matic, Metis, MON, mtr, nano, near, neo, one, ont, op, osmo, pivx, pls, qie,
QTUM, QTUM-testnet, rsk, rvn, S, SEI, shib, sol, Soroban, Soroban Testnet, strax, strd,
strk, STX, sui, sys, TAO, theta, tia, tomo, ton, trx, Unichain, VC, vet, Wemix, xdc, xec,
xem, xlayer, xlm, xmr, xpl, xrd, xrp, xrp-evm, xtz, xvg, zec, zen, zeta, zil, zkFor a filter with multiple tickers, OpenAPI’s default query-array serialization uses repeated blockchain_ticker parameters (for example, blockchain_ticker=eth&blockchain_ticker=btc).
Example request
curl -G "https://api.nownodes.io/v1.0/statistics" \
-H "token: YOUR_STATISTICS_TOKEN" \
--data-urlencode "current_subscription=false" \
--data-urlencode "blockchain_ticker=tomo" \
--data-urlencode "request_type=http" \
--data-urlencode "[email protected](4)" \
--data-urlencode "date_from=2025-05-10" \
--data-urlencode "date_to=2026-06-15" \
--data-urlencode "date_order=desc"Response fields (200 OK)
| Field | Type | Description |
|---|---|---|
| period | object | The time period covered by the statistics response. |
| period.from | string (date) | The start date of the statistics period. |
| period.to | string (date) | The end date of the statistics period. |
| total_requests | integer | The total cumulative number of API calls across all matching records in the specified period. |
| details | array of object | A list of detailed statistics records, each representing API usage for a specific date, API key, and blockchain. |
| details[].api_key_name | string | The name or label of the API key used for the requests. |
| details[].request_type | string | The type of API request made (http or wss). |
| details[].date | string (date) | The date when the API requests were made, in YYYY-MM-DD format. |
| details[].blockchain_ticker | string | The ticker symbol of the blockchain network accessed in the API request. |
| details[].calls_count | integer | The number of API calls made for the specific API key, request type, date, and blockchain combination. |
Example response — 200 OK
{
"period": {
"from": "2025-05-10",
"to": "2026-06-15"
},
"total_requests": 510,
"details": [
{
"api_key_name": "[email protected](4)",
"request_type": "http",
"date": "2026-06-05",
"blockchain_ticker": "tomo",
"calls_count": 10
},
{
"api_key_name": "[email protected](4)",
"request_type": "http",
"date": "2026-06-04",
"blockchain_ticker": "tomo",
"calls_count": 250
},
{
"api_key_name": "[email protected](4)",
"request_type": "http",
"date": "2026-05-28",
"blockchain_ticker": "tomo",
"calls_count": 250
}
]
}Error responses
The Swagger files define the following HTTP error responses:
| HTTP status | Endpoint(s) | Meaning |
|---|---|---|
| 400 Bad Request | /v1.0/api-keys, /v1.0/statistics | Missing or invalid query parameters. |
| 401 Unauthorized | All three endpoints | The token header is missing or invalid. |
| 403 Forbidden | All three endpoints | The token is not authorized to access the endpoint. |
| 500 Internal Server Error | All three endpoints | An internal service error occurred. |
400 Bad Request
Example when calls_count_order is invalid (/v1.0/api-keys):
{
"message": "calls_count_order must be asc/desc",
"error": "Bad Request",
"statusCode": 400
}Example when is_active is invalid (/v1.0/api-keys):
{
"message": "is_active must be true/false",
"error": "Bad Request",
"statusCode": 400
}For /v1.0/statistics, the 400 schema defines message as an array of strings containing validation errors; possible messages include:
- current_subscription should not be null or undefined
- current_subscription must be one of the following values: true, false
- request_type must be one of the following values: http, wss
- calls_count_order must be one of the following values: asc, desc
- date_order must be one of the following values: asc, desc
401 — Invalid or missing token
{
"message": "Invalid or missing token",
"error": "Unauthorized",
"statusCode": 401
}403 — Token does not have access to this endpoint
{
"message": "This token does not have access to the endpoint",
"error": "Forbidden",
"statusCode": 403
}500 — Internal server error
{
"statusCode": 500,
"message": "Internal server error"
}