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

# Keepa Browsing Deals

> Keepa Browsing Deals. Token usage is settled from the response using the account's immutable rate.

## Request contract

* **Method and path:** POST /apis/v1/keepa/deal
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/keepa/deal`
* **Runtime facts:** 0bc51a4801a2062613b38952cd78afdcee61c1d5eb0d536a8aa7e307f9bd9a12

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "post_keepa_apis_v1_keepa_deal",
  "method": "POST",
  "path": "/apis/v1/keepa/deal",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "additionalProperties": false,
          "properties": {
            "brand": {
              "items": {
                "maxLength": 500,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 50,
              "minItems": 1,
              "type": "array"
            },
            "currentRange": {
              "items": {
                "maximum": 2147483647,
                "minimum": -1,
                "type": "integer"
              },
              "maxItems": 2,
              "minItems": 2,
              "type": [
                "array",
                "null"
              ]
            },
            "dateRange": {
              "maximum": 3,
              "minimum": 0,
              "type": "integer"
            },
            "deltaLastRange": {
              "items": {
                "maximum": 2147483647,
                "minimum": -1,
                "type": "integer"
              },
              "maxItems": 2,
              "minItems": 2,
              "type": [
                "array",
                "null"
              ]
            },
            "deltaPercentRange": {
              "items": {
                "maximum": 2147483647,
                "minimum": -1,
                "type": "integer"
              },
              "maxItems": 2,
              "minItems": 2,
              "type": [
                "array",
                "null"
              ]
            },
            "deltaRange": {
              "items": {
                "maximum": 2147483647,
                "minimum": -1,
                "type": "integer"
              },
              "maxItems": 2,
              "minItems": 2,
              "type": [
                "array",
                "null"
              ]
            },
            "domainId": {
              "enum": [
                1,
                2,
                3,
                4,
                5,
                6,
                8,
                9,
                10,
                11,
                12
              ],
              "type": "integer"
            },
            "excludeCategories": {
              "items": {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              "maxItems": 500,
              "minItems": 1,
              "type": "array"
            },
            "filterErotic": {
              "type": "boolean"
            },
            "hasReviews": {
              "type": "boolean"
            },
            "includeCategories": {
              "items": {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              "maxItems": 500,
              "minItems": 1,
              "type": "array"
            },
            "isBackInStock": {
              "type": "boolean"
            },
            "isFilterEnabled": {
              "type": "boolean"
            },
            "isHighest": {
              "type": "boolean"
            },
            "isLowest": {
              "type": "boolean"
            },
            "isLowest90": {
              "type": "boolean"
            },
            "isLowestOffer": {
              "type": "boolean"
            },
            "isOutOfStock": {
              "type": "boolean"
            },
            "isPrimeExclusive": {
              "type": "boolean"
            },
            "isRangeEnabled": {
              "type": "boolean"
            },
            "isRisers": {
              "type": "boolean"
            },
            "manufacturer": {
              "items": {
                "maxLength": 500,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 50,
              "minItems": 1,
              "type": "array"
            },
            "minRating": {
              "maximum": 50,
              "minimum": -1,
              "type": "integer"
            },
            "mustHaveAmazonOffer": {
              "type": "boolean"
            },
            "mustNotHaveAmazonOffer": {
              "type": "boolean"
            },
            "page": {
              "maximum": 66,
              "minimum": 0,
              "type": "integer"
            },
            "priceTypes": {
              "items": {
                "enum": [
                  0,
                  1,
                  2,
                  3,
                  5,
                  6,
                  7,
                  8,
                  9,
                  10,
                  18,
                  19,
                  20,
                  21,
                  22,
                  27,
                  32,
                  33
                ],
                "type": "integer"
              },
              "maxItems": 1,
              "minItems": 1,
              "type": "array"
            },
            "salesRankRange": {
              "items": {
                "maximum": 2147483647,
                "minimum": -1,
                "type": "integer"
              },
              "maxItems": 2,
              "minItems": 2,
              "type": [
                "array",
                "null"
              ]
            },
            "singleVariation": {
              "type": "boolean"
            },
            "sortType": {
              "enum": [
                1,
                2,
                3,
                4,
                -2,
                -3,
                -4
              ],
              "type": "integer"
            },
            "titleSearch": {
              "maxLength": 500,
              "type": [
                "string",
                "null"
              ]
            },
            "warehouseConditions": {
              "items": {
                "enum": [
                  1,
                  2,
                  3,
                  24,
                  5
                ],
                "type": "integer"
              },
              "maxItems": 5,
              "minItems": 1,
              "type": "array"
            }
          },
          "required": [
            "domainId",
            "priceTypes"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. A price estimate is not currently available. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/keepa.json POST /apis/v1/keepa/deal
openapi: 3.1.0
info:
  description: ''
  title: Keepa
  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:
    keepa:
      description: ''
      title: Keepa
      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: 0bc51a4801a2062613b38952cd78afdcee61c1d5eb0d536a8aa7e307f9bd9a12
        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/keepa/bestsellers
    - /apis/v1/keepa/category
    - /apis/v1/keepa/deal
    - /apis/v1/keepa/lightningdeal
    - /apis/v1/keepa/lightningdeal/list
    - /apis/v1/keepa/product
    - /apis/v1/keepa/query
    - /apis/v1/keepa/search/category
    - /apis/v1/keepa/search/product
    - /apis/v1/keepa/seller
    - /apis/v1/keepa/seller/storefront
    - /apis/v1/keepa/sellerquery
    - /apis/v1/keepa/topseller
  x-aisa-document:
    composer_version: '29'
    document_hash: sha256:013f49b467e9f538cbbb294ac8c2cd1de915a7b24c777d217fb8e14a4e02f779
    facts_hash: 0bc51a4801a2062613b38952cd78afdcee61c1d5eb0d536a8aa7e307f9bd9a12
    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: keepa
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/keepa/deal:
    post:
      tags:
        - ecommerce
      summary: Keepa Browsing Deals
      description: >-
        Keepa Browsing Deals. Token usage is settled from the response using the
        account's immutable rate.


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

        A request reference price is not currently available; use a request
        quote where supported. Declared unit rate: $0 USD per keepa_token.
        Account-specific pricing and final settlement may differ.

        <!-- aisa-pricing:end -->
      operationId: post_keepa_apis_v1_keepa_deal
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                brand:
                  items:
                    maxLength: 500
                    minLength: 1
                    type: string
                  maxItems: 50
                  minItems: 1
                  type: array
                currentRange:
                  items:
                    maximum: 2147483647
                    minimum: -1
                    type: integer
                  maxItems: 2
                  minItems: 2
                  type:
                    - array
                    - 'null'
                dateRange:
                  maximum: 3
                  minimum: 0
                  type: integer
                deltaLastRange:
                  items:
                    maximum: 2147483647
                    minimum: -1
                    type: integer
                  maxItems: 2
                  minItems: 2
                  type:
                    - array
                    - 'null'
                deltaPercentRange:
                  items:
                    maximum: 2147483647
                    minimum: -1
                    type: integer
                  maxItems: 2
                  minItems: 2
                  type:
                    - array
                    - 'null'
                deltaRange:
                  items:
                    maximum: 2147483647
                    minimum: -1
                    type: integer
                  maxItems: 2
                  minItems: 2
                  type:
                    - array
                    - 'null'
                domainId:
                  enum:
                    - 1
                    - 2
                    - 3
                    - 4
                    - 5
                    - 6
                    - 8
                    - 9
                    - 10
                    - 11
                    - 12
                  type: integer
                excludeCategories:
                  items:
                    maximum: 9007199254740991
                    minimum: 0
                    type: integer
                  maxItems: 500
                  minItems: 1
                  type: array
                filterErotic:
                  type: boolean
                hasReviews:
                  type: boolean
                includeCategories:
                  items:
                    maximum: 9007199254740991
                    minimum: 0
                    type: integer
                  maxItems: 500
                  minItems: 1
                  type: array
                isBackInStock:
                  type: boolean
                isFilterEnabled:
                  type: boolean
                isHighest:
                  type: boolean
                isLowest:
                  type: boolean
                isLowest90:
                  type: boolean
                isLowestOffer:
                  type: boolean
                isOutOfStock:
                  type: boolean
                isPrimeExclusive:
                  type: boolean
                isRangeEnabled:
                  type: boolean
                isRisers:
                  type: boolean
                manufacturer:
                  items:
                    maxLength: 500
                    minLength: 1
                    type: string
                  maxItems: 50
                  minItems: 1
                  type: array
                minRating:
                  maximum: 50
                  minimum: -1
                  type: integer
                mustHaveAmazonOffer:
                  type: boolean
                mustNotHaveAmazonOffer:
                  type: boolean
                page:
                  maximum: 66
                  minimum: 0
                  type: integer
                priceTypes:
                  items:
                    enum:
                      - 0
                      - 1
                      - 2
                      - 3
                      - 5
                      - 6
                      - 7
                      - 8
                      - 9
                      - 10
                      - 18
                      - 19
                      - 20
                      - 21
                      - 22
                      - 27
                      - 32
                      - 33
                    type: integer
                  maxItems: 1
                  minItems: 1
                  type: array
                salesRankRange:
                  items:
                    maximum: 2147483647
                    minimum: -1
                    type: integer
                  maxItems: 2
                  minItems: 2
                  type:
                    - array
                    - 'null'
                singleVariation:
                  type: boolean
                sortType:
                  enum:
                    - 1
                    - 2
                    - 3
                    - 4
                    - -2
                    - -3
                    - -4
                  type: integer
                titleSearch:
                  maxLength: 500
                  type:
                    - string
                    - 'null'
                warehouseConditions:
                  items:
                    enum:
                      - 1
                      - 2
                      - 3
                      - 24
                      - 5
                    type: integer
                  maxItems: 5
                  minItems: 1
                  type: array
              required:
                - domainId
                - priceTypes
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                properties:
                  deals:
                    additionalProperties: true
                    properties:
                      dr:
                        items:
                          additionalProperties: true
                          type: object
                        type: array
                    type: object
                  error:
                    additionalProperties: true
                    type:
                      - object
                      - 'null'
                  refillIn:
                    type: integer
                  refillRate:
                    type: integer
                  tokenFlowReduction:
                    type: number
                  tokensConsumed:
                    minimum: 0
                    type: integer
                  tokensLeft:
                    type: integer
                required:
                  - tokensConsumed
                type: object
          description: >-
            Native Keepa Browsing Deals response. Result availability and errors
            follow the provider envelope.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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