Skip to main content
POST
/
api
/
tianyancha
/
companies
/
search
/tianyancha/companies/search
curl --request POST \
  --url https://api.anysite.io/api/tianyancha/companies/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 10,
  "timeout": 300
}
'
[
  {
    "gid": "<string>",
    "name": "<string>",
    "@type": "@tianyancha_company_search_item",
    "unified_social_credit_code": "<string>",
    "legal_representative": "<string>",
    "status": "<string>",
    "established_at": "<string>",
    "reg_capital": "<string>",
    "area": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Company name or keyword to search for

Minimum string length: 1
Example:

"阿里巴巴"

count
integer
required

Max number of results to return

Required range: 1 <= x <= 20
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

gid
string
required
name
string
required
@type
string
default:@tianyancha_company_search_item
unified_social_credit_code
string | null
status
string | null
established_at
string | null
reg_capital
string | null
area
string | null