View API Usage Stats and Rate Limits

Endpoint essentials
API key accessapi/v1/usage_stats/api_usage_stats or Master API key
OAuth scopesapi_usage_stats_read
Credit usage0 credits
Learn more about API pricing and credits.

Use the view API usage stats endpoint to view your team's usage of Apollo API and your rate limit for API endpoints.

Each endpoint has a rate limit per minute, hour, and day. Your Apollo plan impacts API endpoint rate limits.

By default, the response covers a fixed list of endpoints, not every endpoint you can call. To check other endpoints, use the endpoints[] parameter.

Check specific endpoints

Pass each endpoint in the endpoints[] parameter as the path shown in the API key access row of its page, without a leading slash. For example, the path for view an account is api/v1/accounts/show. You can also send the paths as a JSON array in the request body, such as {"endpoints": ["api/v1/accounts/show"]}.

The response then includes only the endpoints you request. Each endpoint's key in the response is a string in the form ["api/v1/accounts", "show"].

You can request up to 74 endpoints at a time. Each one must be an endpoint you can add to an API key. Otherwise, Apollo returns a 422 response with one of these error_details.code values:

CodeCause
USAGE.VALIDATION.UNKNOWN_ENDPOINTA path isn't an endpoint you can add to an API key, or it starts with /. error_details.context.endpoints.value lists the rejected paths.
USAGE.VALIDATION.TOO_MANY_ENDPOINTSThe request includes more than 74 endpoints.
Query Params
endpoints[]
array of strings

The endpoints to report usage and rate limits for. Pass each endpoint as the path shown in the API key access row of its page, without a leading slash. If you omit this parameter, the response covers a fixed list of endpoints.

You can request up to 74 endpoints at a time. Each one must be an endpoint you can add to an API key.

Examples: api/v1/accounts/show; api/v1/people/match

endpoints[]
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain