---
title: "List SMS receiving rates"
canonical: "https://bird.com/docs/api/reference/list-billing-sms-inbound-rates"
---

# List SMS receiving rates

`GET /v1/billing/rates/sms-inbound`

Returns what your organization pays to receive an SMS, per country of the receiving number, mobile network of the sender and type of the receiving number. Each rate has the fee to receive a segment, the carrier fee where one applies, and their sum. Rates are net of tax, in your organization's billing currency, with your agreed prices applied. Only countries that have a rate are listed, and a network or number type gets a row of its own only where its rate differs from the fallback row. Returns `412` when your organization has no billing currency yet, a retryable `503` when the rates cannot be read, and a `500` with `RatesNotRepresentable` when a price cannot be shown on this card, which retrying does not fix; a page is never returned with rates missing. Requires the `rates` permission in the workspace, or the organization's `org:billing` permission, with which the workspace can be left out. Without a credential the response is Bird's default rates, in `currency`; a credential that does not authenticate returns `401`, never default rates.

## Servers

- `https://{region}.platform.bird.com`: Regional API endpoint. Use the host for the region your organization is hosted in. Official Bird SDKs and the CLI select it automatically from your API key, so you rarely need to set it by hand.
  - `region`: `us1`, `eu1`. Default: `us1`. The region your organization's data is hosted in.

## Authentication

Use one authentication option:

- No authentication.

- `BearerAuth`: HTTP bearer authentication. Pass the API key as a bearer token in the `Authorization` header. Workspace
keys use `bk_{region}_*`; organization master keys use `bm_{region}_*`.
The prefix identifies the region and selects the
API endpoint. Official Bird SDKs and the CLI derive the region from the key.

## Code samples

**TypeScript**

```ts
for await (const rate of bird.billingRates.smsInbound({ country_code: "US" })) {
  console.log(rate);
}
```

Examples: [TypeScript](/docs/api/reference/list-billing-sms-inbound-rates.ts.md) · [Python](/docs/api/reference/list-billing-sms-inbound-rates.py.md) · [Go](/docs/api/reference/list-billing-sms-inbound-rates.go.md) · [PHP](/docs/api/reference/list-billing-sms-inbound-rates.php.md) · [CLI](/docs/api/reference/list-billing-sms-inbound-rates.cli.md) · [MCP](/docs/api/reference/list-billing-sms-inbound-rates.mcp.md) · [cURL](/docs/api/reference/list-billing-sms-inbound-rates.curl.md)

## Example response `200`

```json
{
  "data": [
    {
      "country_code": "US",
      "mcc_mnc": "310260",
      "sender_type": "long_code",
      "unit": "segment",
      "rate": {
        "amount": "0.0097",
        "currency_code": "USD",
        "transaction_amount": "0.0062",
        "passthrough_amount": "0.0035"
      }
    }
  ],
  "next_cursor": "eyJ2IjoxLCJzIjoiXCIyMDI2LTA1LTI1VDE0OjAzOjEwWlwiIiwiaSI6IjAxOTJmM2IxLTRjN2UtN2EyYi05ZDYxLThmM2E1YzJlN2I0MCJ9",
  "prev_cursor": null,
  "refresh_cursor": "eyJ2IjoxLCJzIjoiXCIyMDI2LTA1LTI1VDE2OjQyOjAxWlwiIiwiaSI6IjAxOTJmM2IxLTllMDQtN2NkMy1iODE3LTJhNmY0ZDFjOGUwOSJ9"
}
```

## Query parameters

- `sort` (string, optional)

  Field to sort by. Rates are ordered by country, then network and receiving number type.

  Possible values: `country_code`
- `order` (string, optional)

  Sort direction. Defaults to `asc`, which sorts alphabetically or from oldest to newest, depending on the selected sort field.

  Possible values: `asc`, `desc`
