Crawlbase
The Crawling API, with the right token injected by route
Proxies Crawlbase’s Crawling API, injecting the secret token query parameter:
Crawlbase issues two tokens, and the route picks which one is injected:
All controls travel in the query string — the target url and any Crawlbase parameter (format, country, page_wait, …). Your query string is passed through byte-for-byte.
What the gateway injects and strips
tokenis injected first, ahead of your parameters, so a partially-encoded target URL can’t swallow it. The route (/crawlbasevs/crawlbase/js) selects which token.- A client-supplied
tokenquery param is dropped (in any encoding), so the injected token can’t be overridden. - The
Authorizationheader is stripped before forwarding — Crawlbase has no use for your gateway token.
Examples
Static HTML
JavaScript (headless browser)
The response is Crawlbase’s, returned unchanged. For the full parameter set, see Crawlbase’s documentation.