The simple answer to "fetch anything reliably" is to treat every page as the hardest page: always launch a browser, always take the most expensive route. It works, and it costs far more than most workloads need.
This post covers which pages need more than a plain fetch, the rule we use to decide, and how the price follows the decision.
Three fetch levels
Every page request runs at one of three levels:
| Level | What it does | Page price |
|---|---|---|
standard | A plain HTTP fetch | $0.00011 |
rendered | A headless browser runs the page's JavaScript first | $0.00011 + $0.00099 |
protected | For pages that answer the first two with a challenge screen, 403 or 429 | $0.003 |
Most of the open web, including articles, docs, sitemaps and many product pages, serves its content in the HTML. Those pages never need to leave standard.
What earns a higher level
A higher level is worth its cost when a page needs one of these:
- JavaScript execution to show the content you came for. The plain fetch returns an empty shell.
- A bot check that blocks plain clients and headless browsers alike, with a challenge page, a 403 or a 429.
Everything else is a plain fetch away from working.
The rule: start low, upgrade on a signal
Every request starts at standard, or at the level that worked last time for that domain. It moves up only when the response gives a concrete reason:
request
-> standard fetch
-> 403, 429, challenge page or empty shell?
-> rendered fetch
-> still blocked?
-> protected fetch
-> bill the level that returned real content
-> write fetch_level, upgraded and upgrade_reason to the receiptWe call this Auto-upgrade. It's on by default, because the point of a data API is to return the data.
Billing follows the level that worked
You pay for the level that returned the page and never for the attempts below it. If no level gets the page, the request costs $0. The receipt shows the decision, so you can see the split in your own data:
{
"fetch_level": "protected",
"upgraded": true,
"upgrade_reason": "403 at standard; challenge page at rendered",
"content_check": "substantive",
"billed_usd": 0.003
}That's why the rate card can publish a low price for a Standard page and separate prices for the higher levels, instead of blending them into one average that easy pages subsidize.
Remembering what worked
Each failed attempt is wasted work. So we keep, per domain, the cheapest level that last returned real content. A repeat request to a domain that needed rendered starts at rendered, and the attempts that failed before aren't made or billed again.
Keeping control of the bill
Auto-upgrade trades a higher price on a few pages for getting the data. If you'd rather cap that trade, set it per request:
auto_upgrade: falsestays at the level the price includes and returns the block as an error, at $0.max_levelsets a ceiling. Withrendered, a request never usesprotected.max_costsets the most a task may cost. We never upgrade past it.
To see where your own targets land, send a small batch and count the fetch_level values in the receipts before you commit volume.