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

# Firecrawl Map

> 列出从某个起始页可达的 URL，不抓取任何内容。

列出从某个起始页可达的 URL，不抓取任何内容。`url` 和 `limit` 都必填（limit 1 到 100000）。返回 `success`、请求 `id` 和 `links[]`，每条含 `url` 和 `title` —— 注意这里是**带标题的对象**，而 [`post_tavily_map`](https://aisa.one/docs/zh/api-reference/search/post_tavily-map) 返回的是裸字符串。实测约 9 秒。**每发现一个链接计 1 个 credit**，所以 `limit` 是成本控制而不只是数量控制。用它在付费爬取前先估算站点规模，再用 [`post_firecrawl_scrape`](https://aisa.one/docs/zh/api-reference/search/post_firecrawl-scrape) 只取需要的。想一次同时拿到结构和内容，用 [`post_firecrawl_crawl`](https://aisa.one/docs/zh/api-reference/search/post_firecrawl-crawl)。

> [!NOTE]
>
> **第一次用？** 把任意 MCP 客户端指向 `https://mcp.aisa.one/mcp` —— Claude Code、
> Codex、Cursor、VS Code 都可以。鉴权走 OAuth：客户端打开浏览器，你点一次
> Allow，不需要粘贴任何 key。之后智能体通过几个元工具调用所有端点：
> `search`、`list_categories`、`get_details` 和 `batch_quote` 免费，`batch_use`
> 按次计费。各客户端的接入步骤见[通过 MCP 连接](https://aisa.one/docs/zh/agent-quickstart.md)；实时工具列表和
> 每次调用的价格见 [aisa.one/zh-cn/mcp](https://aisa.one/zh-cn/mcp#connect)。

[在你的 agent 里把这个端点跑起来 →](https://aisa.one/mcp?from=/zh/api-reference/search/post_firecrawl-map)

## 请求规范

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

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

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

```json theme={null}
{
  "operationId": "post_firecrawl_map",
  "method": "POST",
  "path": "/apis/v1/firecrawl/map",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "default": {
            "value": {
              "limit": 1,
              "url": "https://example.com"
            }
          },
          "minimal": {
            "value": {
              "limit": 1,
              "url": "https://example.com"
            }
          }
        },
        "schema": {
          "additionalProperties": false,
          "properties": {
            "limit": {
              "maximum": 100000,
              "minimum": 1,
              "type": "integer"
            },
            "url": {
              "format": "https_url",
              "type": "string"
            }
          },
          "required": [
            "limit",
            "url"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

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


## OpenAPI

````yaml openapi/zh/firecrawl.json POST /apis/v1/firecrawl/map
openapi: 3.1.0
info:
  description: ''
  title: Firecrawl
  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:
    firecrawl:
      description: ''
      title: Firecrawl
      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: fea8287b1066296595eeef82a2f6e57ca28a31f966891c4bf63e3cf26569522d
        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/firecrawl/batch-scrape
    - /apis/v1/firecrawl/crawl
    - /apis/v1/firecrawl/map
    - /apis/v1/firecrawl/parse
    - /apis/v1/firecrawl/scrape
    - /apis/v1/firecrawl/search
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:5c00af664492dabee4f03a9d8b24308bee0946bc1f9c4d08215d4c470fb12fcf
    facts_hash: fea8287b1066296595eeef82a2f6e57ca28a31f966891c4bf63e3cf26569522d
    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: firecrawl
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/firecrawl/map:
    post:
      tags:
        - firecrawl
      summary: Firecrawl Map
      operationId: post_firecrawl_map
      requestBody:
        content:
          application/json:
            examples:
              default:
                value:
                  limit: 1
                  url: https://example.com
              minimal:
                value:
                  limit: 1
                  url: https://example.com
            schema:
              additionalProperties: false
              properties:
                limit:
                  maximum: 100000
                  minimum: 1
                  type: integer
                url:
                  format: https_url
                  type: string
              required:
                - limit
                - url
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response8Da76D082565_MapResponse'
          description: 成功响应
        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/firecrawl/map \
              --header 'Authorization: Bearer <token>' \
              --header 'Content-Type: application/json' \
              --data '{
              "limit": 1,
              "url": "https://example.com"
            }'
components:
  schemas:
    Response8Da76D082565_MapResponse:
      properties:
        links:
          items:
            properties:
              description:
                description: A description of the page, if available.
                type: string
              title:
                description: The title of the page, if available.
                type: string
              url:
                format: uri
                type: string
            required:
              - url
            type: object
          type: array
        success:
          type: boolean
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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