The Account API endpoint enables you to quickly query your account's state.
API Endpoint: GET https://serpgrid.dev/v1/account/state
Required headers: X-API-KEY
Most of our APIs return response headers that will help you maintain proper accounting of your current credit status without needing to query this endpoint. These headers are:
X-Credits-Remaining
The number of credits that remain in your accountX-Credits-Expire
A datetime string with the expiration dateX-Credits-Used
The number of credits the operation consumed