- `limit` (integer, optional): Maximum number of items to return per page.
- `starting_after` (string, optional): Cursor from the `next_cursor` field of a previous list response. Returns items immediately after the cursor position in the current sort order.
- `ending_before` (string, optional): Cursor from the `prev_cursor` or `refresh_cursor` field of a previous list response. Returns items immediately before the cursor position in the current sort order. `prev_cursor` returns the preceding page. `refresh_cursor` anchors at the first row of that response, which on a newest-first sort is how to fetch the items that have appeared since.
- `country_code` (string, optional): Return only rates for receiving numbers in this country.
- `sender_type` (string, optional)

  Return the rates that apply to receiving numbers of this type: the rates specific to it, and the rates with a `null` sender type, which apply wherever the type has no rate of its own. `alphanumeric` is rejected: such a sender cannot receive messages.

  Possible values: `long_code`, `short_code`, `toll_free`
- `currency` (string, optional): The currency of the rates when the request carries no credential, `USD` when left out. With a credential the rates are in the organization's billing currency, and a different `currency` returns `422`.

## Header parameters

- `X-Workspace-Id` (string, optional): Workspace context for the request. Required for dashboard authentication and master keys. Workspace keys and access tokens already identify their workspace; send that workspace or omit the header. A different one is rejected.
- `X-Organization-Id` (string, optional): Organization context for the request. Required for dashboard authentication. An API key or access token carries its own organization, so send either that organization or no header at all; a different one is rejected.

## Response body

- `data` (array of object, required)
- `data.country_code` (string, required): The country of the number that receives the message.
- `data.mcc_mnc` (nullable string, required): The mobile network of the subscriber who sent the message, as its MCC and MNC digits, not the network of the receiving number. `null` on a rate that applies to every network without a row of its own.
- `data.sender_type` (nullable string, required)

  The type of the receiving number this rate is specific to. A number that receives messages is a `long_code`, `short_code` or `toll_free`. `null` on a rate that applies to every number type without a row of its own.

  Possible values: `long_code`, `short_code`, `alphanumeric`, `toll_free`
- `data.unit` (string, required)

  What an SMS rate is charged per:
  - `segment`: One message segment. A long message is sent as several segments and charged for each.

  Possible values: `segment`
- `data.rate` (object, required): What one received segment costs. `transaction_amount` is what we charge to receive it. It is left out where receiving is not priced at this row, with every fallback tried; the message is still received and its carrier fee still charged, and such a message has a `null` `cost`, because `cost` is only reported when the message fee priced. `passthrough_amount` is the carrier fee. It is left out when this row carries none, which on a row with a `null` `mcc_mnc` says nothing about the networks that have a row of their own. It is charged only when the message arrives with both a carrier name and a network code. `amount` is what a received segment costs when both fees are charged at this row's network and number type.
- `data.rate.amount` (string, required): The price of one unit. Where the rate has two fees, it is the sum of the fees present.
- `data.rate.currency_code` (string, required): Your organization's billing currency. Every amount is in it.
- `data.rate.transaction_amount` (string): Our own fee for one unit, on a rate made of two fees. It is the rate behind `cost.transaction_amount` on a message. Left out on a rate with a single fee, and where this fee is not priced.
- `data.rate.passthrough_amount` (string): The third-party fee passed on for one unit. It is the rate behind `cost.passthrough_amount` on a message. Left out on a rate with a single fee, and where no such fee applies.
- `next_cursor` (nullable string, required): Cursor for the next page. Pass back as `starting_after` to advance forward. `null` when no next page exists.
- `prev_cursor` (nullable string, required): Cursor for the previous page. Pass back as `ending_before` to step backward. `null` when no previous page exists.
- `refresh_cursor` (nullable string, required): Refresh anchor, the first row of this response. Pass back as `ending_before` to fetch what precedes it in the current sort order. On a newest-first sort those are the items that have appeared since; on any other sort they are the items that sort earlier, so refreshing such a list means re-fetching it instead. Non-`null` whenever `data` is non-empty; `null` only on an empty page. Distinct from `prev_cursor`.

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
