API reference / Email verification
What a score means
Written and maintained by The ProspectAPIs team
GET/v1/email/verify/calibration
GET /v1/email/verify/calibration is the ProspectAPIs operation emailVerifyCalibration, in the Email verification group of the REST API. The bounce rate customers reported per score band over the last 90 days; a band with fewer than 30 reports shows null. Free. Cost: free. Send your API key as a Bearer token in the Authorization header.
How this fits with the rest of the email verification API, with worked examples, is in the email verification guide.
Parameters
This operation takes no path or query parameters.
Responses
| Status | Meaning |
|---|---|
| 200 | The bands. |
| 401 | The API key is missing or invalid. |
Every error answers with the same JSON body, an error string and sometimes a code; the errors page lists each status and when it happens.
200 response fields
The bands. The body is a EmailScoreCalibration.
| Field | Type | Description |
|---|---|---|
| days | integer | |
| min_reports | integer | |
| bands | array of object | |
| bands[].score_from | integer | |
| bands[].score_to | integer | |
| bands[].reports | integer | |
| bands[].bounce_rate | number or null |
Code samples
Each sample sends the same request. Set PROSPECTAPIS_KEY in your environment first. Values come from the spec's examples; replace them with your own.
curl https://api.prospectapis.com/v1/email/verify/calibration \
-H "Authorization: Bearer $PROSPECTAPIS_KEY"const res = await fetch("https://api.prospectapis.com/v1/email/verify/calibration", {
headers: { Authorization: `Bearer ${process.env.PROSPECTAPIS_KEY}` },
});
if (!res.ok) throw new Error(`${res.status}: ${(await res.json().catch(() => ({}))).error ?? res.statusText}`);
const data = await res.json();
console.log(data);import os, requests
res = requests.get(
"https://api.prospectapis.com/v1/email/verify/calibration",
headers={"Authorization": f"Bearer {os.environ['PROSPECTAPIS_KEY']}"},
timeout=30,
)
res.raise_for_status()
data = res.json()
print(data)Billing
This call is free: it never spends credits, so you can call it as often as the rate limit allows. Metered calls on the same key report your balance after each response in X-Credits-Remaining, and GET /v1/account shows it at any time.
Related
The email verification guide covers this area end to end. Previous operation: Look up an email domain. Next operation: Clean a list. Every operation, grouped by area, is on the API reference index.
Create a free account to get a key, then run the samples above with your own values.
Was this page helpful?