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

# Web fetch

> Fetch a URL and return its content as markdown.

<Warning>
  This endpoint is in beta. Its request and response shapes may change without the usual deprecation window.
</Warning>


## OpenAPI

````yaml post /v3/tools/web/fetch
openapi: 3.1.0
info:
  description: Schema-driven generative API that orchestrates LLM-powered workflows.
  title: Task API
  version: 3.0.0
servers:
  - description: Production
    url: https://api.opper.ai
  - description: Local development
    url: http://localhost:8080
security:
  - BearerAuth: []
tags:
  - description: Schema-driven function management and execution
    name: Functions
  - description: OpenAI-compatible chat completions
    name: Chat
  - description: OpenAI Responses API compatible endpoint
    name: Responses
  - description: Google-compatible interactions endpoint
    name: Interactions
  - description: Model registry and capabilities
    name: Models
  - description: Synchronous image generation
    name: Images
  - description: Text-to-speech and speech-to-text
    name: Audio
  - description: Asynchronous video generation
    name: Videos
  - description: Reusable file storage for media inputs and generated outputs
    name: Files
  - description: Async generation status and downloads
    name: Artifacts
  - description: OpenAI-compatible embeddings
    name: Embeddings
  - description: Recorded HTTP request/response generations
    name: Generations
  - description: System health and status
    name: System
  - description: Roundtable endpoint — fan out a query to multiple LLMs and combine results
    name: Roundtable
  - description: Web search, fetch, and other utility tools
    name: Tools
paths:
  /v3/tools/web/fetch:
    post:
      tags:
        - Tools
      summary: Web fetch
      description: Fetch a URL and return its content as markdown.
      operationId: webFetch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebFetchRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebFetchResponse'
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '401':
          description: Unauthorized - missing or invalid API key
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal server error
components:
  schemas:
    WebFetchRequest:
      properties:
        engine:
          description: Fetch backend. auto (default) routes to Jina.
          enum:
            - auto
            - jina
          type: string
        max_chars:
          description: >-
            Truncate the returned content to at most this many characters. 0
            means unbounded (return the full page).
          type: integer
        url:
          description: The HTTP or HTTPS URL to fetch. Required.
          type: string
      required:
        - url
      type: object
    WebFetchResponse:
      properties:
        content:
          description: Page content as Markdown. Truncated to max_chars if set.
          type: string
        title:
          description: Page title as extracted from the rendered HTML.
          type: string
        url:
          description: >-
            Canonical URL of the fetched page (may differ from the requested URL
            after redirects).
          type: string
      required:
        - url
        - title
        - content
      type: object
    ErrorResponse:
      properties:
        error:
          properties:
            code:
              type: string
            details:
              description: Any value
            message:
              type: string
          required:
            - code
            - message
          type: object
        meta:
          type: object
      required:
        - error
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: API Key
      description: API key authentication. Pass your API key as a Bearer token.
      scheme: bearer
      type: http

````