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

# Get price levels

> Market depth for a product or one size variant. transaction_type ASK lists sell offers, BID lists buy offers. Paginate with page while next_page is set.

## Request contract

* **Method and path:** POST /apis/v1/stockx-com/products/get-price-levels
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/stockx-com/products/get-price-levels`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "stockx-com.products.get-price-levels",
  "method": "POST",
  "path": "/apis/v1/stockx-com/products/get-price-levels",
  "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": {
              "id": "air-jordan-1-retro-high-og-royal-2026",
              "limit": 10
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "country": {
              "default": "US",
              "description": "StockX market: US (prices in USD) or GB (prices in GBP). Other markets exist upstream but were not verified.\n\nProvider reference: allowed values [\"US\", \"GB\"]; default \"US\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "US",
                  "GB"
                ]
              }
            },
            "id": {
              "description": "Product urlKey (the slug in https://stockx.com/{urlKey}) or product UUID. Pattern: ^[a-z0-9][a-z0-9-]{1,199}$.",
              "type": "string"
            },
            "limit": {
              "default": 20,
              "description": "Levels per page (the web app asks for 20).\n\nProvider reference: minimum 1; maximum 100; default 20.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 100,
                "min": 1
              }
            },
            "page": {
              "default": 1,
              "description": "1-based page index.\n\nProvider reference: minimum 1; maximum 100; default 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 100,
                "min": 1
              }
            },
            "transaction_type": {
              "default": "ASK",
              "description": "transaction_type\n\nProvider reference: allowed values [\"ASK\", \"BID\"]; default \"ASK\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "ASK",
                  "BID"
                ]
              }
            },
            "variant_id": {
              "description": "Size variant UUID from get_product; restricts the levels to that size. Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "required": [
            "id"
          ],
          "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/stockx-com.json POST /apis/v1/stockx-com/products/get-price-levels
openapi: 3.1.0
info:
  description: ''
  title: StockX
  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:
    stockx-com:
      description: ''
      title: StockX
      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: 2f95b4a678f966cd35ba5cd449f6e426fc7b130136a65ca3fd44c7da0ab5ded6
        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/stockx-com/products/browse-options
    - /apis/v1/stockx-com/products/browse-products
    - /apis/v1/stockx-com/products/get-price-levels
    - /apis/v1/stockx-com/products/get-product
    - /apis/v1/stockx-com/products/get-sales
    - /apis/v1/stockx-com/products/search-products
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:edbaaddf4042e3d48d1d57b7495859d720885529a82c7a58bf782f0edd79dcd5
    facts_hash: 2f95b4a678f966cd35ba5cd449f6e426fc7b130136a65ca3fd44c7da0ab5ded6
    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: stockx-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/stockx-com/products/get-price-levels:
    post:
      tags:
        - StockX
      summary: Get price levels
      description: >-
        Market depth for a product or one size variant. transaction_type ASK
        lists sell offers, BID lists buy offers. Paginate with page while
        next_page is set.
      operationId: stockx-com.products.get-price-levels
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  id: air-jordan-1-retro-high-og-royal-2026
                  limit: 10
            schema:
              additionalProperties: true
              properties:
                country:
                  default: US
                  description: >-
                    StockX market: US (prices in USD) or GB (prices in GBP).
                    Other markets exist upstream but were not verified.


                    Provider reference: allowed values ["US", "GB"]; default
                    "US".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - US
                      - GB
                id:
                  description: >-
                    Product urlKey (the slug in https://stockx.com/{urlKey}) or
                    product UUID. Pattern: ^[a-z0-9][a-z0-9-]{1,199}$.
                  type: string
                limit:
                  default: 20
                  description: |-
                    Levels per page (the web app asks for 20).

                    Provider reference: minimum 1; maximum 100; default 20.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 100
                    min: 1
                page:
                  default: 1
                  description: |-
                    1-based page index.

                    Provider reference: minimum 1; maximum 100; default 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 100
                    min: 1
                transaction_type:
                  default: ASK
                  description: >-
                    transaction_type


                    Provider reference: allowed values ["ASK", "BID"]; default
                    "ASK".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - ASK
                      - BID
                variant_id:
                  description: >-
                    Size variant UUID from get_product; restricts the levels to
                    that size. Pattern:
                    ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              required:
                - id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-10.
                  summary: Official provider example
                  value:
                    count: 10
                    country: US
                    currency: USD
                    levels:
                      - amount: 160
                        available_for_flex: false
                        count: 4
                        size: '10'
                        variant_id: 019c8c7c-35a4-7d52-80ee-9c35603d6300
                      - amount: 164
                        available_for_flex: false
                        count: 10
                        size: '9'
                        variant_id: 019c8c7c-35a4-7940-b463-dc317952ea07
                      - amount: 165
                        available_for_flex: false
                        count: 1
                        size: '10'
                        variant_id: 019c8c7c-35a4-7d52-80ee-9c35603d6300
                      - amount: 166
                        available_for_flex: false
                        count: 1
                        size: '10'
                        variant_id: 019c8c7c-35a4-7d52-80ee-9c35603d6300
                      - amount: 167
                        available_for_flex: false
                        count: 8
                        size: '10.5'
                        variant_id: 019c8c7c-35a7-793b-92b5-ea0f78326bc8
                      - amount: 167
                        available_for_flex: false
                        count: 2
                        size: '9'
                        variant_id: 019c8c7c-35a4-7940-b463-dc317952ea07
                      - amount: 167
                        available_for_flex: false
                        count: 1
                        size: '10'
                        variant_id: 019c8c7c-35a4-7d52-80ee-9c35603d6300
                      - amount: 167
                        available_for_flex: false
                        count: 13
                        size: '9.5'
                        variant_id: 019c8c7c-359c-7ef6-8c5e-225c2430b405
                      - amount: 169
                        available_for_flex: false
                        count: 1
                        size: '9.5'
                        variant_id: 019c8c7c-359c-7ef6-8c5e-225c2430b405
                      - amount: 169
                        available_for_flex: false
                        count: 1
                        size: '10.5'
                        variant_id: 019c8c7c-35a7-793b-92b5-ea0f78326bc8
                    limit: 10
                    next_page: 2
                    observed_at_ms: 1791621816352
                    page: 1
                    product_id: air-jordan-1-retro-high-og-royal-2026
                    resolved_id: 019c8c79-5b21-75a2-adb2-591768ff9b7c
                    transaction_type: ASK
                    variant_id: null
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Order book of a StockX product: open ask (or bid) price levels with
            the number of orders at each level and the size they belong to.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `amount` | number |  |

            | `available_for_flex` | boolean |  |

            | `count` | number |  |

            | `size` | string |  |

            | `variant_id` | string |  |



            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.