Docs

Connect via REST API

Call the patent search API with an API key in three steps.

1. Create an API key

Sign in to the console and open API Keys → Create key. The plaintext key (sk-live-…) is shown only once — copy it now.

2. Call the search endpoint

Send a POST request to the patent keyword search endpoint with your key in the Authorization header. The same endpoint covers patents worldwide — queries in any language work out of the box.

curl — Authorization: Bearer
curl -sS https://search.houdutech.cn/patent/api/search/keyword \
  -H "Authorization: Bearer [REDACTED_API_KEY_EXAMPLE]" \
  -H "Content-Type: application/json" \
  -d '{"query": "人工智能图像识别", "size": 5}'
curl — English query
curl -sS https://search.houdutech.cn/patent/api/search/keyword \
  -H "Authorization: Bearer [REDACTED_API_KEY_EXAMPLE]" \
  -H "Content-Type: application/json" \
  -d '{"query": "graphene battery anode", "size": 5}'

3. Or pass the key as x-api-key

If your client can't set an Authorization header, the gateway also accepts the key in an x-api-key header.

curl — x-api-key header
curl -sS https://search.houdutech.cn/patent/api/search/keyword \
  -H "x-api-key: [REDACTED_API_KEY_EXAMPLE]" \
  -H "Content-Type: application/json" \
  -d '{"query": "人工智能图像识别", "size": 5}'

Quota is tracked separately by account and product, not by key. Daily product allowances do not consume one another and reset at 00:00 UTC.