Company directory search
Find matching entries in the company directory using a company name or keyword.
/v1/companies/directory-searchRequest
- Chinese
- US$0.04
- Other languages
- US$0.05
Headers
| Name | Required | Description |
|---|---|---|
Authorization | Yes | Bearer YOUR_API_KEY |
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Company name search keyword. |
page | integer | No | Page number, starting at 1. Default 1. |
language | string | No | Response language. Default zh-CN.Supported languages (22)
|
Use page to request another page of matches for the same keyword.
Example
curl -X GET 'https://api.chinavalidate.com/v1/companies/directory-search?keyword=%E7%A4%BA%E4%BE%8B%E7%B2%BE%E5%AF%86&language=en' \
-H 'Authorization: Bearer YOUR_API_KEY'Response
A response with code 0 means the request completed. Read data for the result. Record order is preserved. When a company search has no result and returns no records or totals, data is null.
The list contains the current page of directory matches, with the available name, registration code and representative fields.
| Field | Type | Required | Description |
|---|---|---|---|
data | object | Yes | Original result. Use the Chinese legal company name from data in subsequent requests that require it. |
translation | object | No | Complete copy of data in the requested language, with the same fields, types and list order. Values that need no translation are copied as-is. Present for non-Chinese requests with a result. |
Data fields
| Field | Description |
|---|---|
total_count | The total number of matching records, which can exceed the number on this page. |
list | Records returned for this request. |
list.[].name | Name. |
{
"code": 0,
"msg": "ok",
"data": {
"total_count": 2,
"list": [
{
"name": "苏州示例精密制造有限公司"
},
{
"name": "苏州示例智能装备有限公司"
}
]
},
"translation": {
"total_count": 2,
"list": [
{
"name": "Suzhou Example Precision Manufacturing Co., Ltd."
},
{
"name": "Suzhou Example Intelligent Equipment Co., Ltd."
}
]
}
}Errors and billing
Completed requests use API credits, including normal no-result responses and invoice mismatches. Input errors and service failures are free. Each completed request is charged separately, including a repeated request. Requests that return no results or contain no text to translate use the Chinese rate.
| HTTP | Action |
|---|---|
| 400 / 413 / 415 / 422 | Correct the input, format or size before resending the request. |
| 401 / 403 | Check the API key, its expiration date and your account status. |
| 402 | Add API credits, then retry the request. |
| 429 | Wait for the time specified in Retry-After before retrying. |
| 500 / 502 / 503 / 504 | Retry if the service becomes available. |
Up to 120 requests per minute per account.