# ZeroBounce compatibility

> Switch from ZeroBounce by changing the host.

verifyngn answers ZeroBounce's v2 endpoints with the same parameters, field names and statuses. Replace `https://api.zerobounce.net` and `https://bulkapi.zerobounce.net` with `https://api.verifyngn.com`, and use a verifyngn API key as `api_key`.

| Endpoint | Notes |
|---|---|
| `GET /v2/validate?api_key=&email=` | One address |
| `POST /v2/validatebatch` | `{"api_key", "email_batch": [{"email_address"}]}`, up to 200 |
| `GET /v2/getcredits?api_key=` | `{"Credits": "..."}` |
| `POST /v2/sendfile` | multipart: `api_key`, `file`, `email_address_column` (1-based), `has_header_row` |
| `GET /v2/filestatus?api_key=&file_id=` | `file_status`, `complete_percentage` |
| `GET /v2/getfile?api_key=&file_id=` | The file with ZB columns appended |
| `GET /v2/deletefile?api_key=&file_id=` | Deletes it |

Statuses map as: `valid` → valid; `invalid` → invalid; `catch_all` → `catch-all`; `unknown` → unknown; `disposable` → `do_not_mail` / `disposable`; `role` → `do_not_mail` / `role_based`. Sub-statuses follow ZeroBounce's names (`mailbox_not_found`, `no_dns_entries`, `possible_typo`, `greylisted`, `timeout_exceeded`...). Fields verifyngn doesn't have (name, gender, location) are null.
