GET CREDIT BALANCE (V2)

This API will tell you how many credits you have left on your account. It's simple, fast and easy to use.

Here are a few scenarios that businesses will use this API for.

  • You use our API to validate emails and you need to check within a certain time-frame when your credit balance is too low, so you can make a payment.
  • You want to track how many email validation credits you're using per your defined time-frame to generate useful statistical information.
  • You want to automate and integrate information into your application dashboard that shows you your currently remaining credit balance.

Below, you will find the instructions on how to use our API. It's very easy to use and it requires SSL.

GET /V2/GETCREDITS

API DEFAULT URL: https://api.zerobounce.net/v2/getcredits

API U.S.A. URL*: https://api-us.zerobounce.net/v2/getcredits

*This endpoint uses servers located within the United States. By utilizing this endpoint, you acknowledge and consent to your data being processed on servers in the United States.

Below you will find the instructions on how to use our API, it's very easy to use and requires SSL. The API requires that you have an active credit balance and will never consume a credit for any unknown result.

URL Parameters

  • Parameter
    Description
  • api_key
    Your API Key, found in your account.

GET CREDIT BALANCE CODE SAMPLES

This API will tell you how many credits you have left on your account. It's simple, fast and easy to use.

If you want to call the API from your browser to test it, all you have to do is to replace the API KEY with your key:

API DEFAULT URL: https://api.zerobounce.net/v2/getcredits?api_key=[replacewithyours]

API U.S.A. URL*: https://api-us.zerobounce.net/v2/getcredits?api_key=[replacewithyours]

This API will tell you how many credits you have left on your account.

The API will return these results in a JSON format using the "getcredits" method. credits - The amount of credits you have left in your account for email validations. If a -1 is returned, that means your API Key is invalid.

*This endpoint uses servers located within the United States. By utilizing this endpoint, you acknowledge and consent to your data being processed on servers in the United States.

ENDPOINT RESPONSE

This API will tell you how many credits you have left on your account. It's simple, fast and easy to use.

Successful Response

    {"Credits":2375323}
Error Response

    {"Credits":-1}

GetCredits V2 Rate Limits

We allow a maximum of 50.000 requests in 1 hour for the https://api.zerobounce.net/v2/getcredits and https://api-us.zerobounce.net/v2/getcredits* before temporarily blocking for 1 day.

Bad API key requests to https://api.zerobounce.net/v2/getcredits and https://api-us.zerobounce.net/v2/getcredits* 200 times in 1 hour will result in a temporary block for 1 day.

*This endpoint uses servers located within the United States. By utilizing this endpoint, you acknowledge and consent to your data being processed on servers in the United States.