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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Fetch rendered web content

> Fetch rendered web content

> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.

## Request contract

* **Method and path:** GET /apis/v1/web-extraction/web-fetch
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/web-extraction/web-fetch`
* **assert\_status\_code:** query; optional
* **base:** query; optional
* **detach\_invisibles:** query; optional
* **engine:** query; optional
* **keep\_img\_data\_url:** query; optional
* **locale:** query; optional
* **markdown\_chunking:** query; optional
* **max\_tokens:** query; optional
* **no\_gfm:** query; optional
* **page\_timeout:** query; optional
* **preset:** query; optional
* **referer:** query; optional
* **remove\_overlay:** query; optional
* **remove\_selector:** query; optional
* **respond\_timing:** query; optional
* **respond\_with:** query; optional
* **retain\_images:** query; optional
* **retain\_links:** query; optional
* **retain\_media:** query; optional
* **robots\_txt:** query; optional
* **target\_selector:** query; optional
* **timeout:** query; optional
* **token\_budget:** query; optional
* **url:** query; required
* **user\_agent:** query; optional
* **wait\_for\_selector:** query; optional
* **with\_iframe:** query; optional
* **with\_images\_summary:** query; optional
* **with\_links\_summary:** query; optional
* **with\_shadow\_dom:** query; optional

[Complete OpenAPI definition](https://aisa.one/docs/openapi-public/web-extraction.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "web-extraction.web-fetch",
  "method": "GET",
  "path": "/apis/v1/web-extraction/web-fetch",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "in": "query",
      "name": "assert_status_code",
      "required": false,
      "schema": {
        "maximum": 599,
        "minimum": 100,
        "type": "integer"
      }
    },
    {
      "in": "query",
      "name": "base",
      "required": false,
      "schema": {
        "enum": [
          "final",
          "initial"
        ],
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "detach_invisibles",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "in": "query",
      "name": "engine",
      "required": false,
      "schema": {
        "enum": [
          "auto",
          "browser",
          "curl"
        ],
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "keep_img_data_url",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "in": "query",
      "name": "locale",
      "required": false,
      "schema": {
        "maxLength": 64,
        "minLength": 2,
        "pattern": "^[A-Za-z]{2,8}(-[A-Za-z0-9]{1,8})*$",
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "markdown_chunking",
      "required": false,
      "schema": {
        "enum": [
          "h1",
          "h2",
          "h3",
          "h4",
          "h5",
          "s1",
          "s2",
          "s3",
          "s4",
          "s5",
          "structured",
          "true"
        ],
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "max_tokens",
      "required": false,
      "schema": {
        "maximum": 10000000,
        "minimum": 500,
        "type": "integer"
      }
    },
    {
      "in": "query",
      "name": "no_gfm",
      "required": false,
      "schema": {
        "enum": [
          "false",
          "table",
          "true"
        ],
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "page_timeout",
      "required": false,
      "schema": {
        "maximum": 180,
        "minimum": 1,
        "type": "integer"
      }
    },
    {
      "in": "query",
      "name": "preset",
      "required": false,
      "schema": {
        "enum": [
          "agent",
          "index",
          "reader",
          "research",
          "spider"
        ],
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "referer",
      "required": false,
      "schema": {
        "format": "http_uri",
        "maxLength": 8192,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "remove_overlay",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "in": "query",
      "name": "remove_selector",
      "required": false,
      "schema": {
        "maxLength": 2048,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "respond_timing",
      "required": false,
      "schema": {
        "enum": [
          "html",
          "media-idle",
          "mutation-idle",
          "network-idle",
          "resource-idle",
          "visible-content"
        ],
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "respond_with",
      "required": false,
      "schema": {
        "maxLength": 64,
        "minLength": 3,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "retain_images",
      "required": false,
      "schema": {
        "enum": [
          "all",
          "alt",
          "none"
        ],
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "retain_links",
      "required": false,
      "schema": {
        "enum": [
          "all",
          "gpt-oss",
          "none",
          "text"
        ],
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "retain_media",
      "required": false,
      "schema": {
        "enum": [
          "html",
          "image",
          "link",
          "none",
          "text"
        ],
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "robots_txt",
      "required": false,
      "schema": {
        "maxLength": 256,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "target_selector",
      "required": false,
      "schema": {
        "maxLength": 2048,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "timeout",
      "required": false,
      "schema": {
        "exclusiveMinimum": 0,
        "maximum": 90,
        "type": "number"
      }
    },
    {
      "in": "query",
      "name": "token_budget",
      "required": false,
      "schema": {
        "maximum": 10000000,
        "minimum": 1,
        "type": "integer"
      }
    },
    {
      "in": "query",
      "name": "url",
      "required": true,
      "schema": {
        "format": "http_uri",
        "maxLength": 8192,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "user_agent",
      "required": false,
      "schema": {
        "maxLength": 1024,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "wait_for_selector",
      "required": false,
      "schema": {
        "maxLength": 2048,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "with_iframe",
      "required": false,
      "schema": {
        "enum": [
          "false",
          "quoted",
          "true"
        ],
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "with_images_summary",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "in": "query",
      "name": "with_links_summary",
      "required": false,
      "schema": {
        "enum": [
          "all",
          "false",
          "true"
        ],
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "with_shadow_dom",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Observed response structure

The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.

* **HTTP status / last observed:** 200 / 2026-11-27

```json theme={null}
{
  "additionalProperties": true,
  "properties": {
    "content": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "usage": {
      "additionalProperties": true,
      "type": "object"
    }
  },
  "type": "object"
}
```

## Cost and request rules

Published reference price: \$0.00015 USD per successful request. Your account price may differ; use a request quote where supported.

## Response time

* Typically takes longer than 30 seconds.


## OpenAPI

````yaml openapi-public/web-extraction.json GET /apis/v1/web-extraction/web-fetch
openapi: 3.1.0
info:
  description: ''
  title: 网页提取
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    web-extraction:
      description: ''
      title: 网页提取
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 880be7ea488a3054e13c2e6137ea86a8e582c99b53a64f29d3b9c52ab4fa3588
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/web-extraction/search-v1
    - /apis/v1/web-extraction/web-fetch
    - /apis/v1/web-extraction/web-fetch-post
  x-aisa-document:
    composer_version: '31'
    facts_hash: 880be7ea488a3054e13c2e6137ea86a8e582c99b53a64f29d3b9c52ab4fa3588
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:771a9f29ab246a576c6c375035a4d61e7ce386cb19bcb9f7ff0d854a99f59069
    document_hash: sha256:201aa88541840d28181f7da5403c5ba02dc63ebc2f8ee49af3698807ac96fe47
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: web-extraction
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/web-extraction/web-fetch:
    get:
      tags:
        - 网页提取
      summary: Fetch rendered web content
      description: >-
        > **Request example pending verification.** The request example for this
        endpoint has not yet been verified in production. Static examples
        describe the request format; replace sample values with your own. Check
        the estimated price with a free quote request (`X-AISA-Cost-Mode:
        quote`) before running it.
      operationId: web-extraction.web-fetch
      parameters:
        - in: query
          name: assert_status_code
          required: false
          schema:
            maximum: 599
            minimum: 100
            type: integer
        - in: query
          name: base
          required: false
          schema:
            enum:
              - final
              - initial
            type: string
        - in: query
          name: detach_invisibles
          required: false
          schema:
            type: boolean
        - in: query
          name: engine
          required: false
          schema:
            enum:
              - auto
              - browser
              - curl
            type: string
        - in: query
          name: keep_img_data_url
          required: false
          schema:
            type: boolean
        - in: query
          name: locale
          required: false
          schema:
            maxLength: 64
            minLength: 2
            pattern: ^[A-Za-z]{2,8}(-[A-Za-z0-9]{1,8})*$
            type: string
        - in: query
          name: markdown_chunking
          required: false
          schema:
            enum:
              - h1
              - h2
              - h3
              - h4
              - h5
              - s1
              - s2
              - s3
              - s4
              - s5
              - structured
              - 'true'
            type: string
        - in: query
          name: max_tokens
          required: false
          schema:
            maximum: 10000000
            minimum: 500
            type: integer
        - in: query
          name: no_gfm
          required: false
          schema:
            enum:
              - 'false'
              - table
              - 'true'
            type: string
        - in: query
          name: page_timeout
          required: false
          schema:
            maximum: 180
            minimum: 1
            type: integer
        - in: query
          name: preset
          required: false
          schema:
            enum:
              - agent
              - index
              - reader
              - research
              - spider
            type: string
        - in: query
          name: referer
          required: false
          schema:
            format: http_uri
            maxLength: 8192
            minLength: 1
            type: string
        - in: query
          name: remove_overlay
          required: false
          schema:
            type: boolean
        - in: query
          name: remove_selector
          required: false
          schema:
            maxLength: 2048
            minLength: 1
            type: string
        - in: query
          name: respond_timing
          required: false
          schema:
            enum:
              - html
              - media-idle
              - mutation-idle
              - network-idle
              - resource-idle
              - visible-content
            type: string
        - in: query
          name: respond_with
          required: false
          schema:
            maxLength: 64
            minLength: 3
            type: string
        - in: query
          name: retain_images
          required: false
          schema:
            enum:
              - all
              - alt
              - none
            type: string
        - in: query
          name: retain_links
          required: false
          schema:
            enum:
              - all
              - gpt-oss
              - none
              - text
            type: string
        - in: query
          name: retain_media
          required: false
          schema:
            enum:
              - html
              - image
              - link
              - none
              - text
            type: string
        - in: query
          name: robots_txt
          required: false
          schema:
            maxLength: 256
            minLength: 1
            type: string
        - in: query
          name: target_selector
          required: false
          schema:
            maxLength: 2048
            minLength: 1
            type: string
        - in: query
          name: timeout
          required: false
          schema:
            exclusiveMinimum: 0
            maximum: 90
            type: number
        - in: query
          name: token_budget
          required: false
          schema:
            maximum: 10000000
            minimum: 1
            type: integer
        - in: query
          name: url
          required: true
          schema:
            format: http_uri
            maxLength: 8192
            minLength: 1
            type: string
        - in: query
          name: user_agent
          required: false
          schema:
            maxLength: 1024
            minLength: 1
            type: string
        - in: query
          name: wait_for_selector
          required: false
          schema:
            maxLength: 2048
            minLength: 1
            type: string
        - in: query
          name: with_iframe
          required: false
          schema:
            enum:
              - 'false'
              - quoted
              - 'true'
            type: string
        - in: query
          name: with_images_summary
          required: false
          schema:
            type: boolean
        - in: query
          name: with_links_summary
          required: false
          schema:
            enum:
              - all
              - 'false'
              - 'true'
            type: string
        - in: query
          name: with_shadow_dom
          required: false
          schema:
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                properties:
                  content:
                    type: string
                  description:
                    type: string
                  title:
                    type: string
                  url:
                    type: string
                  usage:
                    additionalProperties: true
                    type: object
                type: object
          description: >-
            Observed successful JSON response. This partial structure comes from
            successful probe or sampled requests; fields and types may vary. No
            field is guaranteed to be present. Last observed: 2026-11-27.
          x-aisa-response-observation:
            completeness: observed
            last_observed: '2026-11-27'
            origins:
              - customer
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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