Pricing

Get product pricing

Changed on

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.

get/pricing/products/{slug}

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/pricing/products/{slug}
  • Auth: none required

Path parameters

slugstring required

Product slug from the catalog listing.

Query parameters

page[number]integer

Page number (1-based).

page[size]integer

Number of items per page (max 100).

filter[country_iso]string nullable

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

    • warning

      deleted the query request parameter page_number

    • warning

      deleted the query request parameter page_size

    • info

      added the new optional query request parameter filter[country_iso]

    • info

      added the new optional query request parameter page[number]

    • info

      added the new optional query request parameter page[size]

    • info

      endpoint added