ScraperData

Appendix

Response headers

Successful searches carry your credit numbers, so you rarely need to ask for them separately.
HeaderMeaning
X-Credits-ChargedCredits this request cost. The same number is in search_metadata.credits_charged.
X-Credits-UsedCredits used in the current period.
X-Credits-LimitYour credit limit this period. Not sent when your plan has no cap.
X-Credits-LeftCredits left this period. Not sent when your plan has no cap.
X-PlanYour plan's id.
Retry-AfterOn 429 and 503 answers: how many seconds to wait before trying again.
LocationOn a 202 answer to a queued search: where to read the task.

The credit headers come with successful searches. For the full picture at any time, use GET /v1/account.