# StockX product bids API

Retrieve StockX bid and ask levels by product or size-variant ID via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as country, currency, id, and retrieve structured data including product identifier, requested currency, selected market, source bid level, and source ask level for market display, and variant comparison.

Documentation: https://openany.si/stockx/stockx-product-bids-api/a2fdba46-f79a-4e5b-a3ea-3a6078d8a510/
API ID: a2fdba46-f79a-4e5b-a3ea-3a6078d8a510
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/stockx/v1/product/bids
Page update time: 2026-12-03T02:45:54.792Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:45:54.399Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## StockX Order Book API

Use url or id for the product, optionally variant for one size, and type for the documented side of the book. page and limit select price levels; bids and asks remain different sides of the market.

## What You Can Build

- **Market display**: Keep bid and ask sides separate with currency labels.
- **Variant comparison**: Compare levels only for matching product and size identities.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | Product identifier |
| `currency` | Requested currency |
| `country` | Selected market |
| `bids[].amount` | Source bid level |
| `asks[].amount` | Source ask level |
| `bids[].variant_id` | Size-variant identifier |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "StockX product bids API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "StockX product link. url or id is required."
        },
        "id": {
          "type": "string",
          "description": "Product url key or product uuid, instead of url."
        },
        "type": {
          "type": "string",
          "description": "Which side of the book.",
          "enum": [
            "bids",
            "asks",
            "both"
          ]
        },
        "variant": {
          "type": "string",
          "description": "Variant (size) uuid for one size only."
        },
        "limit": {
          "type": "integer",
          "description": "Price levels per side (1-100)."
        },
        "page": {
          "type": "integer",
          "description": "Page of price levels."
        },
        "currency": {
          "type": "string",
          "description": "Currency code (USD, EUR, GBP, CAD, AUD, JPY, ...)."
        },
        "country": {
          "type": "string",
          "description": "Market country code."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "asks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "integer"
          },
          "available_for_flex": {
            "type": "boolean"
          },
          "count": {
            "type": "integer"
          },
          "size": {
            "type": "string"
          },
          "variant_id": {
            "type": "string"
          }
        }
      }
    },
    "bids": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "integer"
          },
          "available_for_flex": {
            "type": "boolean"
          },
          "count": {
            "type": "integer"
          },
          "size": {
            "type": "string"
          },
          "variant_id": {
            "type": "string"
          }
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "country": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "currency": {
      "type": "string"
    },
    "fetched_at": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "limit": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "url_key": {
      "type": "string"
    },
    "variant": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Official example · Recorded API.SH response · Exact minimal requ
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/stockx/v1/product/bids?country=US&currency=USD&id=air-jordan-1-retro-high-og-chicago-reimagined-lost-and-found&limit=1&output=json&page=1&raw=0&type=both' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "asks": [
    {
      "amount": 179,
      "available_for_flex": false,
      "count": 1,
      "size": "4.5",
      "variant_id": "013880e1-acbf-4843-b050-f012f43607b7"
    }
  ],
  "bids": [
    {
      "amount": 295,
      "available_for_flex": false,
      "count": 1,
      "size": "17",
      "variant_id": "1d880f44-9f3f-4a8a-aee7-183c438e4d6f"
    }
  ],
  "cached": false,
  "country": "US",
  "credits_used": 1,
  "currency": "USD",
  "fetched_at": "2026-11-20T05:22:08.618Z",
  "id": "9a4d44f9-4b16-4abc-ba58-c0db340ee791",
  "limit": 1,
  "page": 1,
  "url_key": "air-jordan-1-retro-high-og-chicago-reimagined-lost-and-found",
  "variant": null
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What can id contain?
Use the product URL key or product UUID, or provide the StockX product URL instead.

### How do I select one size?
Use variant with the size variant UUID rather than the displayed size label.

### Are bid and ask levels completed sales?
No. They are source order-book levels. Use Product History for available recent-sale records.

### How are levels paginated?
Use page and limit, which accepts 1–100 price levels per side. Keep country and currency with the results.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/stockx/stockx-product-bids-api/a2fdba46-f79a-4e5b-a3ea-3a6078d8a510/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
