> ## Documentation Index
> Fetch the complete documentation index at: https://hyperbrowser.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Authenticate REST, SDK, and CLI requests with the `x-api-key` header using the `HYPERBROWSER_API_KEY` environment variable (create keys at https://app.hyperbrowser.ai).
> Always stop browser sessions (`sessions.stop(id)` / `PUT /api/session/{id}/stop`) and sandboxes (`sandboxes.stop(id)` / `PUT /api/sandbox/{id}/stop`) in `try`/`finally` blocks to avoid idle billing.
> Choose the right surface: use Web API (`/api/web/fetch`, `batch-fetch`, `crawl`, `search`) for stateless reading and extraction (prefer it over legacy `/api/scrape`); Browser Sessions (`/api/session`) for interactive, authenticated, or Playwright/Puppeteer workflows; Cloud Agents (`/api/task/*`) for autonomous browser tasks; and Sandboxes (`/api/sandbox`) for isolated Linux or macOS code execution.
> Use `@hyperbrowser/sdk` for Node.js/TypeScript, `hyperbrowser` 1.0+ typed-dict request params for Python (avoid legacy Pydantic request classes), the unified `hx` CLI for terminal workflows, and hosted OAuth MCP at `https://mcp.hyperbrowser.ai/mcp/web` (web tools; use `https://mcp.hyperbrowser.ai/mcp` only when browser, sandbox, admin, and usage tools are needed).

# Get fetch job result

> Retrieve the status and extracted outputs of an async web fetch job. Requires scope `web.fetch.read`. See [Web Fetch](/web/fetch).



## OpenAPI

````yaml openapi.json GET /api/web/fetch/{id}
openapi: 3.0.1
info:
  title: Hyperbrowser API
  version: 1.0.0
servers:
  - url: https://api.hyperbrowser.ai
    description: Production server
security: []
tags:
  - name: Sessions
    description: Create, control, update, snapshot, and observe cloud browser sessions.
  - name: WebMCP
    description: Discover and invoke page-provided WebMCP tools inside a browser session.
  - name: Profiles
    description: >-
      Persist and reuse browser cookies, storage, and auth state across
      sessions.
  - name: Extensions
    description: Upload and manage Chrome extensions loaded into browser sessions.
  - name: Static IPs
    description: Manage dedicated static IP addresses for browser sessions.
  - name: Web API
    description: High-speed web fetch, batch fetch, crawl, and search endpoints.
  - name: Legacy Scraping
    description: Maintained legacy scrape, batch scrape, crawl, and extract endpoints.
  - name: Cloud Agents
    description: Managed autonomous browser agent tasks.
  - name: Sandboxes
    description: ''
  - name: Volumes
    description: Persistent shared volumes mounted across sandboxes.
  - name: Persistent Disks
    description: Persistent writable and snapshot disks for macOS sandboxes.
  - name: Images & Builds
    description: Build, reuse, list, and delete custom sandbox images.
  - name: Snapshots
    description: Manage Hyperbrowser memory snapshots for sub-second sandbox boots.
  - name: Secrets
    description: >-
      Create and version encrypted secrets for sandboxes and browser credential
      fill.
  - name: Vaults
    description: Group related secrets into reusable vaults.
  - name: Platform & Billing
    description: Inspect team credits and per-job credit/token usage.
  - name: X402
    description: Pay-per-request HTTP 402 endpoints for sessions, fetch, and search.
paths:
  /api/web/fetch/{id}:
    get:
      tags:
        - Web API
      summary: Get fetch job result
      description: >-
        Retrieve the status and extracted outputs of an async web fetch job.
        Requires scope `web.fetch.read`. See [Web Fetch](/web/fetch).
      parameters:
        - name: id
          in: path
          required: true
          description: Fetch job UUID
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Fetch job result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FetchResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: |-
            curl -X GET "https://api.hyperbrowser.ai/api/web/fetch/<id>" \
              -H "x-api-key: $HYPERBROWSER_API_KEY"
components:
  schemas:
    FetchResponse:
      type: object
      properties:
        jobId:
          type: string
        status:
          $ref: '#/components/schemas/FetchStatus'
        error:
          type: string
          nullable: true
        data:
          $ref: '#/components/schemas/FetchResponseData'
      required:
        - jobId
        - status
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
    FetchStatus:
      type: string
      enum:
        - completed
        - failed
        - pending
        - running
    FetchResponseData:
      type: object
      properties:
        metadata:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
        statusCode:
          type: integer
          description: >-
            HTTP status of the page the content came from. Omitted when the
            browser received no response.
        finalUrl:
          type: string
          description: >-
            URL the page ended on after redirects. For a document such as a PDF,
            the URL of the downloaded file.
        html:
          type: string
        markdown:
          type: string
        links:
          type: array
          items:
            type: string
        screenshot:
          type: string
        json:
          type: object
        branding:
          $ref: '#/components/schemas/BrandingProfile'
        actionReplay:
          $ref: '#/components/schemas/ActionReplay'
          description: >-
            Action failures and `js` step results, returned when `actions` were
            supplied.
    BrandingProfile:
      type: object
      description: >-
        Visual brand profile extracted via DOM analysis + LLM enhancement. All
        fields optional; the server may return a partial profile when the LLM
        refuses or fails.
      properties:
        colorScheme:
          type: string
          description: 'Page color scheme. Common values: light, dark.'
        colors:
          type: object
          description: >-
            Color role assignments. Common keys: primary, secondary, accent,
            background, textPrimary, textSecondary, link.
        fonts:
          type: array
          description: Cleaned brand fonts with roles.
          items:
            type: object
            properties:
              family:
                type: string
              role:
                type: string
        typography:
          type: object
          description: >-
            Font families, stacks, and sizes. Keys: fontFamilies, fontStacks,
            fontSizes, lineHeights, fontWeights.
        spacing:
          type: object
          description: >-
            Spacing scale. Common keys: baseUnit, borderRadius, padding,
            margins, gridGutter.
        components:
          type: object
          description: >-
            Per-component style dictionaries. Common keys: buttonPrimary,
            buttonSecondary, input. Each value has background, textColor,
            borderColor, borderRadius, borderRadiusCorners, shadow.
        images:
          type: object
          description: >-
            Brand images. Common keys: logo, logoHref, logoAlt, favicon,
            ogImage.
        personality:
          type: object
          description: 'Brand personality. Common keys: tone, energy, targetAudience.'
        designSystem:
          type: object
          description: 'Detected design system. Common keys: framework, componentLibrary.'
        confidence:
          type: object
          description: 'Confidence scores (0-1). Common keys: buttons, colors, overall.'
    ActionReplay:
      type: object
      properties:
        strictMode:
          type: boolean
        failures:
          type: array
          items:
            type: object
            properties:
              stepIndex:
                type: integer
              step:
                type: object
                additionalProperties: true
              pageUrlAtFailure:
                type: string
              timeoutMsApplied:
                type: integer
              timedOut:
                type: boolean
              error:
                type: object
                properties:
                  name:
                    type: string
                  message:
                    type: string
                required:
                  - message
        results:
          type: array
          description: Return values of `js` steps.
          items:
            type: object
            properties:
              stepIndex:
                type: integer
              value: {}
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.