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

> Parse an HTML file you upload and get markdown back.

Parse an HTML file you upload and get markdown back. This is `multipart/form-data` with two fields: `file` (an HTML upload that must carry a `text/html` content type or an `.html`/`.htm` filename) and `options` (a JSON string that must set `proxy` to `basic`, may additionally set `formats` to `["markdown"]`, and is capped at 64 KB). Returns `success` and `data.markdown` with `metadata`. Billed 1 Firecrawl credit. ⚠️ **Not available as an MCP tool.** A tool call carries JSON, so the file arrives as a plain form field with no filename and upstream rejects it — verified. Over MCP use [`post_firecrawl_scrape`](https://aisa.one/docs/api-reference/search/post_firecrawl-scrape) with a URL instead. This endpoint is for HTTP clients that hold an actual file.

## Request contract

* **Method and path:** POST /apis/v1/firecrawl/parse
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/firecrawl/parse`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "post_firecrawl_parse",
  "method": "POST",
  "path": "/apis/v1/firecrawl/parse",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "default": {
            "value": {
              "file": "example.htm",
              "options": "{\"formats\":[\"markdown\"],\"proxy\":\"basic\"}"
            }
          },
          "minimal": {
            "value": {
              "file": "example.htm",
              "options": "{\"formats\":[\"markdown\"],\"proxy\":\"basic\"}"
            }
          }
        },
        "schema": {
          "additionalProperties": false,
          "properties": {
            "file": {
              "type": "string",
              "x-aisa-allowed-suffixes": [
                ".htm",
                ".html"
              ]
            },
            "options": {
              "enum": [
                "{\"formats\":[\"markdown\"],\"proxy\":\"basic\"}"
              ],
              "type": "string"
            }
          },
          "required": [
            "file",
            "options"
          ],
          "type": "object"
        }
      },
      "application/x-www-form-urlencoded": {
        "schema": {
          "additionalProperties": false,
          "properties": {
            "file": {
              "type": "string",
              "x-aisa-allowed-suffixes": [
                ".htm",
                ".html"
              ]
            },
            "options": {
              "enum": [
                "{\"formats\":[\"markdown\"],\"proxy\":\"basic\"}"
              ],
              "type": "string"
            }
          },
          "required": [
            "file",
            "options"
          ],
          "type": "object"
        }
      },
      "multipart/form-data": {
        "encoding": {
          "file": {
            "contentType": "text/plain"
          },
          "options": {
            "contentType": "text/plain"
          }
        },
        "schema": {
          "additionalProperties": false,
          "description": "Each field is a single text/plain part; repeated fields and JSON object/array parts are not supported.",
          "properties": {
            "file": {
              "type": "string",
              "x-aisa-allowed-suffixes": [
                ".htm",
                ".html"
              ]
            },
            "options": {
              "enum": [
                "{\"formats\":[\"markdown\"],\"proxy\":\"basic\"}"
              ],
              "type": "string"
            }
          },
          "required": [
            "file",
            "options"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Request pricing. Default request estimate: \$0.001071 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/firecrawl.json POST /apis/v1/firecrawl/parse
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/parse:
    post:
      tags:
        - firecrawl
      summary: Firecrawl Parse
      operationId: post_firecrawl_parse
      requestBody:
        content:
          application/json:
            examples:
              default:
                value:
                  file: example.htm
                  options: '{"formats":["markdown"],"proxy":"basic"}'
              minimal:
                value:
                  file: example.htm
                  options: '{"formats":["markdown"],"proxy":"basic"}'
            schema:
              additionalProperties: false
              properties:
                file:
                  type: string
                  x-aisa-allowed-suffixes:
                    - .htm
                    - .html
                options:
                  enum:
                    - '{"formats":["markdown"],"proxy":"basic"}'
                  type: string
              required:
                - file
                - options
              type: object
          application/x-www-form-urlencoded:
            schema:
              additionalProperties: false
              properties:
                file:
                  type: string
                  x-aisa-allowed-suffixes:
                    - .htm
                    - .html
                options:
                  enum:
                    - '{"formats":["markdown"],"proxy":"basic"}'
                  type: string
              required:
                - file
                - options
              type: object
          multipart/form-data:
            encoding:
              file:
                contentType: text/plain
              options:
                contentType: text/plain
            schema:
              additionalProperties: false
              description: >-
                Each field is a single text/plain part; repeated fields and JSON
                object/array parts are not supported.
              properties:
                file:
                  type: string
                  x-aisa-allowed-suffixes:
                    - .htm
                    - .html
                options:
                  enum:
                    - '{"formats":["markdown"],"proxy":"basic"}'
                  type: string
              required:
                - file
                - options
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response1Ca01236E821_ScrapeResponse'
          description: Successful response
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response1Ca01236E821_ScrapeResponse:
      properties:
        data:
          properties:
            actions:
              description: >-
                Results of the actions specified in the `actions` parameter.
                Only present if the `actions` parameter was provided in the
                request
              properties:
                javascriptReturns:
                  description: >-
                    JavaScript return values, in the same order as the
                    executeJavascript actions provided.
                  items:
                    properties:
                      type:
                        type: string
                      value: {}
                    type: object
                  type: array
                pdfs:
                  description: >-
                    PDFs generated, in the same order as the pdf actions
                    provided.
                  items:
                    type: string
                  type: array
                scrapes:
                  description: >-
                    Scrape contents, in the same order as the scrape actions
                    provided.
                  items:
                    properties:
                      html:
                        type: string
                      url:
                        type: string
                    type: object
                  type: array
                screenshots:
                  description: >-
                    Screenshot URLs, in the same order as the screenshot actions
                    provided.
                  items:
                    format: url
                    type: string
                  type: array
              type:
                - object
                - 'null'
            answer:
              description: >-
                Natural-language answer to the question supplied via the
                `question` format. Only present if a `question` format object
                was included in `formats`.
              type:
                - string
                - 'null'
            attributes:
              description: >-
                Attribute values extracted by the `attributes` format. Only
                present if an `attributes` format object was included in
                `formats`.
              items:
                properties:
                  attribute:
                    type: string
                  selector:
                    type: string
                  values:
                    items:
                      type: string
                    type: array
                type: object
              type: array
            audio:
              description: >-
                Signed URL to the extracted MP3 audio file if `audio` is in
                `formats`. The signed URL expires after 1 hour.
              type:
                - string
                - 'null'
            blocks:
              description: >-
                Per-page typed layout blocks for PDFs. Present only when the
                request set the `blocks` PDF parser option.
              items:
                properties:
                  height:
                    description: >-
                      Page render height in px. Null for pages that never
                      rendered.
                    type:
                      - number
                      - 'null'
                  items:
                    items:
                      properties:
                        bbox:
                          description: >-
                            [x0, y0, x1, y1] normalized 0-1 relative to the page
                            width/height. Multiply by the page width/height to
                            get pixel coordinates. Null when the page has no
                            known dimensions.
                          items:
                            type: number
                          maxItems: 4
                          minItems: 4
                          type:
                            - array
                            - 'null'
                        confidence:
                          properties:
                            layout:
                              description: >-
                                Layout-model detection score (0-1). Null when
                                the page bypassed layout analysis.
                              type:
                                - number
                                - 'null'
                            ocr:
                              description: >-
                                Text confidence when the source path provides
                                one; null otherwise.
                              type:
                                - number
                                - 'null'
                          type: object
                        content:
                          description: >-
                            Markdown fragment this block contributed to the
                            document markdown.
                          type: string
                        id:
                          description: >-
                            Stable within a response: p<page>.b<index in reading
                            order>.
                          type: string
                        label:
                          description: >-
                            Raw layout-model label, passthrough for forward
                            compatibility.
                          type:
                            - string
                            - 'null'
                        markdownSpan:
                          description: >-
                            [start, end) character offsets into the document
                            markdown covering this block's fragment. Null when a
                            post-processing transform rewrote the fragment.
                          items:
                            type: integer
                          maxItems: 2
                          minItems: 2
                          type:
                            - array
                            - 'null'
                        readingOrder:
                          type: integer
                        source:
                          description: >-
                            Pipeline path that produced the block (for example
                            native_text, layout_ocr, tsr, formula_model,
                            full_page).
                          type:
                            - string
                            - 'null'
                        type:
                          description: >-
                            Block type: title, section_header, text, table,
                            formula, figure, caption, page_number, page_header,
                            page_footer. New types may appear over time.
                          type: string
                      type: object
                    type: array
                  pageNumber:
                    description: 1-based physical PDF page number.
                    type: integer
                  status:
                    description: 'Page-level rollup: ok | partial | failed.'
                    type: string
                  width:
                    description: >-
                      Page render width in px — the anchor for denormalizing
                      bbox coordinates. Null for pages that never rendered.
                    type:
                      - number
                      - 'null'
                type: object
              type:
                - array
                - 'null'
            branding:
              description: >-
                Branding information extracted from the page if `branding` is in
                `formats`. Includes colors, fonts, typography, spacing,
                components, and more.
              properties:
                animations:
                  description: Animation and transition settings.
                  type:
                    - object
                    - 'null'
                colorScheme:
                  description: The detected color scheme of the page.
                  enum:
                    - light
                    - dark
                  type: string
                colors:
                  description: Brand colors extracted from the page.
                  properties:
                    accent:
                      description: Accent color (hex).
                      type: string
                    background:
                      description: Background color (hex).
                      type: string
                    error:
                      description: Error/danger color (hex).
                      type: string
                    link:
                      description: Link color (hex).
                      type: string
                    primary:
                      description: Primary brand color (hex).
                      type: string
                    secondary:
                      description: Secondary brand color (hex).
                      type: string
                    success:
                      description: Success/positive color (hex).
                      type: string
                    textPrimary:
                      description: Primary text color (hex).
                      type: string
                    textSecondary:
                      description: Secondary text color (hex).
                      type: string
                    warning:
                      description: Warning color (hex).
                      type: string
                  type:
                    - object
                    - 'null'
                components:
                  description: UI component styles.
                  properties:
                    buttonPrimary:
                      description: Primary button styles.
                      properties:
                        background:
                          type: string
                        borderRadius:
                          type: string
                        textColor:
                          type: string
                      type: object
                    buttonSecondary:
                      description: Secondary button styles.
                      properties:
                        background:
                          type: string
                        borderColor:
                          type: string
                        borderRadius:
                          type: string
                        textColor:
                          type: string
                      type: object
                    input:
                      description: Input field styles.
                      type: object
                  type:
                    - object
                    - 'null'
                fonts:
                  description: Array of font families used on the page.
                  items:
                    properties:
                      family:
                        description: Font family name.
                        type: string
                    type: object
                  type:
                    - array
                    - 'null'
                icons:
                  description: Icon style information.
                  type:
                    - object
                    - 'null'
                images:
                  description: Brand images.
                  properties:
                    favicon:
                      description: Favicon URL.
                      type: string
                    logo:
                      description: Logo image URL.
                      type: string
                    ogImage:
                      description: Open Graph image URL.
                      type: string
                  type:
                    - object
                    - 'null'
                layout:
                  description: Layout configuration (grid, header/footer heights).
                  type:
                    - object
                    - 'null'
                logo:
                  description: URL of the primary logo.
                  type:
                    - string
                    - 'null'
                personality:
                  description: Brand personality traits (tone, energy, target audience).
                  type:
                    - object
                    - 'null'
                spacing:
                  description: Spacing and layout information.
                  properties:
                    baseUnit:
                      description: Base spacing unit in pixels.
                      type: integer
                    borderRadius:
                      description: Default border radius.
                      type: string
                    margins:
                      description: Margin values.
                      type: object
                    padding:
                      description: Padding values.
                      type: object
                  type:
                    - object
                    - 'null'
                typography:
                  description: Detailed typography information.
                  properties:
                    fontFamilies:
                      description: Font families by role.
                      properties:
                        code:
                          description: Code/monospace font family.
                          type: string
                        heading:
                          description: Heading font family.
                          type: string
                        primary:
                          description: Primary font family.
                          type: string
                      type: object
                    fontSizes:
                      description: Font sizes for different text levels.
                      properties:
                        body:
                          type: string
                        h1:
                          type: string
                        h2:
                          type: string
                        h3:
                          type: string
                      type: object
                    fontWeights:
                      description: Font weight definitions.
                      properties:
                        bold:
                          type: integer
                        light:
                          type: integer
                        medium:
                          type: integer
                        regular:
                          type: integer
                      type: object
                    lineHeights:
                      description: Line height values for different text types.
                      properties:
                        body:
                          type: string
                        heading:
                          type: string
                      type: object
                  type:
                    - object
                    - 'null'
              type:
                - object
                - 'null'
            changeTracking:
              description: >-
                Change tracking information if `changeTracking` is in `formats`.
                Only present when the `changeTracking` format is requested.
              properties:
                changeStatus:
                  description: >-
                    The result of the comparison between the two page versions.
                    'new' means this page did not exist before, 'same' means
                    content has not changed, 'changed' means content has
                    changed, 'removed' means the page was removed.
                  enum:
                    - new
                    - same
                    - changed
                    - removed
                  type: string
                diff:
                  description: >-
                    Git-style diff of changes when using 'git-diff' mode. Only
                    present when the mode is set to 'git-diff'.
                  type:
                    - string
                    - 'null'
                json:
                  description: >-
                    JSON comparison results when using 'json' mode. Only present
                    when the mode is set to 'json'. This will emit a list of all
                    the keys and their values from the `previous` and `current`
                    scrapes based on the type defined in the `schema`. Example
                    [here](/features/change-tracking)
                  type:
                    - object
                    - 'null'
                previousScrapeAt:
                  description: >-
                    The timestamp of the previous scrape that the current page
                    is being compared against. Null if no previous scrape
                    exists.
                  format: date-time
                  type:
                    - string
                    - 'null'
                visibility:
                  description: >-
                    The visibility of the current page/URL. 'visible' means the
                    URL was discovered through an organic route (links or
                    sitemap), 'hidden' means the URL was discovered through
                    memory from previous crawls.
                  enum:
                    - visible
                    - hidden
                  type: string
              type:
                - object
                - 'null'
            highlights:
              description: >-
                Relevant source text selected by the `highlights` format. Only
                present if a `highlights` format object was included in
                `formats`.
              type:
                - string
                - 'null'
            html:
              description: >-
                Cleaned HTML of the page if `html` is in `formats`. Removes
                `<script>`, `<style>`, `<noscript>`, `<meta>`, and `<head>`
                tags; converts relative URLs to absolute; resolves responsive
                image `srcset` to the largest version. Respects
                `onlyMainContent`, `includeTags`, and `excludeTags` filters.
              type:
                - string
                - 'null'
            links:
              description: List of links on the page if `links` is in `formats`
              items:
                type: string
              type: array
            markdown:
              type: string
            menu:
              description: >-
                Menu information extracted from the page if `menu` is in
                `formats`. Includes the merchant, currency, and a list of
                sections, where each section carries items with description,
                images, price, availability, dietary tags, calories, and option
                groups.
              properties:
                confidence:
                  description: A confidence score between 0 and 1 for the menu extraction.
                  type: number
                currency:
                  description: >-
                    The ISO 4217 currency code for the menu (e.g. 'USD'),
                    reported only when the page sources it.
                  type: string
                isMenu:
                  description: Whether the page was identified as a menu.
                  type: boolean
                merchant:
                  description: The merchant the menu belongs to.
                  properties:
                    name:
                      description: The merchant name.
                      type: string
                    type:
                      description: The merchant type (e.g. 'restaurant').
                      type: string
                  required:
                    - name
                  type: object
                sections:
                  description: Menu sections (e.g. 'Appetizers', 'Entrees').
                  items:
                    properties:
                      description:
                        description: The section description.
                        type:
                          - string
                          - 'null'
                      id:
                        description: The section identifier.
                        type: string
                      items:
                        description: The items in the section.
                        items:
                          properties:
                            availability:
                              description: The availability of the item.
                              properties:
                                inStock:
                                  description: Whether the item is available.
                                  type: boolean
                                text:
                                  description: Human-readable availability text.
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - inStock
                              type: object
                            calories:
                              description: The item's calorie count.
                              type:
                                - number
                                - 'null'
                            description:
                              description: The item description.
                              type:
                                - string
                                - 'null'
                            dietary:
                              description: Dietary tags for the item (e.g. ['vegetarian']).
                              items:
                                type: string
                              type: array
                            id:
                              description: The item identifier.
                              type: string
                            identifiers:
                              description: Merchant-specific identifiers for the item.
                              properties:
                                merchantItemId:
                                  description: The merchant's own item ID.
                                  type: string
                              type: object
                            images:
                              description: Item images.
                              items:
                                properties:
                                  alt:
                                    description: Alternative text for the image.
                                    type:
                                      - string
                                      - 'null'
                                  url:
                                    description: Image URL.
                                    type: string
                                required:
                                  - url
                                type: object
                              type: array
                            name:
                              description: The item name.
                              type: string
                            optionGroups:
                              description: Option/modifier groups for the item.
                              items:
                                type: object
                              type: array
                            price:
                              description: The price of the item.
                              properties:
                                amount:
                                  description: The numeric price amount.
                                  type: number
                                currency:
                                  description: The ISO 4217 currency code (e.g. 'USD').
                                  type: string
                                formatted:
                                  description: >-
                                    The price formatted for display (e.g.
                                    '$7.99').
                                  type: string
                              required:
                                - amount
                              type: object
                            sourceUrl:
                              description: The URL the item was extracted from.
                              type:
                                - string
                                - 'null'
                            url:
                              description: The canonical URL of the item.
                              type:
                                - string
                                - 'null'
                          required:
                            - name
                          type: object
                        type: array
                      name:
                        description: The section name.
                        type: string
                    required:
                      - name
                      - items
                    type: object
                  type: array
                sourceUrl:
                  description: The URL the menu was extracted from.
                  type:
                    - string
                    - 'null'
              required:
                - isMenu
                - sections
              type:
                - object
                - 'null'
            metadata:
              properties:
                '<any other metadata> ':
                  description: >-
                    Other metadata extracted from HTML, can be a string or array
                    of strings
                  oneOf:
                    - type: string
                    - items:
                        type: string
                      type: array
                concurrencyLimited:
                  description: >-
                    Whether this scrape was throttled due to team concurrency
                    limits
                  type: boolean
                concurrencyQueueDurationMs:
                  description: >-
                    Time in milliseconds the request waited in the concurrency
                    queue. Only present when concurrencyLimited is true.
                  type: number
                contentType:
                  description: >-
                    The content type (MIME type) of the page, e.g. text/html,
                    application/pdf
                  type: string
                description:
                  description: >-
                    Description extracted from the page, can be a string or
                    array of strings
                  oneOf:
                    - type: string
                    - items:
                        type: string
                      type: array
                error:
                  description: The error message of the page
                  type:
                    - string
                    - 'null'
                keywords:
                  description: >-
                    Keywords extracted from the page, can be a string or array
                    of strings
                  oneOf:
                    - type: string
                    - items:
                        type: string
                      type: array
                language:
                  anyOf:
                    - type:
                        - string
                        - 'null'
                    - items:
                        type: string
                      type:
                        - array
                        - 'null'
                  description: >-
                    Language extracted from the page, can be a string or array
                    of strings
                numPages:
                  description: >-
                    For PDF inputs, the number of pages parsed (capped by the
                    parsers maxPages option).
                  type: integer
                ogLocaleAlternate:
                  description: Alternative locales for the page
                  items:
                    type: string
                  type: array
                provider:
                  description: Set when a third-party data provider served the URL.
                  properties:
                    creditsCost:
                      description: What that access cost, in credits.
                      type: integer
                    id:
                      description: The provider that returned the data.
                      type: string
                    steps:
                      description: Each provider tried, in order.
                      items:
                        properties:
                          creditsCost:
                            type: integer
                          provider:
                            type: string
                          status:
                            enum:
                              - matched
                              - not_found
                              - error
                            type: string
                        type: object
                      type: array
                  type: object
                sourceURL:
                  description: >-
                    The original URL that was requested. May differ from the
                    page's final URL if redirects occurred.
                  format: uri
                  type: string
                statusCode:
                  description: The status code of the page
                  type: integer
                title:
                  description: >-
                    Title extracted from the page, can be a string or array of
                    strings
                  oneOf:
                    - type: string
                    - items:
                        type: string
                      type: array
                totalPages:
                  description: >-
                    For PDF inputs, the document's true page count before any
                    maxPages capping. Omitted when it cannot be determined; a
                    totalPages greater than numPages indicates the result was
                    truncated.
                  type: integer
                url:
                  description: >-
                    The final URL of the page after all redirects have been
                    followed.
                  format: uri
                  type: string
              type: object
            pages:
              description: >-
                Physical per-page markdown for PDFs. Present only when the
                request set the `pages` PDF parser option.
              items:
                properties:
                  markdown:
                    type: string
                  pageNumber:
                    description: 1-based physical PDF page number.
                    type: integer
                type: object
              type:
                - array
                - 'null'
            product:
              description: >-
                Product information extracted from the page if `product` is in
                `formats`. Includes title, brand, category, description, and
                variants. Pricing, availability, and images live on each
                variant.
              properties:
                brand:
                  description: The product brand or manufacturer.
                  type: string
                category:
                  description: >-
                    The product category, optionally as a breadcrumb path (e.g.
                    'Electronics > Audio > Headphones').
                  type: string
                description:
                  description: The product description.
                  type: string
                title:
                  description: The product title.
                  type: string
                url:
                  description: The canonical URL of the product page.
                  type: string
                variants:
                  description: Product variants (e.g. different colors or sizes).
                  items:
                    properties:
                      availability:
                        description: >-
                          The availability of the variant. Always present on a
                          variant.
                        properties:
                          inStock:
                            description: Whether the variant is in stock.
                            type: boolean
                          text:
                            description: >-
                              Human-readable availability text (e.g. 'In
                              Stock').
                            type: string
                        required:
                          - inStock
                        type: object
                      id:
                        description: The variant identifier.
                        type: string
                      images:
                        description: Variant images.
                        items:
                          properties:
                            alt:
                              description: Alternative text for the image.
                              type: string
                            url:
                              description: Image URL.
                              type: string
                          required:
                            - url
                          type: object
                        type: array
                      price:
                        description: The current price of the variant.
                        properties:
                          amount:
                            description: The numeric price amount.
                            type: number
                          currency:
                            description: The ISO 4217 currency code (e.g. 'USD').
                            type: string
                          formatted:
                            description: The price formatted for display (e.g. '$199.99').
                            type: string
                        required:
                          - amount
                        type: object
                      sale:
                        description: >-
                          Sale/discount information for the variant, present
                          when the variant is discounted.
                        properties:
                          originalPrice:
                            description: The original (pre-discount) price of the variant.
                            properties:
                              amount:
                                description: The numeric price amount.
                                type: number
                              currency:
                                description: The ISO 4217 currency code (e.g. 'USD').
                                type: string
                              formatted:
                                description: >-
                                  The price formatted for display (e.g.
                                  '$249.99').
                                type: string
                            required:
                              - amount
                            type: object
                        required:
                          - originalPrice
                        type: object
                      sku:
                        description: The variant SKU.
                        type: string
                      title:
                        description: The variant title.
                        type: string
                      values:
                        additionalProperties:
                          type: string
                        description: 'The variant option values (e.g. { "color": "Black" }).'
                        type: object
                    required:
                      - availability
                    type: object
                  type: array
              required:
                - title
                - url
                - variants
              type:
                - object
                - 'null'
            rawBase64:
              description: >-
                The Base64-encoded original HTTP response body if `rawBase64` is
                in `formats`. A bare Base64 string, not a data URI. The MIME
                type is in `metadata.contentType`.
              type:
                - string
                - 'null'
            rawHtml:
              description: >-
                The exact, unmodified HTML as received from the page if
                `rawHtml` is in `formats`. No cleaning or filtering is applied.
              type:
                - string
                - 'null'
            screenshot:
              description: >-
                Screenshot of the page if `screenshot` is in `formats`.
                Screenshots expire after 24 hours and can no longer be
                downloaded.
              type:
                - string
                - 'null'
            summary:
              description: Summary of the page if `summary` is in `formats`
              type:
                - string
                - 'null'
            tools:
              description: >-
                Tool contracts matched to the scraped page's domain. Present
                only when `domainTools` is `true` on the request. Requires
                Alexandria access and no zero data retention (403 otherwise);
                free.
              items:
                $ref: '#/components/schemas/Response1Ca01236E821_DiscoveredTool'
              type:
                - array
                - 'null'
            video:
              description: >-
                Signed URL to the extracted video file if `video` is in
                `formats`. The signed URL expires after 1 hour.
              type:
                - string
                - 'null'
            warning:
              description: >-
                Can be displayed when using LLM Extraction. Warning message will
                let you know any issues with the extraction.
              type:
                - string
                - 'null'
          type: object
        success:
          type: boolean
      type: object
    Response1Ca01236E821_DiscoveredTool:
      additionalProperties: true
      description: >-
        A catalogued provider tool discovered via Alexandria, semantic search,
        or domain matching. The `toolDetail` request parameter sets which fields
        appear: `compact` returns only `provider`, `capability`, and
        `description`; `summary` adds the other fields except `options` and
        `response`; `full` also adds `options`, `response`, and `examples`.
      properties:
        capability:
          description: The provider-relative capability.
          type: string
        creditsCost:
          description: >-
            Credits charged per execution of this tool. Omitted when
            `toolDetail` is `compact`.
          minimum: 0
          type: integer
        description:
          description: Human-readable description of what the tool does.
          type: string
        id:
          description: >-
            The tool's identifier, formatted as `provider/capability`. Omitted
            when `toolDetail` is `compact`.
          type: string
        matchedBy:
          description: Why this tool was surfaced. Omitted when `toolDetail` is `compact`.
          items:
            enum:
              - semantic
              - domain
            type: string
          type: array
        matchedUrls:
          description: >-
            URLs whose domain matched this tool, when matched by domain. Omitted
            when `toolDetail` is `compact`.
          items:
            type: string
          type: array
        name:
          description: >-
            Human-readable name of the tool. Omitted when `toolDetail` is
            `compact`.
          type: string
        options:
          description: >-
            The capability's accepted options. Present only when `toolDetail` is
            `full`.
          items:
            additionalProperties: true
            properties:
              name:
                description: The option name.
                type: string
              type:
                description: The option's data type.
                type: string
            type: object
          type: array
        perRecord:
          description: >-
            Whether `creditsCost` is charged per record returned rather than per
            call. Omitted when `toolDetail` is `compact`.
          type: boolean
        provider:
          description: The catalogued provider.
          type: string
        response:
          additionalProperties: true
          description: >-
            Description of the shape of a successful response's `data`. Present
            only when `toolDetail` is `full`.
          properties:
            about:
              description: Human-readable description of the response payload.
              type: string
            fields:
              description: The response's documented fields.
              items:
                additionalProperties: true
                type: object
              type: array
            key:
              description: >-
                The key under which the primary payload is returned, when
                applicable.
              type: string
          type: object
      required:
        - provider
        - capability
        - description
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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