Get Credit Balance
Use this API endpoint to check your remaining credit balance and the email address associated with your account.
Endpoint
GET
https://api.anymailfinder.com
/v5.1/accountPricing
This endpoint is free to use.
Authentication
Include your API key using the Authorization header.
Refer to the Authentication page for setup instructions.
Code example
curl -X GET "https://api.anymailfinder.com/v5.1/account" \-H "Authorization: YOUR_API_KEY"
Request parameters
This endpoint does not accept any parameters.
Response
200OK
The request was successful. The response contains details about your account, including the associated email address and the number of credits remaining.
{"credits_left": 8698,"email": "john.doe@microsoft.com"}
| Property | Type | Description |
|---|---|---|
credits_left | integer | The number of credits currently available in your account. |
email | string | The email address associated with your account. |
401Unauthorized
The request did not include a valid API key. If no key was sent at all, the message tells you to add the Authorization header instead.
Refer to the Authentication page to ensure your API key is properly included.
{"error": "unauthorized","message": "Invalid API key. Copy it again from https://app.anymailfinder.com/settings/api (if you regenerated it, use the new one)."}
Need Help?
Our team is experienced with APIs and is here to help.
Chat with us.