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

> Product catalogue, prices or stock from a store running WooCommerce (WordPress shops on their own domain). Start here; get ids or slugs for get_product, category slugs from list_categories, attribute taxonomies and term slugs from list_attributes.

## Request contract

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

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "woocommerce-com.products.search-products",
  "method": "POST",
  "path": "/apis/v1/woocommerce-com/products/search-products",
  "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": {
              "orderby": "popularity",
              "per_page": 5,
              "query": "subscriptions",
              "store": "woocommerce.com"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "attributes": {
              "description": "Attribute term filters (all must match).",
              "items": {
                "additionalProperties": true,
                "type": "object"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "category": {
              "description": "One category id or slug (from list_categories); includes subcategories as the store does. Pattern: ^[^,\\s]+$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "featured": {
              "description": "Only featured products.",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "max_price": {
              "description": "Maximum price in major units of the store currency.\n\nProvider reference: minimum 0.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 0
              }
            },
            "min_price": {
              "description": "Minimum price in major units of the store currency (e.g. 19.99).\n\nProvider reference: minimum 0.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 0
              }
            },
            "on_sale": {
              "description": "Only products on sale.",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "order": {
              "description": "order\n\nProvider reference: allowed values [\"asc\", \"desc\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "asc",
                  "desc"
                ]
              }
            },
            "orderby": {
              "description": "Sort key; the store's default (relevance for a query, else date) otherwise.\n\nProvider reference: allowed values [\"date\", \"modified\", \"id\", \"title\", \"slug\", \"price\", \"popularity\", \"rating\", \"menu_order\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "date",
                  "modified",
                  "id",
                  "title",
                  "slug",
                  "price",
                  "popularity",
                  "rating",
                  "menu_order"
                ]
              }
            },
            "page": {
              "default": 1,
              "description": "1-based page; use next_page from the previous result.\n\nProvider reference: minimum 1; maximum 10000; default 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 10000,
                "min": 1
              }
            },
            "per_page": {
              "default": 20,
              "description": "per_page\n\nProvider reference: minimum 1; maximum 100; default 20.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 100,
                "min": 1
              }
            },
            "query": {
              "description": "Keywords matched against product title and content.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "stock_status": {
              "description": "stock_status",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "store": {
              "description": "The store: a bare domain (example.com) or any URL on the store. Any WooCommerce site with the public Store API (/wp-json/wc/store/v1) enabled.",
              "type": "string"
            },
            "tag": {
              "description": "One product tag id or slug. Pattern: ^[^,\\s]+$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "required": [
            "store"
          ],
          "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/woocommerce-com.json POST /apis/v1/woocommerce-com/products/search-products
openapi: 3.1.0
info:
  description: ''
  title: WooCommerce stores
  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:
    woocommerce-com:
      description: ''
      title: WooCommerce stores
      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: 7fd75c768a43689d763cd0255ef00ce1442915e10a4a5f5f2b514e6131fb06b8
        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/woocommerce-com/products/get-product
    - /apis/v1/woocommerce-com/products/list-attributes
    - /apis/v1/woocommerce-com/products/list-categories
    - /apis/v1/woocommerce-com/products/search-products
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:ed2e65f03311411c2ea3696e4f1a321a3b167d875d0bae37875c7b19290d2c9d
    facts_hash: 7fd75c768a43689d763cd0255ef00ce1442915e10a4a5f5f2b514e6131fb06b8
    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: woocommerce-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/woocommerce-com/products/search-products:
    post:
      tags:
        - WooCommerce stores
      summary: Search products
      description: >-
        Product catalogue, prices or stock from a store running WooCommerce
        (WordPress shops on their own domain). Start here; get ids or slugs for
        get_product, category slugs from list_categories, attribute taxonomies
        and term slugs from list_attributes.
      operationId: woocommerce-com.products.search-products
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  orderby: popularity
                  per_page: 5
                  query: subscriptions
                  store: woocommerce.com
            schema:
              additionalProperties: true
              properties:
                attributes:
                  description: Attribute term filters (all must match).
                  items:
                    additionalProperties: true
                    type: object
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                category:
                  description: >-
                    One category id or slug (from list_categories); includes
                    subcategories as the store does. Pattern: ^[^,\s]+$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                featured:
                  description: Only featured products.
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
                max_price:
                  description: |-
                    Maximum price in major units of the store currency.

                    Provider reference: minimum 0.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 0
                min_price:
                  description: >-
                    Minimum price in major units of the store currency (e.g.
                    19.99).


                    Provider reference: minimum 0.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 0
                on_sale:
                  description: Only products on sale.
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
                order:
                  description: |-
                    order

                    Provider reference: allowed values ["asc", "desc"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - asc
                      - desc
                orderby:
                  description: >-
                    Sort key; the store's default (relevance for a query, else
                    date) otherwise.


                    Provider reference: allowed values ["date", "modified",
                    "id", "title", "slug", "price", "popularity", "rating",
                    "menu_order"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - date
                      - modified
                      - id
                      - title
                      - slug
                      - price
                      - popularity
                      - rating
                      - menu_order
                page:
                  default: 1
                  description: |-
                    1-based page; use next_page from the previous result.

                    Provider reference: minimum 1; maximum 10000; default 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 10000
                    min: 1
                per_page:
                  default: 20
                  description: |-
                    per_page

                    Provider reference: minimum 1; maximum 100; default 20.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 100
                    min: 1
                query:
                  description: Keywords matched against product title and content.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                stock_status:
                  description: stock_status
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                store:
                  description: >-
                    The store: a bare domain (example.com) or any URL on the
                    store. Any WooCommerce site with the public Store API
                    (/wp-json/wc/store/v1) enabled.
                  type: string
                tag:
                  description: 'One product tag id or slug. Pattern: ^[^,\s]+$.'
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              required:
                - store
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-09T01:33:30Z.
                  summary: Official provider example
                  value:
                    category: null
                    count: 5
                    items:
                      - average_rating: 3.89
                        brands: []
                        categories:
                          - id: 1021
                            name: WooCommerce extensions
                            slug: woocommerce-extensions
                          - id: 3936
                            name: Developed by Woo
                            slug: developed-by-woo
                          - id: 32617
                            name: Payment management
                            slug: payment-management
                          - id: 28663
                            name: Merchandising
                            slug: merchandising
                          - id: 28665
                            name: Product variations
                            slug: product-variations
                          - id: 28671
                            name: Subscriptions
                            slug: subscriptions-merchandising
                          - id: 1888
                            name: Store management
                            slug: operations
                        has_options: false
                        id: 27147
                        images:
                          - >-
                            https://woocommerce.com/wp-content/uploads/2012/09/Woo_Subscriptions_icon-marketplace-160x160-2.png
                        name: WooCommerce Subscriptions
                        on_sale: false
                        prices:
                          currency: USD
                          currency_symbol: $
                          max_price: null
                          min_price: null
                          price: 279
                          regular_price: 279
                          sale_price: 279
                        review_count: 142
                        short_description: >-
                          WooCommerce Subscriptions is a WooCommerce extension
                          that lets customers subscribe to your products or
                          services and pay on a weekly, monthly, or annual
                          basis. It integrates with over 25 payment gateways for
                          automatic recurring payments and supports automatic
                          rebilling on failed subscription payments. Subscribers
                          can manage their own plan — upgrading, downgrading,
                          suspending, or canceling — and update their shipping
                          address or payment method. It’s a paid annual
                          extension with a 30-day money-back guarantee.
                        sku: WOO508
                        slug: woocommerce-subscriptions
                        stock:
                          availability: null
                          is_in_stock: true
                          is_on_backorder: false
                          is_purchasable: true
                          low_stock_remaining: null
                          status: in-stock
                        type: simple
                        url: >-
                          https://woocommerce.com/products/woocommerce-subscriptions/
                      - average_rating: 3.83
                        brands: []
                        categories:
                          - id: 28663
                            name: Merchandising
                            slug: merchandising
                          - id: 28671
                            name: Subscriptions
                            slug: subscriptions-merchandising
                          - id: 1021
                            name: WooCommerce extensions
                            slug: woocommerce-extensions
                        has_options: false
                        id: 5834751
                        images:
                          - >-
                            https://woocommerce.com/wp-content/uploads/2020/05/enhancer-icon-new-160.png
                        name: Enhancer for WooCommerce Subscriptions
                        on_sale: false
                        prices:
                          currency: USD
                          currency_symbol: $
                          max_price: null
                          min_price: null
                          price: 99
                          regular_price: 99
                          sale_price: 99
                        review_count: 6
                        short_description: >-
                          Additional features for WooCommerce Subscriptions such
                          as Updating Price for Existing Users, Cancel Delay,
                          Auto-Renewal Reminder, etc.
                        sku: null
                        slug: enhancer-for-woocommerce-subscriptions
                        stock:
                          availability: null
                          is_in_stock: true
                          is_on_backorder: false
                          is_purchasable: true
                          low_stock_remaining: null
                          status: in-stock
                        type: simple
                        url: >-
                          https://woocommerce.com/products/enhancer-for-woocommerce-subscriptions/
                      - average_rating: 4.64
                        brands: []
                        categories:
                          - id: 28663
                            name: Merchandising
                            slug: merchandising
                          - id: 28671
                            name: Subscriptions
                            slug: subscriptions-merchandising
                          - id: 1021
                            name: WooCommerce extensions
                            slug: woocommerce-extensions
                        has_options: false
                        id: 18734000055043
                        images:
                          - >-
                            https://woocommerce.com/wp-content/uploads/2022/02/bos-product-icon.png
                          - >-
                            https://woocommerce.com/wp-content/uploads/2022/02/Buy-once-or-subscribe-selection.png
                          - >-
                            https://woocommerce.com/wp-content/uploads/2022/02/Discount-settings.png
                          - >-
                            https://woocommerce.com/wp-content/uploads/2022/02/Global-subscription-settings-1.png
                          - >-
                            https://woocommerce.com/wp-content/uploads/2022/02/Variation-settings.png
                          - >-
                            https://woocommerce.com/wp-content/uploads/2022/02/Change-subscription-plan-in-cart.png
                        name: Buy Once or Subscribe for WooCommerce Subscriptions
                        on_sale: false
                        prices:
                          currency: USD
                          currency_symbol: $
                          max_price: null
                          min_price: null
                          price: 79
                          regular_price: 79
                          sale_price: 79
                        review_count: 11
                        short_description: >-
                          Offer one-time purchases and recurring subscription
                          plans side by side on the same product page — no
                          duplicate listings, no complex setup. Increase
                          recurring revenue, reduce churn, and give every type
                          of customer exactly the flexibility they’re looking
                          for.
                        sku: null
                        slug: buy-once-or-subscribe-for-woocommerce-subscriptions
                        stock:
                          availability: null
                          is_in_stock: true
                          is_on_backorder: false
                          is_purchasable: true
                          low_stock_remaining: null
                          status: in-stock
                        type: simple
                        url: >-
                          https://woocommerce.com/products/buy-once-or-subscribe-for-woocommerce-subscriptions/
                      - average_rating: 5
                        brands: []
                        categories:
                          - id: 28663
                            name: Merchandising
                            slug: merchandising
                          - id: 28666
                            name: Product options
                            slug: product-options
                          - id: 28671
                            name: Subscriptions
                            slug: subscriptions-merchandising
                          - id: 1021
                            name: WooCommerce extensions
                            slug: woocommerce-extensions
                        has_options: false
                        id: 6267526
                        images:
                          - >-
                            https://woocommerce.com/wp-content/uploads/2020/08/mpws-wpextend-marketplace-icon-orange-small.jpg
                        name: Minimum Periods for WooCommerce Subscriptions
                        on_sale: false
                        prices:
                          currency: USD
                          currency_symbol: $
                          max_price: null
                          min_price: null
                          price: 39
                          regular_price: 39
                          sale_price: 39
                        review_count: 1
                        short_description: >-
                          Set a minimum subscription term before customers can
                          cancel.
                        sku: null
                        slug: minimum-periods-for-woocommerce-subscriptions
                        stock:
                          availability: null
                          is_in_stock: true
                          is_on_backorder: false
                          is_purchasable: true
                          low_stock_remaining: null
                          status: in-stock
                        type: simple
                        url: >-
                          https://woocommerce.com/products/minimum-periods-for-woocommerce-subscriptions/
                      - average_rating: 2.63
                        brands: []
                        categories:
                          - id: 28671
                            name: Subscriptions
                            slug: subscriptions-merchandising
                          - id: 1021
                            name: WooCommerce extensions
                            slug: woocommerce-extensions
                        has_options: false
                        id: 7747886
                        images:
                          - >-
                            https://woocommerce.com/wp-content/uploads/2021/03/woo-custom-start-dateicon-1.png
                        name: Custom Start Date for WooCommerce Subscriptions
                        on_sale: false
                        prices:
                          currency: USD
                          currency_symbol: $
                          max_price: null
                          min_price: null
                          price: 89
                          regular_price: 89
                          sale_price: 89
                        review_count: 8
                        short_description: >-
                          The only extension that gives you and your customers
                          full control over subscription start dates.
                        sku: null
                        slug: custom-start-date-for-woocommerce-subscriptions
                        stock:
                          availability: null
                          is_in_stock: true
                          is_on_backorder: false
                          is_purchasable: true
                          low_stock_remaining: null
                          status: in-stock
                        type: simple
                        url: >-
                          https://woocommerce.com/products/custom-start-date-for-woocommerce-subscriptions/
                    next_page: 2
                    observed_at_ms: 1791509594455
                    page: 1
                    per_page: 5
                    query: subscriptions
                    store:
                      host: woocommerce.com
                      url: https://woocommerce.com/
                    tag: null
                    total: 19
                    total_pages: 4
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Search or list products in any WooCommerce store via its public
            Store API: keyword, category, tag, attribute terms, on-sale,
            featured, stock status and price band, with sorting and paging (up
            to 100 per page). Each product carries id, name, URL, SKU, prices in
            major units with currency, stock and purchasability, categories,
            brands, image URLs, rating and review count, and the short
            description as text. Verifies the site is a WooCommerce store;
            otherwise fails with not_woocommerce_store.


            The response contains the tool result directly.


            The provider identifies `items` as the primary payload key.


            | Documented field | Provider type | Description |

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

            | `average_rating` | number | 0 when the product has no reviews. |

            | `brands` | object[] | WooCommerce Brands (9.6+); empty on stores
            without brands. |

            | `categories` | object[] |  |

            | `has_options` | boolean | True when the product needs options
            chosen (variations, add-ons). |

            | `id` | number |  |

            | `images` | string[] | Full-size image URLs, first is the main
            image. |

            | `name` | string | HTML entities decoded. |

            | `on_sale` | boolean |  |

            | `prices` | object | Prices in major currency units (e.g. 279.0 =
            $279.00). |

            | `review_count` | number |  |

            | `short_description` | string | Short description as plain text
            (HTML stripped). |

            | `sku` | string |  |

            | `slug` | string |  |

            | `stock` | object |  |

            | `type` | string | simple, variable, grouped, external, variation,
            or a plugin product type (subscription, bundle...). |

            | `url` | string | Product page (permalink). |



            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.