Numbers

Search Available Numbers

Search the TryVox number catalog for available phone numbers.

Search the catalog of numbers available to buy. Browsing the catalog does not require KYC approval — buying does.

Endpoint

GET /v1/account/{auth_id}/inventory/numbers

Query Parameters

All parameters are optional.

ParameterTypeDescription
countrystringISO 3166-1 alpha-2 country code (e.g., IN). Exact match.
regionstringRegion name. Exact match.
circlestringTelecom circle (e.g., Karnataka). Comma-separate several values to match any of them. Case-insensitive.
citystringCity (e.g., Bengaluru). Comma-separated, case-insensitive.
typestringNumber type: fixed_line, mobile, toll_free, shared_cost, or unknown. Comma-separated.
seriesstringNumber series (subscriber-block prefix). Comma-separated.
patternstringDigits to match in the national number (the +91 prefix removed). 786 matches anywhere, 9876* matches numbers starting 9876, *0000 matches numbers ending 0000.
searchstringFree text matched against the number, city, circle, and region (e.g., Ahmedabad).
price_minnumberMinimum monthly_fee.
price_maxnumberMaximum monthly_fee.
pageintegerPage number. Default 1.
per_pageintegerResults per page. Default 20, max 100.

Different filters combine with AND; comma-separated values within one filter combine with OR.

Request Example

Fixed-line numbers in Bengaluru:

curl "https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/inventory/numbers?country=IN&city=Bengaluru&type=fixed_line&per_page=10" \
  -u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN

Numbers ending in 0000:

curl "https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/inventory/numbers?country=IN&pattern=*0000" \
  -u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN

Response

Results are sorted by e164. Instead of a total count, meta.has_more tells you whether another page exists.

{
  "data": [
    {
      "id": "6f1c2b9e-3a4d-4c1e-9b7a-2d5e8f0a1b2c",
      "e164": "+918045671234",
      "country": "IN",
      "region": "Bengaluru",
      "circle": "Karnataka",
      "city": "Bengaluru",
      "std_code": "80",
      "series": "804567",
      "type": "fixed_line",
      "status": "active",
      "currency": "INR"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 10,
    "has_more": true
  }
}

Each item is a number object. The fields most useful when choosing a number:

FieldTypeDescription
e164stringPhone number in E.164 format — pass this to Purchase
countrystringISO 3166-1 alpha-2 country code
circle, city, std_code, seriesstringLocation and numbering details. Omitted when unknown.
typestringfixed_line, mobile, toll_free, shared_cost, or unknown. Omitted when unknown.
setup_feenumberOne-time fee charged on purchase
monthly_feenumberMonthly rental
currencystringCurrency of the fees

Facets and Regions

Two helper endpoints drive filter UIs:

  • GET /v1/account/{auth_id}/inventory/facets?country=IN — the circles, types, and cities that currently have stock, the price_min/price_max range, and your account's release_fee_percent. Counts are always 0.
  • GET /v1/account/{auth_id}/inventory/regions — country, region, and the count of available numbers in each.

Next Steps

Once you find a number you want, purchase it.

On this page