Company tags
Retrieve tags associated with a Chinese company.
/v1/companies/tagsRequest
- 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 |
|---|---|---|---|
company_name | string | Yes | The company’s full Chinese legal name. If you have its Unified Social Credit Code, send it as company_name_or_credit_code to POST /v1/companies/profile and use data.company_name from the response. |
language | string | No | Response language. Default zh-CN.Supported languages (22)
|
Use the company’s Chinese legal name.
Example
curl -X GET 'https://api.chinavalidate.com/v1/companies/tags?company_name=%E8%8B%8F%E5%B7%9E%E7%A4%BA%E4%BE%8B%E7%B2%BE%E5%AF%86%E5%88%B6%E9%80%A0%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8&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.
For a match, data contains the original tag names. For a non-Chinese request, translation contains the corresponding tag names in the same order.
| Field | Type | Required | Description |
|---|---|---|---|
data | array | Yes | Original result. Use the Chinese legal company name from data in subsequent requests that require it. |
translation | array | 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. |
{
"code": 0,
"msg": "ok",
"data": [
"先进制造",
"精密机械",
"一般纳税人"
],
"translation": [
"Advanced manufacturing",
"Precision machinery",
"General VAT taxpayer"
]
}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.