Skip to navigation

Scrape a page with Steel

View as Markdown

Relays to https://api.steel.dev/v1/scrape, injecting the steel-api-key header. Loads url and returns page content — the response always includes content, metadata, and links; format controls which content variants come back (html if omitted). Add screenshot: true or pdf: true to bundle a hosted file alongside the scraped content in the same call. See the Steel tag description above for the full field policy.

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.

Request

This endpoint expects a map from strings to any.

Response

Steel’s own scrape result — content, metadata, and links — as application/json, relayed as-is.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error