Saltearse al contenido

Number Active Check API: Bulk Phone Number Activity Detection

Esta página aún no está disponible en tu idioma.

Detect the activity level of phone numbers in your uploaded list using big data analytics combined with device system, carrier, and internet behavior APIs. Improves SMS delivery success rates and reduces operational costs. Uses task_type active_check and the same batch polling flow as other checkers.

Upload detection file — example:

curl --location 'https://api.checknumber.ai/v1/tasks' \
--header 'X-API-Key: API-KEY' \
--form 'file=@"./numbers.txt"' \
--form 'task_type="active_check"'

Check task status — example:

curl --location 'https://api.checknumber.ai/v1/gettasks' \
--header 'X-API-Key: API-KEY' \
--form 'task_id="task_id"'

Response after upload succeeds

{
"task_id": "d4g8o46p2jvh04o9uolg",
"status": "pending",
"total": 5000,
"message": "Task created successfully",
"created_at": "2025-11-21T15:58:08.916446594Z"
}

Response while processing

{
"created_at": "2025-11-21T08:27:09.933Z",
"updated_at": "2025-11-21T08:27:10.241Z",
"task_id": "d4g24nep2jvh04o9uoh0",
"user_id": "wfi7wGPS4B4PdtTMox5Y",
"status": "processing",
"total": 5000,
"success": 2500,
"failure": 0
}

Response when finished (exported)

{
"created_at": "2025-11-21T08:27:09.933Z",
"updated_at": "2025-11-21T08:27:10.241Z",
"task_id": "d4g24nep2jvh04o9uoh0",
"user_id": "wfi7wGPS4B4PdtTMox5Y",
"status": "exported",
"total": 5000,
"success": 5000,
"failure": 0,
"result_url": "https://example-link-to-results.zip"
}

Upload file request URL

POST https://api.checknumber.ai/v1/tasks

Upload file request parameters

ParameterDescription
filefile, one phone number per line (E.164 recommended, e.g. +14155552671)
task_typestring, set to active_check

Check task status request URL

POST https://api.checknumber.ai/v1/gettasks

Check task status request parameters

ParameterDescription
task_idstring, Task ID returned from task creation

Result fields

FieldDescription
NumberPhone number in E.164 format
ActiveStatusActivity level of the number: active, inactive, or unknown

Response format

FieldDescription
created_atTimestamp when task was created
updated_atTimestamp of last task status update
task_idUnique task identifier
user_idUser ID
statuspending · processing · exported
totalTotal numbers submitted
successNumbers successfully checked
failureRows that could not be processed
result_urlDownload URL when status is exported

Status codes

StatusDescription
200charge, request successful
400free, bad request
500free, server error