GA
Get Usage
The usage endpoint provides a simple interface to retrieve information on usage made by your API account. This includes both views per API path and credits consumed. The time period for the usage query is also specified in the response and whether or not this includes total usage.
Headers
Authorization
OAuth authentication of the form <token>.
Query parameters
from
An ISO 8601 encoded date string indicating the starting time period to obtain usage stats. In the format YYYY-MM-DD
to
An ISO 8601 encoded date string indicating the ending time period to obtain usage stats. In the format YYYY-MM-DD
Response
OK
usage
Usage information for each endpoint
from
The start date of the returned usage information.
to
The end date of the returned usage information.
Errors
400
Bad Request
401
Unauthorized
404
Not Found
429
Rate Limit Exceeded
500
Internal Server Error