> ## 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

# BytePlus Fetch

> Fetch a single URL and return clean, structured page content — title, body text, and publish time. `Url` is required. The response wraps `ResponseMetadata.RequestId` and a `Result` object with the parsed content. Use it to extract full page content for URLs you already have, typically pairing it with `post_byteplus_web_search` results.  failed requests are not charged.

## 请求规范

* **方法与路径:** POST /apis/v1/byteplus/fetch
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/byteplus/fetch`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/byteplus-search.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "post_byteplus_fetch",
  "method": "POST",
  "path": "/apis/v1/byteplus/fetch",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "basic": {
            "summary": "Fetch a page",
            "value": {
              "Url": "https://example.com"
            }
          }
        },
        "schema": {
          "properties": {
            "Url": {
              "description": "The URL to fetch. Required.",
              "example": "https://example.com",
              "type": "string"
            }
          },
          "required": [
            "Url"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

请求费用。 默认请求预估费用：\$0.0008 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/byteplus-search.json POST /apis/v1/byteplus/fetch
openapi: 3.1.0
info:
  description: ''
  title: BytePlus SearchInfinity (AI Web Search + Fetch)
  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:
    byteplus-search:
      description: ''
      title: BytePlus SearchInfinity (AI Web Search + Fetch)
      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: c6938a2b68dcd4140f77b783866eb27d207badfaf1ccb92415f8f016896bad6f
        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/byteplus/fetch
    - /apis/v1/byteplus/web-search
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:60d1a2ff70f29b577bc42f2e0db1f229c1847714866113fb3a035fc2dde850e2
    facts_hash: c6938a2b68dcd4140f77b783866eb27d207badfaf1ccb92415f8f016896bad6f
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: byteplus-search
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/byteplus/fetch:
    post:
      tags:
        - byteplus
      summary: BytePlus Fetch
      description: >-
        Fetch a single URL and return clean, structured page content — title,
        body text, and publish time. `Url` is required. The response wraps
        `ResponseMetadata.RequestId` and a `Result` object with the parsed
        content. Use it to extract full page content for URLs you already have,
        typically pairing it with `post_byteplus_web_search` results.  failed
        requests are not charged.
      operationId: post_byteplus_fetch
      requestBody:
        content:
          application/json:
            examples:
              basic:
                summary: Fetch a page
                value:
                  Url: https://example.com
            schema:
              properties:
                Url:
                  description: The URL to fetch. Required.
                  example: https://example.com
                  type: string
              required:
                - Url
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                success:
                  summary: Live gateway 200 response
                  value:
                    ResponseMetadata:
                      Action: ''
                      Region: ''
                      RequestId: 20260904155514D7EA140BFD77348BC3FC
                      Service: ''
                      Version: ''
                    Result:
                      Data:
                        ContentText: >-
                          This domain is for use in documentation examples
                          without needing permission. Avoid use in operations.

                          Learn more
                        PublishTime: 0
                        StatusCode: 200
                        Title: Example Domain
                        Url: https://example.com
                      LogId: 20260904155514D7EA140BFD77348BC3FC
              schema:
                properties:
                  ResponseMetadata:
                    description: Upstream request metadata.
                    properties:
                      Action:
                        type: string
                      Region:
                        type: string
                      RequestId:
                        description: Unique identifier for this request.
                        type: string
                      Service:
                        type: string
                      Version:
                        type: string
                    type: object
                  Result:
                    description: Fetch result payload.
                    properties:
                      Data:
                        description: Structured page content.
                        properties:
                          ContentText:
                            description: Clean body text extracted from the page.
                            type: string
                          PublishTime:
                            description: >-
                              Detected publish time as Unix seconds (0 if
                              unknown).
                            type: integer
                          StatusCode:
                            description: HTTP status code of the fetched page.
                            type: integer
                          Title:
                            description: Page title.
                            type: string
                          Url:
                            description: The fetched URL.
                            type: string
                        type: object
                      LogId:
                        description: Upstream log id (equals ResponseMetadata.RequestId).
                        type: string
                    type: object
                type: object
          description: >-
            Fetch completed successfully. `Result` holds the structured page
            content.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
      x-codeSamples:
        - label: Reference example
          lang: text
          source: >-
            # Fixed reference example. Playground inputs do not update this
            sample.

            curl --request POST \
              --url https://api.aisa.one/apis/v1/byteplus/fetch \
              --header 'Authorization: Bearer <token>' \
              --header 'Content-Type: application/json' \
              --data '{
              "Url": "https://example.com"
            }'
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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