pypi / zerobouncesdk
zerobouncesdk
What changed in zerobouncesdk 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
10 breaking2 security1 deprecations29 new APIs and options2 behavior and defaults3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initzerobouncesdk 247 changes
Breaking changes 10
Custom base_url values must start with https://; otherwise ZeroBounce(...) raises ZBClientException.
Minimum dependency versions increased to releases without known advisories, with lower requests and idna floors on Python 3.7–3.9.
An HTML page returned by the API, including with status 200, now raises instead of being saved as a CSV.
An HTML page returned by the API, including with status 200, now raises instead of being saved as a CSV.
SFTP jobs require file_name.
A Message error now raises instead of passing through as a result.
An HTML page returned by the API, including with status 200, now raises instead of being saved as a CSV.
Requests time out after 120 seconds unless timeout is passed, and redirects are no longer followed.
S3/SFTP jobs require return_url.
Account-level failures, such as an invalid API key or no credits, now raise ZBApiException; single-address errors remain in the result.
Security 2
The API key is excluded from exception messages and chained exceptions.
Inbox Placement Tester calls send the key in the Authorization: Bearer header instead of the URL.
Deprecations 1
A UserWarning is emitted when an EU or US base_url is set while bulk requests still use bulkapi.zerobounce.net.
New APIs and options 29
A new ai_agent_mailbox sub-status is supported.
Amazon S3 bulk job functionality is newly available.
Bulk domain search functionality is newly available.
Bulk email finder functionality is newly available.
Filters functionality is newly available.
find_domain accepts use_post=True to make POST requests.
find_email_format accepts use_post=True to make POST requests.
get_activity accepts use_post=True to make POST requests.
get_api_usage accepts use_post=True to make POST requests.
get_credits accepts use_post=True to make POST requests.
The four *get_file methods accept stream=True; the file appears only after the download completes.
Inbox Placement Tester functionality is newly available.
List Evaluator functionality is newly available.
A new method provides AI scoring.
SFTP/FTP bulk job functionality is newly available.
validate now accepts activity_data.
validate_batch now accepts activity_data.
validate_batch now accepts timeout; the SDK sends it as a string.
validate_batch now accepts verify_plus.
validate now accepts callback_url.
validate now accepts domain_info.
validate now accepts greylist_processing.
validate now accepts timeout.
validate now accepts use_post.
validate now accepts verify_plus.
ZBApiException.status_code exposes the HTTP status of a failed request.
A client for all 26 Warmup API endpoints is available; it uses its own key in the API-Key header.
Adds the Gold sub-status to the SDK.
Adds role_based_accept_all as a sub status.
Behavior and default changes 2
The find domain functionality was updated.
The find email functionality was updated.
Fixes and other changes 3
check_domain_dmarc takes an email address.
Importing on Python 3.7–3.9 works again; it raised TypeError in 2.2.x.
send_evaluated_file takes the evaluator's file_id.