---
title: "List available products"
method: GET
path: "/v1/products"
tags: ["Pricing"]
---

# List available products

`GET /v1/products`

## Request

- Base URL: `https://api.mystars.tg`
- URL: `https://api.mystars.tg/v1/products`
- Auth: API key in header `X-Api-Key`

The product catalog — the two product **types** you can sell and the
buyable shape of each. Static, price-free metadata (call `GET /v1/pricing`
for a price): use it to build your own catalog/UI and to learn the bounds
the order endpoints enforce.

Each entry's `parameter` names the request field to send to `/v1/pricing`
and `/v1/orders` (`quantity` for stars, `months` for premium). A `null`
`values` means a continuous integer range `[min, max]` (stars — any
quantity in range, no fixed denominations); a non-null `values` is the
exact allowed set (premium — `[3, 6, 12]`).

## Response `200`

The product catalog.

- object
  - `products` Product[], required
    - `type` 'stars' | 'premium', required: The product type — pass this as `type` to `/v1/pricing` and `/v1/orders`.
    - `name` string, required: Human-readable product name.
    - `parameter` 'quantity' | 'months', required: The request field that carries the amount for this product — `quantity` for stars, `months` for premium.
    - `min` integer, required: Smallest buyable value (inclusive).
    - `max` integer, required: Largest buyable value (inclusive).
    - `values` integer[], nullable, required: The exact allowed values when the product is a fixed set (premium → `[3, 6, 12]`); `null` when any integer in `[min, max]` is valid (stars).

## Other responses

- `401`: Missing or invalid `X-Api-Key`.
- `403`: The API key is valid, but the tenant is suspended (for example after `/api_revoke` — run `/api_rotate` in the bot to restore access) or banned, or the product (campaigns, giveaways) is not enabled for it. Products are enabled per tenant on request. A source address blocked at our edge gets `403 forbidden` with the message `source blocked`, whatever the key.
- `429`: A rate limit was reached (`rate_limited`). See **Rate limits** in the overview. Which `429`s carry headers: - **Per-minute buckets** — the general request budget, the order-lifecycle bucket, the pricing/recipient-check probe cap (60 req/min), the campaign bucket, and your giveaway read, write, quote and attestation buckets. Every answer metered by one carries `RateLimit-Policy`, `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset` (seconds); a `429` adds `Retry-After` (seconds). - **Caps, no `Retry-After`** — the daily intake cap and the daily order cap on `POST /v1/orders` (UTC day), the per-recipient guard on unfinished orders to one `@username`, and the cap on live campaigns. These `429`s carry no `Retry-After`, but they do carry the `RateLimit-*` headers of the per-minute bucket the request passed (often with `RateLimit-Remaining` above zero): branch on `Retry-After`, never on `RateLimit-Remaining`. Back off; the daily intake and order caps clear at the next UTC midnight. - **The daily budget of ineligible-recipient refusals** on `POST /v1/orders` — its `429` carries `Retry-After` and `error.retry_after`, both the seconds until 00:00 UTC, when the budget resets, plus the `RateLimit-*` headers of the order bucket it passed. `error.retry_after` is what sets it apart from the other `429`s. While the budget's places are held only by your own checks still running, the create answers a short `429` instead: `Retry-After` of a few seconds and no `error.retry_after` — retry after `Retry-After`. - **The giveaway quote budget shared by all tenants** — its `429` carries `Retry-After` (seconds until the shared budget reopens) and the `RateLimit-*` headers of your own quote bucket, never figures for the shared budget. - **Edge throttle** — a coarse per-IP throttle in front of the API answers the same envelope with `Retry-After: 1` and no `RateLimit-*` headers.

## Changes

- **2026-10-31** `9f589c4dd26b`: 62 warning, 23 info
  - added the new `antibot_enforce_unavailable` enum value to the `error/code` response property for the response status `401`
  - added the new `antibot_enforce_unavailable` enum value to the `error/code` response property for the response status `429`
  - added the new `attestation_limit_reached` enum value to the `error/code` response property for the response status `401`
  - added the new `attestation_limit_reached` enum value to the `error/code` response property for the response status `429`
  - …81 more

[Operation history](https://skmtc.dev/mystars/apis/mystars-faas-fulfilment-api/changes/v1/products/get.md)

---

[API](https://skmtc.dev/mystars/apis/mystars-faas-fulfilment-api.md) - [All operations](https://skmtc.dev/mystars/apis/mystars-faas-fulfilment-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mystars/apis/mystars-faas-fulfilment-api/revisions/b6cdc8aff8c2?raw)
