Skip to content

Fetch Page

Browserbase

Browserbase

Fetch Page

Fetch a page using the Browserbase Fetch API and return its content, headers, and metadata. Supports raw, markdown, and JSON extraction formats.

ActionAI Tool

Inputs

Name Type Required Description
urltextRequiredThe URL to fetch.
allowRedirectsyes/noOptionalWhether to follow HTTP redirects. Default: false.
allowInsecureSslyes/noOptionalWhether to bypass TLS certificate verification. Default: false.
proxiesyes/noOptionalWhether to enable proxy support for the request. Default: false.
formatselectOptionalOutput format for the response content: raw (default), json, or markdown. (options: Raw, JSON, Markdown)
schemaobjectOptionalJSON Schema describing the desired structure of the response. Only used when format is json.
propertiesdynamic objectOptionalSchema properties keyed by output field name. Structure: properties.<field_name> = { type: 'string' | 'number' | 'integer' | 'object' | 'array', description: string, properties?: object, items?: object }.
requiredarray of textOptionalNames of required properties from schema.properties.

Outputs

Name Type Description
statusCodenumberHTTP status code
bodyobjectBrowserbase Fetch API response
idtextUnique identifier for the fetch request
statusCodenumberHTTP status code of the fetched response
headersobjectResponse headers as key-value pairs
contenttextThe response body content. A string for raw and markdown formats; may be structured when format is json.
contentTypetextThe MIME type of the response
encodingtextThe character encoding of the response