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

# Search

> Finding a specific wine or producer by name and getting its `wine_id` for `wine` and `reviews`. For browsing what to buy by type, origin, grape, rating or price use `explore`.

## Request contract

* **Method and path:** POST /apis/v1/vivino-com/products/search
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/vivino-com/products/search`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "vivino-com.products.search",
  "method": "POST",
  "path": "/apis/v1/vivino-com/products/search",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "query": "chateau margaux"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "page": {
              "default": 1,
              "description": "1-based page of 24 wines; the index serves at most 42 pages.\n\nProvider reference: minimum 1; maximum 42; default 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 42,
                "min": 1
              }
            },
            "query": {
              "description": "Wine, winery, region or grape words, for example `chateau margaux`, `barolo` or `pinot noir`.",
              "type": "string"
            },
            "ship_to": {
              "default": "US",
              "description": "Ship-to market whose offers and prices are shown, as Vivino's market switch supports it. Default US (prices in USD). Currencies: USD for US; EUR for NL, BE, DE, FR, IT, ES and AT; DKK, SEK, CHF, GBP, CAD and AUD for DK, SE, CH, GB, CA and AU.\n\nProvider reference: allowed values [\"NL\", \"BE\", \"DE\", \"FR\", \"IT\", \"ES\", \"AT\", \"DK\", \"SE\", \"CH\", \"GB\", \"US\", \"CA\", \"AU\"]; default \"US\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "NL",
                  "BE",
                  "DE",
                  "FR",
                  "IT",
                  "ES",
                  "AT",
                  "DK",
                  "SE",
                  "CH",
                  "GB",
                  "US",
                  "CA",
                  "AU"
                ]
              }
            }
          },
          "required": [
            "query"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

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


## OpenAPI

````yaml openapi/vivino-com.json POST /apis/v1/vivino-com/products/search
openapi: 3.1.0
info:
  description: ''
  title: Vivino
  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:
    vivino-com:
      description: ''
      title: Vivino
      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: da5ff707ebd0072a4296705de764d963ef3b675d4b8a13709981e721b69a8aa9
        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/vivino-com/products/explore
    - /apis/v1/vivino-com/products/reviews
    - /apis/v1/vivino-com/products/search
    - /apis/v1/vivino-com/products/wine
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:66171326f61b9760d147347ea75c54b091686b90f8528498edada7c0fc612c16
    facts_hash: da5ff707ebd0072a4296705de764d963ef3b675d4b8a13709981e721b69a8aa9
    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: vivino-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/vivino-com/products/search:
    post:
      tags:
        - Vivino
      summary: Search
      description: >-
        Finding a specific wine or producer by name and getting its `wine_id`
        for `wine` and `reviews`. For browsing what to buy by type, origin,
        grape, rating or price use `explore`.
      operationId: vivino-com.products.search
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  query: chateau margaux
            schema:
              additionalProperties: true
              properties:
                page:
                  default: 1
                  description: |-
                    1-based page of 24 wines; the index serves at most 42 pages.

                    Provider reference: minimum 1; maximum 42; default 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 42
                    min: 1
                query:
                  description: >-
                    Wine, winery, region or grape words, for example `chateau
                    margaux`, `barolo` or `pinot noir`.
                  type: string
                ship_to:
                  default: US
                  description: >-
                    Ship-to market whose offers and prices are shown, as
                    Vivino's market switch supports it. Default US (prices in
                    USD). Currencies: USD for US; EUR for NL, BE, DE, FR, IT, ES
                    and AT; DKK, SEK, CHF, GBP, CAD and AUD for DK, SE, CH, GB,
                    CA and AU.


                    Provider reference: allowed values ["NL", "BE", "DE", "FR",
                    "IT", "ES", "AT", "DK", "SE", "CH", "GB", "US", "CA", "AU"];
                    default "US".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - NL
                      - BE
                      - DE
                      - FR
                      - IT
                      - ES
                      - AT
                      - DK
                      - SE
                      - CH
                      - GB
                      - US
                      - CA
                      - AU
              required:
                - query
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-24.
                  summary: Official provider example
                  value:
                    count: 24
                    currency: USD
                    next:
                      page: 2
                      query: chateau margaux
                      ship_to: US
                    observed_at_ms: 1792800000000
                    page: 1
                    page_size: 24
                    pages: 20
                    query: chateau margaux
                    results:
                      - country: FR
                        name: Château Giscours (Grand Cru Classé)
                        price:
                          amount: 97.99
                          bottle_ml: null
                          currency: USD
                          discounted_from: null
                          offer_url: null
                          vintage_id: 156145340
                          year: 2018
                        rating: 4.3
                        ratings_count: 57794
                        region: Margaux
                        url: https://www.vivino.com/w/13689
                        vintage_id: 1852703
                        wine_id: 13689
                        wine_type: red
                        winery: Château Giscours
                        winery_id: 4293
                        year: null
                      - country: FR
                        name: Château Margaux (Premier Grand Cru Classé)
                        price:
                          amount: 625
                          bottle_ml: null
                          currency: USD
                          discounted_from: null
                          offer_url: null
                          vintage_id: 4732791
                          year: 2014
                        rating: 4.6
                        ratings_count: 57103
                        region: Margaux
                        url: https://www.vivino.com/w/1127795
                        vintage_id: 1510407
                        wine_id: 1127795
                        wine_type: red
                        winery: Château Margaux
                        winery_id: 1319
                        year: null
                      - country: FR
                        name: Margaux (Grand Cru Classé)
                        price:
                          amount: 69.94
                          bottle_ml: null
                          currency: USD
                          discounted_from: null
                          offer_url: null
                          vintage_id: 167297090
                          year: 2021
                        rating: 4.2
                        ratings_count: 30022
                        region: Margaux
                        url: https://www.vivino.com/w/80045
                        vintage_id: 1487434
                        wine_id: 80045
                        wine_type: red
                        winery: Château Lascombes
                        winery_id: 11272
                        year: null
                      - country: FR
                        name: Margaux (Grand Cru Classé)
                        price:
                          amount: 67.99
                          bottle_ml: null
                          currency: USD
                          discounted_from: null
                          offer_url: null
                          vintage_id: 162936936
                          year: 2020
                        rating: 4.2
                        ratings_count: 27525
                        region: Margaux
                        url: https://www.vivino.com/w/736114
                        vintage_id: 1536962
                        wine_id: 736114
                        wine_type: red
                        winery: Château Prieuré-Lichine
                        winery_id: 1237
                        year: null
                      - country: FR
                        name: Margaux (Grand Cru Classé)
                        price:
                          amount: 55.99
                          bottle_ml: null
                          currency: USD
                          discounted_from: null
                          offer_url: null
                          vintage_id: 150824898
                          year: 2017
                        rating: 4.2
                        ratings_count: 28668
                        region: Margaux
                        url: https://www.vivino.com/w/85917
                        vintage_id: 1509827
                        wine_id: 85917
                        wine_type: red
                        winery: Château du Tertre
                        winery_id: 1463
                        year: null
                      - country: FR
                        name: Margaux
                        price:
                          amount: 35.08
                          bottle_ml: null
                          currency: USD
                          discounted_from: null
                          offer_url: null
                          vintage_id: 170485046
                          year: 2022
                        rating: 4
                        ratings_count: 15411
                        region: Margaux
                        url: https://www.vivino.com/w/1369753
                        vintage_id: 3524584
                        wine_id: 1369753
                        wine_type: red
                        winery: Château d'Arsac
                        winery_id: 3442
                        year: null
                      - country: FR
                        name: Margaux (Grand Cru Classé)
                        price:
                          amount: 103.24
                          bottle_ml: null
                          currency: USD
                          discounted_from: null
                          offer_url: null
                          vintage_id: 160137317
                          year: 2019
                        rating: 4.2
                        ratings_count: 30550
                        region: Margaux
                        url: https://www.vivino.com/w/23769
                        vintage_id: 1477151
                        wine_id: 23769
                        wine_type: red
                        winery: Château Brane-Cantenac
                        winery_id: 8023
                        year: null
                      - country: FR
                        name: Grand Vin de Château Palmer (Grand Cru Classé)
                        price:
                          amount: 231
                          bottle_ml: null
                          currency: USD
                          discounted_from: null
                          offer_url: null
                          vintage_id: 150345939
                          year: 2017
                        rating: 4.5
                        ratings_count: 36285
                        region: Margaux
                        url: https://www.vivino.com/w/9220
                        vintage_id: 1510827
                        wine_id: 9220
                        wine_type: red
                        winery: Chateau Palmer
                        winery_id: 1376
                        year: null
                      - country: FR
                        name: Margaux (Grand Cru Classé)
                        price:
                          amount: 77.090836
                          bottle_ml: null
                          currency: USD
                          discounted_from: null
                          offer_url: null
                          vintage_id: 167216781
                          year: 2021
                        rating: 4.2
                        ratings_count: 23087
                        region: Margaux
                        url: https://www.vivino.com/w/81864
                        vintage_id: 1568557
                        wine_id: 81864
                        wine_type: red
                        winery: Château Cantenac Brown
                        winery_id: 11458
                        year: null
                      - country: FR
                        name: Margaux
                        price:
                          amount: 49.3
                          bottle_ml: null
                          currency: USD
                          discounted_from: null
                          offer_url: null
                          vintage_id: 150923168
                          year: 2017
                        rating: 4.1
                        ratings_count: 20635
                        region: Margaux
                        url: https://www.vivino.com/w/91020
                        vintage_id: 1581213
                        wine_id: 91020
                        wine_type: red
                        winery: Château Labégorce
                        winery_id: 2889
                        year: null
                    ship_to: US
                    total: 457
                    total_exact: false
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Keyword search over Vivino's whole wine catalogue (wine, winery,
            region or grape words) through the site's own search index: 24 wines
            per page with winery, region, country, type, average rating across
            vintages and, when the ship-to market offers the wine, its price and
            currency. Wines without an offer in the market are still listed with
            a null price. Default market US (USD).


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `count` | number | Rows on this page. |

            | `currency` | string | Currency of every price in this output (the
            market's currency). |

            | `next` | object | Input for the next page; null on the last page.
            |

            | `observed_at_ms` | number | Unix epoch milliseconds when the
            program read the source. |

            | `page` | number |  |

            | `page_size` | number |  |

            | `pages` | number |  |

            | `query` | string |  |

            | `results` | object[] |  |

            | `ship_to` | string | The ship-to market the prices are for; the
            program checks that Vivino applied it. |

            | `total` | number | Matching wines reported by the index. |

            | `total_exact` | boolean | False when the index estimated `total`.
            |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        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.