Skip to main content
This example uses a regular HTTP client rather than a China SDK. It keeps your API key on the server and uses supported China parameters.

Setup

A reusable client

The helper retries temporary source/service failures and throttling with a retry hint. It does not repeatedly retry monthly-quota errors that lack Retry-After. Use a shared queue to pace multiple callers across the account.

Iterate pages

The default delay illustrates Free-plan pacing for this worker; requests from other workers still share its allowance. Set a page budget deliberately instead of crawling every match without a limit.

Details and reports

Each successful detail/report call consumes a request. Queue these calls according to your plan, and handle partial coverage explicitly. See report interpretation before deriving condition labels.