Directory
ZL Lookup MCP Documentation
Use the API key to connect to ZL Lookup MCP, querying the Zalo registration status of a mobile number.
MCP supports real-time single and multiple number checks. When uploading TXT or CSV, use the console batch detection or REST asynchronous task.
Authentication
Create a key on the API key page in the console and send the Bearer request header with each request.
Authorization: Bearer YOUR_API_KEYKeep the key secureEnter the key only in trusted clients. Do not submit it to code repositories or share it publicly. If the key is leaked, it can be revoked and re-created in the console.
Service address
Configure the service address in the client, using Streamable HTTP to connect.
| Item | Value |
|---|---|
| Address | https://api.zllookup.com/mcp |
| Transmission method | Streamable HTTP |
Connect client
Select the corresponding configuration method. Once the client identifies the service, call list_products to confirm the products and unit prices, then test the response with an authorized number.
claude mcp add --transport http zllookup https://api.zllookup.com/mcp --header "Authorization: Bearer YOUR_API_KEY"Add the remote MCP service to the terminal. Replace the example key with the one you created in the console.
Available tools
The product scope is determined by the API key owner. The following example uses zalo real-time registration check.
list_products
List the real-time products, prices, and returned fields available with the current key.
{}check_number
Synchronously query an international formatted number and read the registered field from the response.
{
"service_type": "zalo",
"identifier": "+84912345678"
}check_numbers
Synchronously query 1–100 numbers. Results are returned in the same order as input. Check the exists field for each entry first. When there is a clear result, read the registered field. Charge according to determinable numbers.
{
"service_type": "zalo",
"identifiers": [
"+84912345678",
"+84912345679"
]
}get_balance
Read the account balance without generating detection fees.
{}Example prompts
Confirm the tool and balance, then ask the client to check the numbers they are authorized to use. Specify how to classify different results in the prompt.
View the products and prices available with the current API key.
Check the current balance in USD and let me know the real-time unit price for registered detection.
Check the set of international format numbers I provided. Aggregate the results into registered, not registered, and temporarily undetermined, while preserving the correspondence with the input numbers.
How to handle errors
Temporarily undetermined means the query did not yield a clear registration conclusion.
Example tool error
{
"code": 42901,
"msg": "too many concurrent requests",
"data": null
}| Code | Description |
|---|---|
40100Authentication failed | Confirm the key is valid and belongs to ZL Lookup. |
40200Insufficient balance | View the account balance, recharge and retry. |
42200Single number temporarily undetermined | This request is not billed. You can check again later. |
42901Too many in-transit requests | Retry after the existing requests are completed. |
50400Check timed out | You can check again later. Multi-number requests that time out are treated as batch failures, and this request is not billed. |