Search numbers for sale
Needs the numbers-purchase:read scope. About scopes
Searches the carrier’s numbers by country, type and area code or prefix, as the portal’s Buy numbers search does. Nothing is reserved: order the ones you want with POST /numbers/orders.
keyAuthorizationBearer <traki_account_…>country?string"US""US""CA"type?string"local""local""toll_free"prefix?string^\d{3,7}$limit?integer1 <= value <= 10025Success
application/json- response
data*array<>currency*stringinStock*integerNumbers of this type the account already holds on no campaign: worth using first.
-9007199254740991 <= value <= 9007199254740991curl 'https://api.traki.io/v1/account/numbers/available' \ -H "Authorization: Bearer $TRAKI_KEY"{ "data": [ { "number": "string", "type": "string", "country": "string", "locality": "string", "region": "string", "features": [ "string" ], "monthlyPrice": "string", "setupPrice": "string" } ], "currency": "string", "inStock": -9007199254740991}One payout GET
Previous Page
Order numbers (costs money) POST
Buys the numbers chosen from a search (`phoneNumbers`), or a `quantity` (returned numbers the account holds are reused first and the carrier supplies the rest), through the portal’s own purchase flow: the plan’s number limits (402 limit_reached), a card on file (402 card_required) and the balance for setup fees apply as they do in the portal. Each chosen number comes back purchased or failed with its reason. An order for a publisher without purchase bypass waits in `pending_approval`. Needs an Idempotency-Key: the same request sent again with the same key answers as the first did and buys once.