> ## 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 Batch Scrape submit

> Scrape many URLs as one background job.

Scrape many URLs as one background job. `urls` and an `Idempotency-Key` are required; `maxConcurrency`, `onlyMainContent`, `includeTags`, `excludeTags`, `maxAge`, `minAge` and `timeout` tune it. Asynchronous. Submitting returns HTTP 202 and a job envelope — `id`, `object`, `endpoint`, `status`, `createdAt`, `completedAt`, `pricing`, `output`, `error` — with `output` still null. Poll [`get_firecrawl_batch_scrape_job`](https://aisa.one/docs/api-reference/search/get_firecrawl-batch-scrape-job) until terminal; `output` is then an array of documents with `markdown` and `metadata`. Use it when you have a list of URLs and do not need them immediately. When you do need them immediately, [`post_tavily_extract`](https://aisa.one/docs/api-reference/search/post_tavily-extract) returns a small batch synchronously in about a second; for a single page [`post_firecrawl_scrape`](https://aisa.one/docs/api-reference/search/post_firecrawl-scrape). Send a fresh `Idempotency-Key` per distinct batch.

> [!NOTE]
>
> **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
> Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
> opens a browser, you click Allow once, and there is no key to paste. Your
> agent then reaches every endpoint through a few meta tools: `search`,
> `list_categories`, `get_details` and `batch_quote` are free, `batch_use` is
> billed per call. Setup per client is in
> [Connect via MCP](https://aisa.one/docs/agent-quickstart.md); the live tool list and what each call
> costs are on [aisa.one/mcp](https://aisa.one/mcp#connect).

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/search/post_firecrawl-batch-scrape)

## Request contract

* **Method and path:** POST /apis/v1/firecrawl/batch-scrape
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/firecrawl/batch-scrape`
* **Idempotency-Key:** header; required
* **X-AISA-Max-Price-USD:** header; optional
* **X-AISA-Cost-Mode:** header; optional

[Complete OpenAPI definition](https://aisa.one/docs/openapi/firecrawl.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "post_firecrawl_batch_scrape",
  "method": "POST",
  "path": "/apis/v1/firecrawl/batch-scrape",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Trimmed UTF-8 length must be 1 through 191 bytes.",
      "in": "header",
      "name": "Idempotency-Key",
      "required": true,
      "schema": {
        "pattern": "\\S",
        "type": "string"
      }
    },
    {
      "description": "Optional maximum customer authorization in USD, validated by the runtime price parser.",
      "in": "header",
      "name": "X-AISA-Max-Price-USD",
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Return a read-only cost quote instead of submitting a job.",
      "in": "header",
      "name": "X-AISA-Cost-Mode",
      "schema": {
        "enum": [
          "quote"
        ],
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "example": {
          "urls": [
            "https://example.com"
          ]
        },
        "schema": {
          "additionalProperties": false,
          "properties": {
            "excludeTags": {
              "items": {
                "description": "Non-empty after trimming; no CR/LF; UTF-8 byte length is bounded.",
                "pattern": "^[^\\r\\n]*\\S[^\\r\\n]*$(?![\\s\\S])",
                "type": "string",
                "x-aisa-max-utf8-bytes": 128
              },
              "maxItems": 50,
              "type": [
                "array",
                "null"
              ]
            },
            "includeTags": {
              "items": {
                "description": "Non-empty after trimming; no CR/LF; UTF-8 byte length is bounded.",
                "pattern": "^[^\\r\\n]*\\S[^\\r\\n]*$(?![\\s\\S])",
                "type": "string",
                "x-aisa-max-utf8-bytes": 128
              },
              "maxItems": 50,
              "type": [
                "array",
                "null"
              ]
            },
            "maxAge": {
              "maximum": 31536000000,
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            },
            "maxConcurrency": {
              "maximum": 20,
              "minimum": 1,
              "type": [
                "integer",
                "null"
              ]
            },
            "minAge": {
              "maximum": 31536000000,
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            },
            "onlyMainContent": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "timeout": {
              "maximum": 300000,
              "minimum": 1000,
              "type": [
                "integer",
                "null"
              ]
            },
            "urls": {
              "description": "URLs must also be unique after trimming whitespace and trailing slashes.",
              "items": {
                "description": "HTTPS URL with a hostname, without credentials or fragment. Trimmed input ending in .pdf (case insensitive) is not supported.",
                "pattern": "^\\s*[hH][tT][tT][pP][sS]://",
                "type": "string"
              },
              "maxItems": 1000,
              "minItems": 1,
              "type": "array",
              "uniqueItems": true
            }
          },
          "required": [
            "urls"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Charged for actual usage when the job completes. Published reference price: \$0.005 USD per billable unit. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/firecrawl.json POST /apis/v1/firecrawl/batch-scrape
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/batch-scrape:
    post:
      summary: Firecrawl Batch Scrape submit
      description: >-
        Owner-scoped local asynchronous job lifecycle. Disabling new admission
        does not disable existing job reads or cancellation. Runtime
        availability and access policy also apply.
      operationId: post_firecrawl_batch_scrape
      parameters:
        - description: Trimmed UTF-8 length must be 1 through 191 bytes.
          in: header
          name: Idempotency-Key
          required: true
          schema:
            pattern: \S
            type: string
        - description: >-
            Optional maximum customer authorization in USD, validated by the
            runtime price parser.
          in: header
          name: X-AISA-Max-Price-USD
          schema:
            type: string
        - description: Return a read-only cost quote instead of submitting a job.
          in: header
          name: X-AISA-Cost-Mode
          schema:
            enum:
              - quote
            type: string
      requestBody:
        content:
          application/json:
            example:
              urls:
                - https://example.com
            schema:
              additionalProperties: false
              properties:
                excludeTags:
                  items:
                    description: >-
                      Non-empty after trimming; no CR/LF; UTF-8 byte length is
                      bounded.
                    pattern: ^[^\r\n]*\S[^\r\n]*$(?![\s\S])
                    type: string
                    x-aisa-max-utf8-bytes: 128
                  maxItems: 50
                  type:
                    - array
                    - 'null'
                includeTags:
                  items:
                    description: >-
                      Non-empty after trimming; no CR/LF; UTF-8 byte length is
                      bounded.
                    pattern: ^[^\r\n]*\S[^\r\n]*$(?![\s\S])
                    type: string
                    x-aisa-max-utf8-bytes: 128
                  maxItems: 50
                  type:
                    - array
                    - 'null'
                maxAge:
                  maximum: 31536000000
                  minimum: 0
                  type:
                    - integer
                    - 'null'
                maxConcurrency:
                  maximum: 20
                  minimum: 1
                  type:
                    - integer
                    - 'null'
                minAge:
                  maximum: 31536000000
                  minimum: 0
                  type:
                    - integer
                    - 'null'
                onlyMainContent:
                  type:
                    - boolean
                    - 'null'
                timeout:
                  maximum: 300000
                  minimum: 1000
                  type:
                    - integer
                    - 'null'
                urls:
                  description: >-
                    URLs must also be unique after trimming whitespace and
                    trailing slashes.
                  items:
                    description: >-
                      HTTPS URL with a hostname, without credentials or
                      fragment. Trimmed input ending in .pdf (case insensitive)
                      is not supported.
                    pattern: ^\s*[hH][tT][tT][pP][sS]://
                    type: string
                  maxItems: 1000
                  minItems: 1
                  type: array
                  uniqueItems: true
              required:
                - urls
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  currency:
                    type:
                      - string
                      - 'null'
                  estimate_kind:
                    type:
                      - string
                      - 'null'
                  estimated_at:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  estimated_cost_micros_usd:
                    type:
                      - integer
                      - 'null'
                  max_cost_micros_usd:
                    type:
                      - integer
                      - 'null'
                  may_exceed_estimate:
                    type:
                      - boolean
                      - 'null'
                  metadata:
                    additionalProperties: {}
                    type:
                      - object
                      - 'null'
                  object:
                    type:
                      - string
                      - 'null'
                  pricing_version:
                    type:
                      - string
                      - 'null'
                required:
                  - currency
                  - estimate_kind
                  - estimated_at
                  - estimated_cost_micros_usd
                  - may_exceed_estimate
                  - object
                type: object
          description: >-
            Read-only cost quote when X-AISA-Cost-Mode is quote; no job is
            created.
        '202':
          content:
            application/json:
              schema:
                properties:
                  completedAt:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  createdAt:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  endpoint:
                    type:
                      - string
                      - 'null'
                  error:
                    properties:
                      code:
                        type:
                          - string
                          - 'null'
                      message:
                        type:
                          - string
                          - 'null'
                    type:
                      - object
                      - 'null'
                  id:
                    type:
                      - string
                      - 'null'
                  object:
                    const: integration_async_job
                    type: string
                  output: {}
                  outputExpired:
                    type:
                      - boolean
                      - 'null'
                  pricing:
                    properties:
                      authorizedMicrosUSD:
                        type:
                          - integer
                          - 'null'
                      billingMode:
                        type:
                          - string
                          - 'null'
                      currency:
                        type:
                          - string
                          - 'null'
                      finalMicrosUSD:
                        type:
                          - integer
                          - 'null'
                    type:
                      - object
                      - 'null'
                  status:
                    enum:
                      - queued
                      - running
                      - completed
                      - failed
                      - cancelled
                    type: string
                required:
                  - completedAt
                  - createdAt
                  - endpoint
                  - error
                  - id
                  - object
                  - output
                  - pricing
                  - status
                type: object
          description: Success
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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