Skip to main content

Prerequisites

  • A RevenueBase account
  • An API key from Dashboard → API Keys
Set your key as an environment variable. The Python SDK reads REVENUEBASE_API_KEY automatically — no explicit configuration needed.
To use the Python SDK, install it first:
1

Check your credit balance

Confirm your key works and see how many credits you have available.
Expected response:
Each credit is consumed by a successful verification. Valid and Invalid results each deduct one credit; Unknown results do not.
If you get a 401 Unauthorized, check that the header is x-key (not Authorization) and that you copied the full key with no trailing spaces.
2

Verify a single email

Send an email address to the verification endpoint.
Response:
The status field tells you whether the address is deliverable:Add ?metadata=true for additional fields:

What next