Crawlbase
Crawling API access where the route decides which token gets injected
Fronts the Crawling API of Crawlbase; the gateway fills in the secret token parameter on the query string:
Crawlbase hands out two tokens, and which one gets injected follows from the route:
Everything is driven by the query string: the target url plus any parameter Crawlbase defines (country, format, page_wait, …). What you put there reaches Crawlbase exactly as written.
Credential handling
tokengoes in ahead of everything you send, so a target URL with incomplete encoding can’t swallow it. Which token is chosen depends on which route you called —/crawlbaseor/crawlbase/js.- A
tokensupplied by the client in the query is discarded (any encoding), so nothing can displace the injected one. Authorizationis removed before the request leaves the gateway; Crawlbase does nothing with your gateway token.
Examples
Static HTML
JavaScript (headless browser)
Crawlbase’s response comes back untouched. Every supported parameter is listed in Crawlbase’s documentation.