Skip to navigation

HEAD through to the target

View as Markdown

Same as the GET scrape, with a HEAD delivered to the target — Scrapfly replays your request method against the site it’s scraping. Controls stay in the query string; as with any HEAD response, the body is empty and only the status and headers carry information.

Authentication

AuthorizationBearer

Your per-client bearer token — the API key the gateway issued to you. Present it in Authorization: Bearer <token> form. A token that is missing, unknown, or revoked draws a 401. Before the call is sent upstream the token is removed (stripped, or swapped for the upstream’s own credential); it never makes it past the gateway.

Query parameters

urlstringRequiredformat: "uri"
URL of the page to scrape.
render_jsbooleanOptional

Have JavaScript rendered before the page comes back (Scrapfly control).

Response

Scrapfly’s own response headers and status for the target, relayed byte-for-byte with an empty body, as HEAD requires.

Errors

401
Unauthorized Error
404
Not Found Error