Get product pricing
Returns pricing entries for a single product. Most products return standard rate entries with fields like rate, unit, country_iso, direction, and tiers. Inference products return model-specific fields (model, input_rate, output_rate, cached_input_rate) with tiered pricing. Some products use rate decks (pricing_type: rate_deck) where rates are determined dynamically.
Path parameters
Product slug from the catalog listing.
Query parameters
Page number (1-based).
Number of items per page (max 100).
Two-letter ISO 3166-1 alpha-2 country code (uppercase, e.g. US) to filter pricing to a single country.
Response
Product pricing entries
Changes
Changed in 2 of the 61 revisions of this API.24
- ●
deleted the
queryrequest parameterpage_numberrequest-parameter-removed
- ●
deleted the
queryrequest parameterpage_sizerequest-parameter-removed
- ○
added the new optional
queryrequest parameterfilter[country_iso]new-optional-request-parameter
- ○
added the new optional
queryrequest parameterpage[number]new-optional-request-parameter
- ○
added the new optional
queryrequest parameterpage[size]new-optional-request-parameter
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
endpoint added
endpoint-added
- ○