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

# Amazon: Get listing keywords

> Retrieve keywords associated with an Amazon listing.

### Pagination
A full page returns a next_cursor to probe the next page, which may be empty. A successful empty page ends pagination.

### Data and provenance
By default, each value includes value and source. Shared collection time, license, origin, and value_type are grouped in meta.sources. Use provenance=full for complete per-value provenance. Requested fields not delivered by a source are listed in missing with a reason.

<!-- aisa-pricing:start -->
A request reference price is not currently available; use a request quote where supported. Account-specific pricing and final settlement may differ.
<!-- aisa-pricing:end -->

## Request contract

* **Method and path:** GET /apis/v1/commerce/amazon/listings/\{country}/\{listing\_id}/keywords
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/commerce/amazon/listings/{country}/{listing_id}/keywords`
* **country:** path; required
* **listing\_id:** path; required
* **q:** query; optional
* **language:** query; required
* **cursor:** query; optional
* **page\_size:** query; optional
* **period:** query; optional
* **date:** query; optional
* **keyword\_flags:** query; optional
* **sort\_by:** query; optional
* **sort\_order:** query; optional
* **fields:** query; optional
* **provenance:** query; optional
* **Runtime facts:** e4ea23246d148272326d4d18f79f43b8fa99cd58edd96f4f3759a860c1c99cf8

[Complete OpenAPI definition](https://aisa.one/docs/reference-contracts/aisa-commerce.json)

Effective request and pricing declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "get_aisa_commerce_apis_v1_commerce_amazon_listing_1d6e15",
  "method": "GET",
  "path": "/apis/v1/commerce/amazon/listings/{country}/{listing_id}/keywords",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Marketplace country as an uppercase ISO 3166-1 alpha-2 code (GB, not UK). See the enum for supported countries.",
      "in": "path",
      "name": "country",
      "required": true,
      "schema": {
        "description": "Marketplace country as an uppercase ISO 3166-1 alpha-2 code (GB, not UK). See the enum for supported countries.",
        "enum": [
          "AE",
          "AU",
          "BR",
          "CA",
          "DE",
          "ES",
          "FR",
          "GB",
          "IT",
          "JP",
          "MX",
          "SA",
          "US"
        ],
        "type": [
          "string",
          "null"
        ]
      }
    },
    {
      "description": "Native product ID on the platform.",
      "in": "path",
      "name": "listing_id",
      "required": true,
      "schema": {
        "description": "Native product ID on the platform.",
        "type": [
          "string",
          "null"
        ]
      }
    },
    {
      "description": "Search keywords.",
      "in": "query",
      "name": "q",
      "required": false,
      "schema": {
        "description": "Search keywords.",
        "type": [
          "string",
          "null"
        ]
      }
    },
    {
      "description": "Result language as a BCP 47 tag, such as en, en-US, or zh-Hans.",
      "in": "query",
      "name": "language",
      "required": true,
      "schema": {
        "description": "Result language as a BCP 47 tag, such as en, en-US, or zh-Hans.",
        "type": [
          "string",
          "null"
        ]
      }
    },
    {
      "description": "Pass the previous response's next_cursor unchanged. Omit for the first page. A null next_cursor indicates the end of pagination.",
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
        "description": "Pass the previous response's next_cursor unchanged. Omit for the first page. A null next_cursor indicates the end of pagination.",
        "type": [
          "string",
          "null"
        ]
      }
    },
    {
      "description": "Number of items per page. Use an unpadded decimal integer from 10 to 100; omit for the default 20.",
      "in": "query",
      "name": "page_size",
      "required": false,
      "schema": {
        "default": "20",
        "description": "Number of items per page. Use an unpadded decimal integer from 10 to 100; omit for the default 20.",
        "pattern": "^(?:[1-9][0-9]|100)$",
        "type": [
          "string",
          "null"
        ]
      }
    },
    {
      "description": "Reporting window. 1d, 7d, 30d, and 90d are rolling windows ending at the latest update; calendar_month and calendar_week select the calendar period identified by date. See the enum for supported values. Defaults to the last 7 days.",
      "in": "query",
      "name": "period",
      "required": false,
      "schema": {
        "description": "Reporting window. 1d, 7d, 30d, and 90d are rolling windows ending at the latest update; calendar_month and calendar_week select the calendar period identified by date. See the enum for supported values. Defaults to the last 7 days.",
        "enum": [
          "30d",
          "7d",
          "calendar_month",
          "calendar_week"
        ],
        "type": [
          "string",
          "null"
        ]
      }
    },
    {
      "description": "Date identifying a calendar period, in YYYY-MM-DD format. See operation-specific notes for the required day of the week or month. For calendar_month, use YYYY-MM or any date in the month; for calendar_week, use the start date of that week. Omit date for 7d and 30d.",
      "in": "query",
      "name": "date",
      "required": false,
      "schema": {
        "description": "Date identifying a calendar period, in YYYY-MM-DD format. See operation-specific notes for the required day of the week or month. For calendar_month, use YYYY-MM or any date in the month; for calendar_week, use the start date of that week. Omit date for 7d and 30d.",
        "format": "date",
        "type": [
          "string",
          "null"
        ]
      }
    },
    {
      "description": "Comma-separated keyword flags; results must match all supplied flags. organic: organic ranking; sponsored_product_ad: sponsored product ad; sponsored_brand_ad: brand ad; sponsored_video_ad: video ad; amazons_choice: Amazon's Choice keyword; precise: precise keyword; precise_long_tail: precise long-tail keyword; purchase: purchase keyword; quality: quality keyword; stable: stable keyword; lost: lost keyword; invalid: invalid keyword; multi_variant: multiple variants; search_volume_up/search_volume_down: increasing/decreasing search volume. These labels reflect the source's classifications.",
      "explode": false,
      "in": "query",
      "name": "keyword_flags",
      "required": false,
      "schema": {
        "description": "Comma-separated keyword flags; results must match all supplied flags. organic: organic ranking; sponsored_product_ad: sponsored product ad; sponsored_brand_ad: brand ad; sponsored_video_ad: video ad; amazons_choice: Amazon's Choice keyword; precise: precise keyword; precise_long_tail: precise long-tail keyword; purchase: purchase keyword; quality: quality keyword; stable: stable keyword; lost: lost keyword; invalid: invalid keyword; multi_variant: multiple variants; search_volume_up/search_volume_down: increasing/decreasing search volume. These labels reflect the source's classifications.",
        "items": {
          "enum": [
            "amazons_choice",
            "invalid",
            "lost",
            "multi_variant",
            "organic",
            "precise",
            "precise_long_tail",
            "purchase",
            "quality",
            "search_volume_down",
            "search_volume_up",
            "sponsored_brand_ad",
            "sponsored_product_ad",
            "sponsored_video_ad",
            "stable"
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "type": [
          "array",
          "null"
        ]
      },
      "style": "form"
    },
    {
      "description": "Sort key. Usually an output field name; operation-specific notes explain keys that do not correspond to an output field. organic_rank and ad_rank correspond to output fields. estimated_search_volume sorts by estimated volume within the window; search_rank by keyword popularity rank; updated_at by the source row update time. The latter three have no same-named output fields.",
      "in": "query",
      "name": "sort_by",
      "required": false,
      "schema": {
        "description": "Sort key. Usually an output field name; operation-specific notes explain keys that do not correspond to an output field. organic_rank and ad_rank correspond to output fields. estimated_search_volume sorts by estimated volume within the window; search_rank by keyword popularity rank; updated_at by the source row update time. The latter three have no same-named output fields.",
        "enum": [
          "ad_rank",
          "estimated_search_volume",
          "organic_rank",
          "search_rank",
          "updated_at"
        ],
        "type": [
          "string",
          "null"
        ]
      }
    },
    {
      "description": "Sort direction: asc or desc. Requires sort_by.",
      "in": "query",
      "name": "sort_order",
      "required": false,
      "schema": {
        "description": "Sort direction: asc or desc. Requires sort_by.",
        "enum": [
          "asc",
          "desc"
        ],
        "type": [
          "string",
          "null"
        ]
      }
    },
    {
      "description": "Comma-separated business field paths to return. Omit to use this operation's default field selection. The enum includes all fields of the shared item type. Some are populated only by other operations on the same platform; selecting them here does not supply missing data. Field selection trims output only and does not reduce source calls or charges.",
      "explode": false,
      "in": "query",
      "name": "fields",
      "required": false,
      "schema": {
        "description": "Comma-separated business field paths to return. Omit to use this operation's default field selection. The enum includes all fields of the shared item type. Some are populated only by other operations on the same platform; selecting them here does not supply missing data. Field selection trims output only and does not reduce source calls or charges.",
        "items": {
          "enum": [
            "ad_rank",
            "competing_products",
            "estimated_search_volume",
            "estimated_search_volume_broad",
            "estimated_search_volume_exact",
            "keyword_popularity_rank",
            "organic_rank",
            "relation.listing_id",
            "relation_type",
            "supply_demand_ratio",
            "title",
            "traffic_share"
          ],
          "type": "string"
        },
        "type": [
          "array",
          "null"
        ]
      },
      "style": "form"
    },
    {
      "description": "compact (default) returns value and source per field. Shared collection time, license, origin, and value_type are grouped in meta.sources; differing values retain their own metadata. full returns complete per-value provenance, including precision and confidence.",
      "in": "query",
      "name": "provenance",
      "required": false,
      "schema": {
        "default": "compact",
        "description": "compact (default) returns value and source per field. Shared collection time, license, origin, and value_type are grouped in meta.sources; differing values retain their own metadata. full returns complete per-value provenance, including precision and confidence.",
        "enum": [
          "compact",
          "full"
        ],
        "type": [
          "string",
          "null"
        ]
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "x-aisa-pricing": {
    "cache_hit_share_bps": 10000,
    "customer_micros_usd": 50000,
    "customer_pricing_ref": "commerce.amazon.listing_keywords.query.v1.pricing@1",
    "description": "Charged once per delivered read: an entity with at least one requested field, or one page of a result set. A read that delivers nothing is not charged. A read answered from stored values is charged the cache-hit share of the price. Variants are priced by the route parameters they fix.",
    "kind": "fixed_request"
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

A request reference price is not currently available; use a request quote where supported. Account-specific pricing and final settlement may differ.

Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.


## OpenAPI

````yaml reference-contracts/aisa-commerce.json GET /apis/v1/commerce/amazon/listings/{country}/{listing_id}/keywords
openapi: 3.1.0
info:
  description: ''
  title: AIsa commerce
  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-configured-paths: []
  x-aisa-document:
    facts_hash: e4ea23246d148272326d4d18f79f43b8fa99cd58edd96f4f3759a860c1c99cf8
    generator_version: '3'
    protocol_version: '1'
    schema_version: '1'
    composer_version: '27'
    response_pending: []
    document_hash: sha256:d613c2f34a6d7f2b6fe218d384f60674caa24284ef502a3778d3fb4c04d755a3
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: aisa-commerce
  x-aisa-catalogs:
    aisa-commerce:
      title: AIsa commerce
      description: ''
      x-aisa-document:
        facts_hash: e4ea23246d148272326d4d18f79f43b8fa99cd58edd96f4f3759a860c1c99cf8
        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-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/commerce/amazon/listings/{country}/{listing_id}/keywords:
    get:
      summary: 'Amazon: Get listing keywords'
      description: >-
        Retrieve keywords associated with an Amazon listing.


        ### Pagination

        A full page returns a next_cursor to probe the next page, which may be
        empty. A successful empty page ends pagination.


        ### Data and provenance

        By default, each value includes value and source. Shared collection
        time, license, origin, and value_type are grouped in meta.sources. Use
        provenance=full for complete per-value provenance. Requested fields not
        delivered by a source are listed in missing with a reason.


        <!-- aisa-pricing:start -->

        A request reference price is not currently available; use a request
        quote where supported. Account-specific pricing and final settlement may
        differ.

        <!-- aisa-pricing:end -->
      operationId: get_aisa_commerce_apis_v1_commerce_amazon_listing_1d6e15
      parameters:
        - description: >-
            Marketplace country as an uppercase ISO 3166-1 alpha-2 code (GB, not
            UK). See the enum for supported countries.
          in: path
          name: country
          required: true
          schema:
            description: >-
              Marketplace country as an uppercase ISO 3166-1 alpha-2 code (GB,
              not UK). See the enum for supported countries.
            enum:
              - AE
              - AU
              - BR
              - CA
              - DE
              - ES
              - FR
              - GB
              - IT
              - JP
              - MX
              - SA
              - US
            type:
              - string
              - 'null'
        - description: Native product ID on the platform.
          in: path
          name: listing_id
          required: true
          schema:
            description: Native product ID on the platform.
            type:
              - string
              - 'null'
        - description: Search keywords.
          in: query
          name: q
          required: false
          schema:
            description: Search keywords.
            type:
              - string
              - 'null'
        - description: Result language as a BCP 47 tag, such as en, en-US, or zh-Hans.
          in: query
          name: language
          required: true
          schema:
            description: Result language as a BCP 47 tag, such as en, en-US, or zh-Hans.
            type:
              - string
              - 'null'
        - description: >-
            Pass the previous response's next_cursor unchanged. Omit for the
            first page. A null next_cursor indicates the end of pagination.
          in: query
          name: cursor
          required: false
          schema:
            description: >-
              Pass the previous response's next_cursor unchanged. Omit for the
              first page. A null next_cursor indicates the end of pagination.
            type:
              - string
              - 'null'
        - description: >-
            Number of items per page. Use an unpadded decimal integer from 10 to
            100; omit for the default 20.
          in: query
          name: page_size
          required: false
          schema:
            default: '20'
            description: >-
              Number of items per page. Use an unpadded decimal integer from 10
              to 100; omit for the default 20.
            pattern: ^(?:[1-9][0-9]|100)$
            type:
              - string
              - 'null'
        - description: >-
            Reporting window. 1d, 7d, 30d, and 90d are rolling windows ending at
            the latest update; calendar_month and calendar_week select the
            calendar period identified by date. See the enum for supported
            values. Defaults to the last 7 days.
          in: query
          name: period
          required: false
          schema:
            description: >-
              Reporting window. 1d, 7d, 30d, and 90d are rolling windows ending
              at the latest update; calendar_month and calendar_week select the
              calendar period identified by date. See the enum for supported
              values. Defaults to the last 7 days.
            enum:
              - 30d
              - 7d
              - calendar_month
              - calendar_week
            type:
              - string
              - 'null'
        - description: >-
            Date identifying a calendar period, in YYYY-MM-DD format. See
            operation-specific notes for the required day of the week or month.
            For calendar_month, use YYYY-MM or any date in the month; for
            calendar_week, use the start date of that week. Omit date for 7d and
            30d.
          in: query
          name: date
          required: false
          schema:
            description: >-
              Date identifying a calendar period, in YYYY-MM-DD format. See
              operation-specific notes for the required day of the week or
              month. For calendar_month, use YYYY-MM or any date in the month;
              for calendar_week, use the start date of that week. Omit date for
              7d and 30d.
            format: date
            type:
              - string
              - 'null'
        - description: >-
            Comma-separated keyword flags; results must match all supplied
            flags. organic: organic ranking; sponsored_product_ad: sponsored
            product ad; sponsored_brand_ad: brand ad; sponsored_video_ad: video
            ad; amazons_choice: Amazon's Choice keyword; precise: precise
            keyword; precise_long_tail: precise long-tail keyword; purchase:
            purchase keyword; quality: quality keyword; stable: stable keyword;
            lost: lost keyword; invalid: invalid keyword; multi_variant:
            multiple variants; search_volume_up/search_volume_down:
            increasing/decreasing search volume. These labels reflect the
            source's classifications.
          explode: false
          in: query
          name: keyword_flags
          required: false
          schema:
            description: >-
              Comma-separated keyword flags; results must match all supplied
              flags. organic: organic ranking; sponsored_product_ad: sponsored
              product ad; sponsored_brand_ad: brand ad; sponsored_video_ad:
              video ad; amazons_choice: Amazon's Choice keyword; precise:
              precise keyword; precise_long_tail: precise long-tail keyword;
              purchase: purchase keyword; quality: quality keyword; stable:
              stable keyword; lost: lost keyword; invalid: invalid keyword;
              multi_variant: multiple variants;
              search_volume_up/search_volume_down: increasing/decreasing search
              volume. These labels reflect the source's classifications.
            items:
              enum:
                - amazons_choice
                - invalid
                - lost
                - multi_variant
                - organic
                - precise
                - precise_long_tail
                - purchase
                - quality
                - search_volume_down
                - search_volume_up
                - sponsored_brand_ad
                - sponsored_product_ad
                - sponsored_video_ad
                - stable
              type:
                - string
                - 'null'
            type:
              - array
              - 'null'
          style: form
        - description: >-
            Sort key. Usually an output field name; operation-specific notes
            explain keys that do not correspond to an output field. organic_rank
            and ad_rank correspond to output fields. estimated_search_volume
            sorts by estimated volume within the window; search_rank by keyword
            popularity rank; updated_at by the source row update time. The
            latter three have no same-named output fields.
          in: query
          name: sort_by
          required: false
          schema:
            description: >-
              Sort key. Usually an output field name; operation-specific notes
              explain keys that do not correspond to an output field.
              organic_rank and ad_rank correspond to output fields.
              estimated_search_volume sorts by estimated volume within the
              window; search_rank by keyword popularity rank; updated_at by the
              source row update time. The latter three have no same-named output
              fields.
            enum:
              - ad_rank
              - estimated_search_volume
              - organic_rank
              - search_rank
              - updated_at
            type:
              - string
              - 'null'
        - description: 'Sort direction: asc or desc. Requires sort_by.'
          in: query
          name: sort_order
          required: false
          schema:
            description: 'Sort direction: asc or desc. Requires sort_by.'
            enum:
              - asc
              - desc
            type:
              - string
              - 'null'
        - description: >-
            Comma-separated business field paths to return. Omit to use this
            operation's default field selection. The enum includes all fields of
            the shared item type. Some are populated only by other operations on
            the same platform; selecting them here does not supply missing data.
            Field selection trims output only and does not reduce source calls
            or charges.
          explode: false
          in: query
          name: fields
          required: false
          schema:
            description: >-
              Comma-separated business field paths to return. Omit to use this
              operation's default field selection. The enum includes all fields
              of the shared item type. Some are populated only by other
              operations on the same platform; selecting them here does not
              supply missing data. Field selection trims output only and does
              not reduce source calls or charges.
            items:
              enum:
                - ad_rank
                - competing_products
                - estimated_search_volume
                - estimated_search_volume_broad
                - estimated_search_volume_exact
                - keyword_popularity_rank
                - organic_rank
                - relation.listing_id
                - relation_type
                - supply_demand_ratio
                - title
                - traffic_share
              type: string
            type:
              - array
              - 'null'
          style: form
        - description: >-
            compact (default) returns value and source per field. Shared
            collection time, license, origin, and value_type are grouped in
            meta.sources; differing values retain their own metadata. full
            returns complete per-value provenance, including precision and
            confidence.
          in: query
          name: provenance
          required: false
          schema:
            default: compact
            description: >-
              compact (default) returns value and source per field. Shared
              collection time, license, origin, and value_type are grouped in
              meta.sources; differing values retain their own metadata. full
              returns complete per-value provenance, including precision and
              confidence.
            enum:
              - compact
              - full
            type:
              - string
              - 'null'
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  items:
                    items:
                      properties:
                        fields:
                          properties:
                            ad_rank:
                              properties:
                                confidence:
                                  type:
                                    - number
                                    - 'null'
                                dims:
                                  additionalProperties:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - object
                                    - 'null'
                                fetched_at:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                license:
                                  type:
                                    - string
                                    - 'null'
                                metric:
                                  type:
                                    - string
                                    - 'null'
                                origin:
                                  type:
                                    - string
                                    - 'null'
                                period_end:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                period_start:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                precision:
                                  type:
                                    - string
                                    - 'null'
                                source:
                                  type:
                                    - string
                                    - 'null'
                                sources:
                                  items:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - array
                                    - 'null'
                                value: {}
                                value_type:
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  type:
                                    - boolean
                                    - 'null'
                              type:
                                - object
                                - 'null'
                            competing_products:
                              properties:
                                confidence:
                                  type:
                                    - number
                                    - 'null'
                                dims:
                                  additionalProperties:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - object
                                    - 'null'
                                fetched_at:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                license:
                                  type:
                                    - string
                                    - 'null'
                                metric:
                                  type:
                                    - string
                                    - 'null'
                                origin:
                                  type:
                                    - string
                                    - 'null'
                                period_end:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                period_start:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                precision:
                                  type:
                                    - string
                                    - 'null'
                                source:
                                  type:
                                    - string
                                    - 'null'
                                sources:
                                  items:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - array
                                    - 'null'
                                value: {}
                                value_type:
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  type:
                                    - boolean
                                    - 'null'
                              type:
                                - object
                                - 'null'
                            estimated_search_volume:
                              properties:
                                confidence:
                                  type:
                                    - number
                                    - 'null'
                                dims:
                                  additionalProperties:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - object
                                    - 'null'
                                fetched_at:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                license:
                                  type:
                                    - string
                                    - 'null'
                                metric:
                                  type:
                                    - string
                                    - 'null'
                                origin:
                                  type:
                                    - string
                                    - 'null'
                                period_end:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                period_start:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                precision:
                                  type:
                                    - string
                                    - 'null'
                                source:
                                  type:
                                    - string
                                    - 'null'
                                sources:
                                  items:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - array
                                    - 'null'
                                value: {}
                                value_type:
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  type:
                                    - boolean
                                    - 'null'
                              type:
                                - object
                                - 'null'
                            estimated_search_volume_broad:
                              properties:
                                confidence:
                                  type:
                                    - number
                                    - 'null'
                                dims:
                                  additionalProperties:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - object
                                    - 'null'
                                fetched_at:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                license:
                                  type:
                                    - string
                                    - 'null'
                                metric:
                                  type:
                                    - string
                                    - 'null'
                                origin:
                                  type:
                                    - string
                                    - 'null'
                                period_end:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                period_start:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                precision:
                                  type:
                                    - string
                                    - 'null'
                                source:
                                  type:
                                    - string
                                    - 'null'
                                sources:
                                  items:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - array
                                    - 'null'
                                value: {}
                                value_type:
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  type:
                                    - boolean
                                    - 'null'
                              type:
                                - object
                                - 'null'
                            estimated_search_volume_exact:
                              properties:
                                confidence:
                                  type:
                                    - number
                                    - 'null'
                                dims:
                                  additionalProperties:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - object
                                    - 'null'
                                fetched_at:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                license:
                                  type:
                                    - string
                                    - 'null'
                                metric:
                                  type:
                                    - string
                                    - 'null'
                                origin:
                                  type:
                                    - string
                                    - 'null'
                                period_end:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                period_start:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                precision:
                                  type:
                                    - string
                                    - 'null'
                                source:
                                  type:
                                    - string
                                    - 'null'
                                sources:
                                  items:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - array
                                    - 'null'
                                value: {}
                                value_type:
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  type:
                                    - boolean
                                    - 'null'
                              type:
                                - object
                                - 'null'
                            keyword_popularity_rank:
                              properties:
                                confidence:
                                  type:
                                    - number
                                    - 'null'
                                dims:
                                  additionalProperties:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - object
                                    - 'null'
                                fetched_at:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                license:
                                  type:
                                    - string
                                    - 'null'
                                metric:
                                  type:
                                    - string
                                    - 'null'
                                origin:
                                  type:
                                    - string
                                    - 'null'
                                period_end:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                period_start:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                precision:
                                  type:
                                    - string
                                    - 'null'
                                source:
                                  type:
                                    - string
                                    - 'null'
                                sources:
                                  items:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - array
                                    - 'null'
                                value: {}
                                value_type:
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  type:
                                    - boolean
                                    - 'null'
                              type:
                                - object
                                - 'null'
                            organic_rank:
                              properties:
                                confidence:
                                  type:
                                    - number
                                    - 'null'
                                dims:
                                  additionalProperties:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - object
                                    - 'null'
                                fetched_at:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                license:
                                  type:
                                    - string
                                    - 'null'
                                metric:
                                  type:
                                    - string
                                    - 'null'
                                origin:
                                  type:
                                    - string
                                    - 'null'
                                period_end:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                period_start:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                precision:
                                  type:
                                    - string
                                    - 'null'
                                source:
                                  type:
                                    - string
                                    - 'null'
                                sources:
                                  items:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - array
                                    - 'null'
                                value: {}
                                value_type:
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  type:
                                    - boolean
                                    - 'null'
                              type:
                                - object
                                - 'null'
                            relation:
                              properties:
                                listing_id:
                                  properties:
                                    confidence:
                                      type:
                                        - number
                                        - 'null'
                                    dims:
                                      additionalProperties:
                                        type:
                                          - string
                                          - 'null'
                                      type:
                                        - object
                                        - 'null'
                                    fetched_at:
                                      format: date-time
                                      type:
                                        - string
                                        - 'null'
                                    license:
                                      type:
                                        - string
                                        - 'null'
                                    metric:
                                      type:
                                        - string
                                        - 'null'
                                    origin:
                                      type:
                                        - string
                                        - 'null'
                                    period_end:
                                      format: date-time
                                      type:
                                        - string
                                        - 'null'
                                    period_start:
                                      format: date-time
                                      type:
                                        - string
                                        - 'null'
                                    precision:
                                      type:
                                        - string
                                        - 'null'
                                    source:
                                      type:
                                        - string
                                        - 'null'
                                    sources:
                                      items:
                                        type:
                                          - string
                                          - 'null'
                                      type:
                                        - array
                                        - 'null'
                                    value: {}
                                    value_type:
                                      type:
                                        - string
                                        - 'null'
                                    verified:
                                      type:
                                        - boolean
                                        - 'null'
                                  type:
                                    - object
                                    - 'null'
                              type:
                                - object
                                - 'null'
                            relation_type:
                              properties:
                                confidence:
                                  type:
                                    - number
                                    - 'null'
                                dims:
                                  additionalProperties:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - object
                                    - 'null'
                                fetched_at:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                license:
                                  type:
                                    - string
                                    - 'null'
                                metric:
                                  type:
                                    - string
                                    - 'null'
                                origin:
                                  type:
                                    - string
                                    - 'null'
                                period_end:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                period_start:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                precision:
                                  type:
                                    - string
                                    - 'null'
                                source:
                                  type:
                                    - string
                                    - 'null'
                                sources:
                                  items:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - array
                                    - 'null'
                                value: {}
                                value_type:
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  type:
                                    - boolean
                                    - 'null'
                              type:
                                - object
                                - 'null'
                            supply_demand_ratio:
                              properties:
                                confidence:
                                  type:
                                    - number
                                    - 'null'
                                dims:
                                  additionalProperties:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - object
                                    - 'null'
                                fetched_at:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                license:
                                  type:
                                    - string
                                    - 'null'
                                metric:
                                  type:
                                    - string
                                    - 'null'
                                origin:
                                  type:
                                    - string
                                    - 'null'
                                period_end:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                period_start:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                precision:
                                  type:
                                    - string
                                    - 'null'
                                source:
                                  type:
                                    - string
                                    - 'null'
                                sources:
                                  items:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - array
                                    - 'null'
                                value: {}
                                value_type:
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  type:
                                    - boolean
                                    - 'null'
                              type:
                                - object
                                - 'null'
                            title:
                              properties:
                                confidence:
                                  type:
                                    - number
                                    - 'null'
                                dims:
                                  additionalProperties:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - object
                                    - 'null'
                                fetched_at:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                license:
                                  type:
                                    - string
                                    - 'null'
                                metric:
                                  type:
                                    - string
                                    - 'null'
                                origin:
                                  type:
                                    - string
                                    - 'null'
                                period_end:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                period_start:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                precision:
                                  type:
                                    - string
                                    - 'null'
                                source:
                                  type:
                                    - string
                                    - 'null'
                                sources:
                                  items:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - array
                                    - 'null'
                                value: {}
                                value_type:
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  type:
                                    - boolean
                                    - 'null'
                              type:
                                - object
                                - 'null'
                            traffic_share:
                              properties:
                                confidence:
                                  type:
                                    - number
                                    - 'null'
                                dims:
                                  additionalProperties:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - object
                                    - 'null'
                                fetched_at:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                license:
                                  type:
                                    - string
                                    - 'null'
                                metric:
                                  type:
                                    - string
                                    - 'null'
                                origin:
                                  type:
                                    - string
                                    - 'null'
                                period_end:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                period_start:
                                  format: date-time
                                  type:
                                    - string
                                    - 'null'
                                precision:
                                  type:
                                    - string
                                    - 'null'
                                source:
                                  type:
                                    - string
                                    - 'null'
                                sources:
                                  items:
                                    type:
                                      - string
                                      - 'null'
                                  type:
                                    - array
                                    - 'null'
                                value: {}
                                value_type:
                                  type:
                                    - string
                                    - 'null'
                                verified:
                                  type:
                                    - boolean
                                    - 'null'
                              type:
                                - object
                                - 'null'
                          type:
                            - object
                            - 'null'
                        key:
                          type:
                            - string
                            - 'null'
                        kind:
                          type:
                            - string
                            - 'null'
                        rank:
                          type:
                            - integer
                            - 'null'
                      type:
                        - object
                        - 'null'
                    type:
                      - array
                      - 'null'
                  meta:
                    properties:
                      notices:
                        items:
                          type:
                            - string
                            - 'null'
                        type:
                          - array
                          - 'null'
                      period:
                        properties:
                          end: {}
                          kind:
                            type:
                              - string
                              - 'null'
                          start: {}
                        type:
                          - object
                          - 'null'
                      sources:
                        additionalProperties:
                          properties:
                            fetched_at:
                              format: date-time
                              type:
                                - string
                                - 'null'
                            license:
                              type:
                                - string
                                - 'null'
                            origin:
                              type:
                                - string
                                - 'null'
                            value_type:
                              type:
                                - string
                                - 'null'
                          type:
                            - object
                            - 'null'
                        type:
                          - object
                          - 'null'
                    type:
                      - object
                      - 'null'
                  missing:
                    items:
                      properties:
                        reason:
                          type:
                            - string
                            - 'null'
                        source:
                          type:
                            - string
                            - 'null'
                      type:
                        - object
                        - 'null'
                    type:
                      - array
                      - 'null'
                  next_cursor:
                    type:
                      - string
                      - 'null'
                type: object
          description: Success
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourcePublicError'
          description: >-
            Authentication failed. Execution-mode gateway errors use a string
            error with top-level code and request_id; cost-quote authentication
            errors use a nested error object whose request_id may be omitted.
            Resource errors use the full nested envelope.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourcePublicError'
          description: >-
            Resource errors use the full nested envelope. Gateway authentication
            errors use the flat execution-mode shape or the nested cost-quote
            shape (request_id is omitted by some quote failures). Use
            X-Request-ID for support correlation.
components:
  schemas:
    ResourcePublicError:
      oneOf:
        - $ref: '#/components/schemas/ResourceError'
        - $ref: '#/components/schemas/GatewayAuthError'
        - $ref: '#/components/schemas/GatewayQuoteError'
    ResourceError:
      properties:
        error:
          properties:
            code:
              type: string
            details:
              items:
                properties:
                  code:
                    type:
                      - string
                      - 'null'
                  field:
                    type:
                      - string
                      - 'null'
                  message:
                    type:
                      - string
                      - 'null'
                type:
                  - object
                  - 'null'
              type:
                - array
                - 'null'
            message:
              type: string
            request_id:
              type: string
            retry_hint:
              type: string
            retryable:
              type: boolean
            type:
              type: string
          required:
            - code
            - type
            - message
            - request_id
            - retryable
            - retry_hint
          type: object
      required:
        - error
      type: object
    GatewayAuthError:
      properties:
        code:
          type: string
        error:
          type: string
        request_id:
          type: string
      required:
        - code
        - error
        - request_id
      type: object
    GatewayQuoteError:
      properties:
        error:
          additionalProperties: false
          properties:
            code:
              type: string
            details:
              type: object
            message:
              type: string
            request_id:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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