Statistics API
v1.0.0https://api.nownodes.ioAuthentication
api-keyAuthapiKeyAuthentication token used to authorize API requests. This token can be obtained from the Statistics tab in your personal account dashboard. Note: The Statistics tab is available starting from the Business tariff plan.
API Key: token in header
General
Statistics API
Get subscription and usage statistics
Returns subscription details and request usage statistics for the provided token (available from Business plan).
Response
Successful response with subscription and usage statistics.
Invalid or missing token.
Token does not have access to this endpoint.
Internal server error.
Authorization
api-keyAuthapiKey in headerAuthentication token used to authorize API requests. This token can be obtained from the Statistics tab in your personal account dashboard. Note: The Statistics tab is available starting from the Business tariff plan.
Get list of API keys
Returns the current tariff name and a list of API keys with optional filtering by status and sorting by call count.
Parameters
calls_count_orderstringascdescquerySpecifies the sort order of the results based on the total number of API calls. Use asc for ascending or desc for descending order.
is_activebooleanqueryFilters the results to include only API keys with the specified active status. Set to true for active keys or false for inactive keys.
Response
Successful response containing the tariff name and a list of API keys.
Bad Request — One or more query parameters are invalid.
Invalid or missing token.
Token does not have access to this endpoint.
Internal server error.
Authorization
api-keyAuthapiKey in headerAuthentication token used to authorize API requests. This token can be obtained from the Statistics tab in your personal account dashboard. Note: The Statistics tab is available starting from the Business tariff plan.
Retrieve usage 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.
Parameters
current_subscriptionbooleantruefalserequiredqueryDetermines the time period for statistics:
true- displays statistics for the active (current) subscription period onlyfalse- displays statistics from the first request record to today's date
blockchain_tickerArray<string>adaaktalgoALPHaptarbardrARKATLAatomauroraavaxaxlBABYbandbasebchbdagBERAblastBLDbnbbsvbtcbtgcelocfxclocmpcorecoreumcsprdashdcrdgbdividogedotdot-assethubegldeosetcethethwfetfiat-ratesfilfiroflrFLUXftmglmrgrsHBARHypeicxinjinj-indexeriotakaiakaskavakmdksmksm-assethublinealskltclunalunclyxmarket-datamaticMetisMONmtrnanonearneooneontoposmopivxplsqieQTUMQTUM-testnetrskrvnSSEIshibsolSorobanSoroban TestnetstraxstrdstrkSTXsuisysTAOthetatiatomotontrxUnichainVCvetWemixxdcxecxemxlayerxlmxmrxplxrdxrpxrp-evmxtzxvgzeczenzetazilzkqueryFilter statistics by specific blockchain ticker(s). Multiple values can be provided as an array.
request_typestringhttpwssqueryFilter statistics by the type of API request. http for HTTP requests or wss for WebSocket connections.
api_keystringqueryFilter statistics by a specific API key name. The value should match the exact name of the API key.
date_fromstring<date>queryThe start date for the statistics period (inclusive). Date format: YYYY-MM-DD.
Constraints depend on current_subscription:
- If
current_subscription=true: date cannot be earlier than the subscription start date - If
current_subscription=false: date cannot be earlier than the first request record date
date_tostring<date>queryThe end date for the statistics period (inclusive). Date format: YYYY-MM-DD.
Constraints depend on current_subscription:
- If
current_subscription=true: date cannot be later than the subscription end date - If
current_subscription=false: date cannot be later than today's date
calls_count_orderstringascdescquerySort order for the results based on the number of API calls. asc for ascending (lowest first) or desc for descending (highest first).
date_orderstringascdescquerySort order for the results based on the date. asc for chronological order (oldest first) or desc for reverse chronological order (newest first).
Response
Successful response containing usage statistics.
Bad Request — One or more query parameters are invalid or missing.
Invalid or missing token.
Token does not have access to this endpoint.
Internal server error.
Authorization
api-keyAuthapiKey in headerAuthentication token used to authorize API requests. This token can be obtained from the Statistics tab in your personal account dashboard. Note: The Statistics tab is available starting from the Business tariff plan.