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/numbersQuery Parameters
All parameters are optional.
| Parameter | Type | Description |
|---|---|---|
| country | string | ISO 3166-1 alpha-2 country code (e.g., IN). Exact match. |
| region | string | Region name. Exact match. |
| circle | string | Telecom circle (e.g., Karnataka). Comma-separate several values to match any of them. Case-insensitive. |
| city | string | City (e.g., Bengaluru). Comma-separated, case-insensitive. |
| type | string | Number type: fixed_line, mobile, toll_free, shared_cost, or unknown. Comma-separated. |
| series | string | Number series (subscriber-block prefix). Comma-separated. |
| pattern | string | Digits to match in the national number (the +91 prefix removed). 786 matches anywhere, 9876* matches numbers starting 9876, *0000 matches numbers ending 0000. |
| search | string | Free text matched against the number, city, circle, and region (e.g., Ahmedabad). |
| price_min | number | Minimum monthly_fee. |
| price_max | number | Maximum monthly_fee. |
| page | integer | Page number. Default 1. |
| per_page | integer | Results 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_TOKENNumbers 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_TOKENResponse
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:
| Field | Type | Description |
|---|---|---|
| e164 | string | Phone number in E.164 format — pass this to Purchase |
| country | string | ISO 3166-1 alpha-2 country code |
| circle, city, std_code, series | string | Location and numbering details. Omitted when unknown. |
| type | string | fixed_line, mobile, toll_free, shared_cost, or unknown. Omitted when unknown. |
| setup_fee | number | One-time fee charged on purchase |
| monthly_fee | number | Monthly rental |
| currency | string | Currency 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, theprice_min/price_maxrange, and your account'srelease_fee_percent. Counts are always0.GET /v1/account/{auth_id}/inventory/regions—country,region, and thecountof available numbers in each.
Next Steps
Once you find a number you want, purchase it.