You pay only for results
A call is charged only when it gives you data. If it fails, it costs nothing. That covers a bad key, an invalid request, a page we could not read, a page behind a wall and a timeout.Because failures are free, retrying is safe. You are never billed for a call that produced nothing.
402 and nothing runs:
What each call costs
A page served from our cache costs the same as a fresh read. The cache makes calls faster, not cheaper.
Every response says what it cost
A scrape response has ausage object:
fresh when the page was fetched for this call, cache when it came from a recent copy. See Caching.creditsUsed so far as it runs.
Next: Caching
How recent copies make calls faster, and how to always fetch fresh.