Skip to main content

Bulk Verification API Beta

The Bulk Verification API verifies a whole CSV file of addresses, emails or phone numbers. It runs the same jobs as bulk verification in the Portal, so a job started from the API also shows in the Portal, and the other way round.

You upload the whole file. The Portal splits it, verifies each row, and gives you back one CSV: your columns followed by the result columns.

Download the Postman collection and import it into Postman. Set apiKey and token in the collection's variables, then run the requests in order.

Authentication

Send your API token as a bearer header and your project's API key as the key parameter. The job's usage is billed to the key's project. See Authentication.

Endpoints

All endpoints are under https://portal.addressfinder.net/api/v1/bulk/{type}, where {type} is address, email or phone.

MethodPathDoes
POST/jobsCreate a job and get an upload URL
POST/jobs/{uuid}/commitStart verifying the uploaded file
GET/jobs/{uuid}Get a job's status
GET/jobs/{uuid}/downloadDownload the results
GET/jobsList recent jobs
DELETE/jobs/{uuid}Cancel a job

Verifying a file

1. Create the job

curl -X POST \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"filename": "contacts.csv", "has_header": true, "column_index": 1, "header_row": ["email"]}' \
"https://portal.addressfinder.net/api/v1/bulk/email/jobs?key=YOUR_API_KEY"

Returns 201 Created with the job's uuid and an upload_url:

{
"uuid": "6f1c2a9e-...",
"upload_url": "https://...s3.amazonaws.com/..."
}

Fields for every type

FieldDescription
filenameName to show for the job, for example contacts.csv
column_indexThe column holding the data to verify, counting from 1. Defaults to 1.
has_headertrue if the first row is a header. Defaults to false.
header_rowThe header cells, for example ["id", "email"]

Address fields

FieldDescription
country_codeRequired. au or nz.
gnaf1 to verify against GNAF. Set gnaf or paf for an AU job.
paf1 to verify against PAF. Set gnaf or paf for an AU job.
gps1 to add coordinates
extended1 to add the extended fields. AU jobs need gnaf.
censusCensus year for the census fields: 2016, 2018, 2021 or 2023. AU jobs need gnaf.

Phone fields

FieldDescription
default_country_codeCountry to assume when a number has no country code, for example nz
allowed_country_codesCountries to accept, for example ["nz", "au"]
mobile_onlytrue to accept mobile numbers only

Email fields

FieldDescription
featuresThe checks to run, as a comma-separated list or an array of format, domain, connection and provider. Leave it out to run the default checks.

2. Upload the CSV

PUT the whole file to the upload_url. Don't split it: the Portal does that.

curl -X PUT \
-H "Content-Type: text/csv" \
--data-binary @contacts.csv \
"UPLOAD_URL"

The upload goes straight to storage, not to the Portal, so the file size isn't limited by a request timeout. The URL carries its own signature: don't send the Authorization header or the key parameter, or the upload is refused. The URL is valid for one hour.

3. Commit the job

Tell the Portal the upload is complete. No body is needed.

curl -X POST \
-H "Authorization: Bearer YOUR_API_TOKEN" \
"https://portal.addressfinder.net/api/v1/bulk/email/jobs/JOB_UUID/commit?key=YOUR_API_KEY"

Returns 202 Accepted:

{ "status": "queued", "uuid": "6f1c2a9e-..." }

4. Poll the job's status

curl -H "Authorization: Bearer YOUR_API_TOKEN" \
"https://portal.addressfinder.net/api/v1/bulk/email/jobs/JOB_UUID?key=YOUR_API_KEY"
{
"uuid": "6f1c2a9e-...",
"filename": "contacts.csv",
"status": "processing",
"total_rows": 3500,
"rows_processed": 2000,
"percent_complete": 57,
"success_count": 1890,
"created_at": "2026-11-03T01:02:03.000Z",
"started_at": "2026-11-03T01:02:10.000Z",
"completed_at": null,
"error_message": null,
"query_count": 2000,
"has_header": true,
"header_row": ["email"],
"column_index": 1
}

Address and phone jobs also return the fields the job was created with.

status moves through:

StatusMeaning
pendingCreated, waiting for the upload and commit
splittingThe Portal is splitting the file
uploadedSplit, waiting to start
processingVerifying rows
completedDone: download the results
failedThe job stopped. error_message says why.
cancelledCancelled with DELETE

A job fails when the upload never arrived or the file isn't valid CSV, for example:

"error_message": "The file could not be read as CSV: Any value after quoted field isn't allowed in line 4."

Fix the file and create a new job.

5. Download the results

curl -L -o results.csv \
-H "Authorization: Bearer YOUR_API_TOKEN" \
"https://portal.addressfinder.net/api/v1/bulk/email/jobs/JOB_UUID/download?key=YOUR_API_KEY"

Once the job is completed, this redirects (302) to the results CSV: the same file the Portal gives you. Follow the redirect (-L in curl).

While the job is still running, it returns 409 Conflict:

{
"error": "Job is not complete. Pass partial=true to download completed chunks.",
"status": "processing",
"percent_complete": 57
}

Partial results

Add partial=true to download the rows verified so far, without waiting for the whole job. It returns 200 OK with the CSV, or 409 Conflict until the first rows are done.

The file is verified in parts that run in parallel, and a partial download holds only the parts that have finished. So it can have gaps: don't join partial downloads together or resume from the last row. Download the whole file once the job is completed.

Listing jobs

curl -H "Authorization: Bearer YOUR_API_TOKEN" \
"https://portal.addressfinder.net/api/v1/bulk/address/jobs?key=YOUR_API_KEY&limit=20"

Returns an array of the project's most recent jobs of that type, newest first, with the same fields as the status, plus success_rate. Cancelled jobs are left out. limit defaults to 50.

The email endpoints aren't limited to email jobs: GET /email/jobs lists jobs of every type, and the /email/jobs/{uuid} endpoints accept any job in the project.

Cancelling a job

curl -X DELETE \
-H "Authorization: Bearer YOUR_API_TOKEN" \
"https://portal.addressfinder.net/api/v1/bulk/email/jobs/JOB_UUID?key=YOUR_API_KEY"

Cancel a job that hasn't completed. Rows not yet verified stop processing. Returns 200 OK:

{ "status": "cancelled", "uuid": "6f1c2a9e-..." }

Errors

Most errors return JSON with an error message. A missing required field and a 404 return no JSON body.

StatusCause
400A required field is missing or invalid, for example country_code
401The token or key is missing or invalid
403You're not a member of the key's project, or your plan doesn't include bulk verification
404No job with that uuid in the project
409The results aren't ready (see Download the results)