Directory
ZL Lookup API Documentation
Query Zalo registration status via REST API, or submit a list of numbers and download the detection results. The example numbers and results are for illustrative purposes only.
| Item | Value |
|---|---|
| Base Address | https://api.zllookup.com |
| Authentication Request Headers | X-API-Key: sk_your_api_key |
| Response envelope | { code, msg, data } |
- Start with a single number request
- Create an API Key in the console, and call
POST /api/v1/checkfrom the server. International format phone numbers retain the area code, e.g., Vietnamese numbers are written as+84912345678. - Use synchronous multi-number for small quantities of numbers
- Submit 1–100 numbers at a time. Results will match the input order. Use
existsto determine if there is a clear result, then readregistered. Numbers with clear results are charged in real time. - Use asynchronous tasks for the entire list
- Split the file by country, submit and save the task ID. Download the CSV after the task is successful. Use
zalo_batchwhen only registration status is needed. Usezalo_profile_batchwhen additional account identifier and avatar fields are required. - Separate the judgment results and errors for saving
registered: falseindicates the number is definitely not registered. When a single number returns42200or multiple numbers haveexists: false, the application can mark the record as pending review.
Check the billing method for real-time and batch products before calling. View API pricing
Authentication
Create an API Key in the console and include it in each request via X-API-Key. Alternatively, use Authorization: Bearer <API_KEY>. If X-App-Code is sent, the value must be zalo.
X-API-Key: sk_your_api_keySecure the API KeyStore and use the key on the server. When downloading result_url, make a separate GET request and omit the authentication request header.
Real-time synchronization detection
Single-number request submits 1 number. Multi-number request submits 1–100 numbers. Multi-number results are returned in submission order. Each number's determination is billed independently.
Parameters
| Field | Type | Description |
|---|---|---|
service_type | string | Real-time registration detection product code is zalo. |
identifier | string | Single-number detection uses an E.164 phone number. |
identifiers | string[] | Multi-number detection uses a list of E.164 phone numbers, with a length of 1–100. |
Zalo registration check
zalophoneCheck if one or more phone numbers are registered on Zalo.
Single check
POST/api/v1/checkcurl -X POST "https://api.zllookup.com/api/v1/check" \
-H "X-API-Key: sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{ "service_type": "zalo", "identifier": "+84912345678" }'{
"code": 0,
"msg": "ok",
"data": {
"service_type": "zalo",
"identifier": "+84912345678",
"registered": true
}
}Response fields
| Field | Type | Description |
|---|---|---|
service_type | string | Product code zalo. |
identifier | string | The phone number as submitted. |
registered | boolean | true indicates the number is registered, false indicates it is not. |
Multi check
POST/api/v1/batch-checkcurl -X POST "https://api.zllookup.com/api/v1/batch-check" \
-H "X-API-Key: sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{ "service_type": "zalo", "identifiers": ["+84912345678", "+84912345679", "12345"] }'{
"code": 0,
"msg": "ok",
"data": {
"service_type": "zalo",
"total": 3,
"succeeded": 2,
"failed": 1,
"results": [
{
"identifier": "+84912345678",
"exists": true,
"registered": true
},
{
"identifier": "+84912345679",
"exists": true,
"registered": false
},
{
"identifier": "12345",
"exists": false
}
]
}
}Response fields
| Field | Type | Description |
|---|---|---|
identifier | string | Valid numbers are normalized to E.164. Invalid numbers retain the submitted value and return exists: false. |
exists | boolean | Whether the number is determined. false means format error or detection not concluded, at which point there is no registered field. |
registered | boolean | Zalo registration status. Only returned when exists is true. |
service_type | string | Product code zalo. |
Asynchronous Batch Detection
Save the id from the response after submission. Query at least every 30 seconds. When status is success, use result_url to download CSV. During preprocessing, preparing is true, and total updates after cleaning and deduplication. Queries more than 60 days after task creation return HTTP 410 (41000).
Parameters
| Field | Type | Description |
|---|---|---|
service_type | string | Use zalo_batch to detect registration status, or use zalo_profile_batch to also retrieve available profile fields. |
country | string | ISO 3166-1 two-letter country code, e.g., VN. All numbers in the same task must include the country code and belong to the selected country. Place it before file in the form. |
file | file | A .txt or .csv file with multipart/form-data requests, one number per line. The maximum size is determined by the public directory GET /api/v1/bulk-products's max_file_bytes, and send X-App-Code: zalo when querying the directory. |
identifiers | string[] | When submitting via JSON, pass the number array and also submit service_type and country simultaneously. |
Idempotency-Key | header | Optional, up to 128 characters. Reuse the original value for the same submission to reuse the original task. The service will return the original task. |
Zalo bulk registration check
zalo_batchphone1–500,000 valid numbers, minimum billing 500 numbersOutput the Zalo registration status for each number.
Submit a task
POST/api/v1/bulk-taskscurl -X POST "https://api.zllookup.com/api/v1/bulk-tasks" \
-H "X-API-Key: sk_your_api_key" \
-F service_type=zalo_batch \
-F country=US \
-F [email protected]{
"code": 0,
"msg": "ok",
"data": {
"id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
"product": "zalo_batch",
"status": "processing",
"country": "US",
"submitted_lines": 509,
"total": 509,
"invalid_cnt": 0,
"no_code_cnt": 0,
"other_country_cnt": 0,
"duplicate_cnt": 0,
"preparing": true,
"created_at": "2026-09-08T09:30:00Z"
}
}Check the task
GET/api/v1/bulk-tasks/{id}curl "https://api.zllookup.com/api/v1/bulk-tasks/3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13" \
-H "X-API-Key: sk_your_api_key"{
"code": 0,
"msg": "ok",
"data": {
"id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
"product": "zalo_batch",
"status": "success",
"country": "US",
"submitted_lines": 509,
"total": 500,
"invalid_cnt": 3,
"no_code_cnt": 0,
"other_country_cnt": 0,
"duplicate_cnt": 6,
"preparing": false,
"success_cnt": 495,
"failure_cnt": 5,
"result_url": "https://…/result.csv",
"created_at": "2026-09-08T09:30:00Z"
}
}Result file columns
| Field | Example value | Description |
|---|---|---|
identifier | 84912345678 | Detect numbers, including country code. |
registered | true | Zalo Registration Status. |
Zalo Bulk Number Profile
zalo_profile_batchphone1–500,000 valid numbers, minimum billing 500 numbersOutput the registration status, and provide account identifier, avatar URL, and avatar profile fields when available.
Submit a task
POST/api/v1/bulk-taskscurl -X POST "https://api.zllookup.com/api/v1/bulk-tasks" \
-H "X-API-Key: sk_your_api_key" \
-F service_type=zalo_profile_batch \
-F country=US \
-F [email protected]{
"code": 0,
"msg": "ok",
"data": {
"id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
"product": "zalo_profile_batch",
"status": "processing",
"country": "US",
"submitted_lines": 509,
"total": 509,
"invalid_cnt": 0,
"no_code_cnt": 0,
"other_country_cnt": 0,
"duplicate_cnt": 0,
"preparing": true,
"created_at": "2026-09-08T09:30:00Z"
}
}Check the task
GET/api/v1/bulk-tasks/{id}curl "https://api.zllookup.com/api/v1/bulk-tasks/3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13" \
-H "X-API-Key: sk_your_api_key"{
"code": 0,
"msg": "ok",
"data": {
"id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
"product": "zalo_profile_batch",
"status": "success",
"country": "US",
"submitted_lines": 509,
"total": 500,
"invalid_cnt": 3,
"no_code_cnt": 0,
"other_country_cnt": 0,
"duplicate_cnt": 6,
"preparing": false,
"success_cnt": 495,
"failure_cnt": 5,
"result_url": "https://…/result.csv",
"created_at": "2026-09-08T09:30:00Z"
}
}Result file columns
| Field | Example value | Description |
|---|---|---|
identifier | 84912345678 | Detect numbers, including country code. |
registered | true | Zalo Registration Status. |
uid | 452114152 | Obtained Zalo account identifier. |
avatar_url | https://s160-ava-talk.zadn.vn/example.jpg | Obtained avatar URL. |
category | individual portrait | Avatar category identified from the image. |
age | 31 | Estimated age from the avatar. |
gender | male | Gender inferred from the avatar. |
skin_color | asian | Skin tone classification inferred from the avatar. |
Balance
Query the account's available balance. balance_micros is in units of one millionth of a dollar. 1000000 equals 1 dollar.
Balance
GET/api/v1/balancecurl "https://api.zllookup.com/api/v1/balance" \
-H "X-API-Key: sk_your_api_key"{
"code": 0,
"msg": "ok",
"data": {
"balance_micros": 12500000
}
}Concurrency, timeout, and retry
Real-time detection of in-transit request limits. After asynchronous batch submission is successful, save the task ID to query the status.
| Field | Description |
|---|---|
Single account default maximum 5 in-transit requests | Single and multi-number requests share this limit. Multi-number requests can have at most 1 at a time. After receiving 42901, retry after existing requests are completed. |
Single number default 60 seconds, multi-number default 300 seconds | Receiving 50400 indicates detection timeout. Multi-number timeout results in full refund and no partial results are returned. |
Asynchronous batch task | Please query the processing progress by id. If the submission response does not return a task number, retry using the original Idempotency-Key. |
Error codes
| Code | Description |
|---|---|
40000 | Request parameters are invalid, for example, product code, country code, or number count is incorrect. |
40001 | Invalid JSON request body. |
40002 | Invalid mobile phone number format. |
40100 | API Key is missing or invalid, may also be mismatched with the site. |
40200 | Insufficient account balance. |
40301 | Current account does not have permission to perform this operation. |
40400 | Requested resource does not exist or does not belong to the current account. |
42200 | Single number temporarily cannot be determined, no charge for this request. |
42901 | Reached in-transit request limit, please wait for existing requests to complete. |
50300 | Service temporarily unavailable. Please retry later. |
50303 | Real-time detection is busy. Retry using Retry-After. |
50400 | Detection timeout. No charge for this request. |