Get prices

Retrieves uploaded pricing sheet data for the shop associated with the API key, filtered by region. Returns paginated price entries.

GET
/sdk/server/prices
X-Stash-Api-Key<token>

API key authentication for server-side SDK operations. Used for secure server-to-server communication.

In: header

Query Parameters

regionstring

ISO-3166-1 alpha-2 region/country code (e.g., 'PL', 'US', 'DE')

currency?string

Optional ISO-4217 currency code filter (e.g., 'PLN', 'USD', 'EUR')

platform?string

Optional platform filter. Omit or set to PRICING_PLATFORM_UNSPECIFIED to return all platforms.

Value in"PRICING_PLATFORM_UNSPECIFIED" | "PRICING_PLATFORM_UNIVERSAL" | "PRICING_PLATFORM_IOS" | "PRICING_PLATFORM_ANDROID"
itemIds?array<string>

Optional filter to specific item IDs (SKUs). Response size is governed by limit/offset pagination, not by the number of item_ids.

limit?integer

Maximum number of items per page. Default 50, max 100. Values above 100 are clamped to 100.

Formatint64
offset?integer

Pagination offset. Default 0.

Formatint64

Response Body

curl -X GET "https://test-api.stash.gg/sdk/server/prices?region=string&currency=string&platform=PRICING_PLATFORM_UNSPECIFIED&itemIds=string&limit=0&offset=0"
{
  "prices": [
    {
      "itemId": "string",
      "platform": "PRICING_PLATFORM_UNSPECIFIED",
      "region": "string",
      "currency": "string",
      "priceCents": 0,
      "decimalPlaces": 0
    }
  ],
  "nextOffset": 0
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string",
      "property1": null,
      "property2": null
    }
  ]
}

How is this guide?