Skip to main content
Surge’s API supports purchasing and managing phone numbers in the United States and Canada. Accounts with an approved Australia registration can also buy Australian mobile numbers. Numbers in other countries are available on a case-by-case basis through support.

US and Canada

Local numbers for US and Canadian area codes are available via the API:
Canadian numbers follow the same 10-digit NANP format as US numbers.

Australia

Australian numbers require an approved Australia registration on the account. Contact Surge support to start one. Once the registration is approved, you can buy Australian mobile numbers for that account. Surge offers only mobile numbers in Australia. In the dashboard, choose Australia from the Country menu when you buy a number. Through the API, pass country set to AU and Surge buys the first available Australian mobile number:
cURL
To choose a specific number, first list the available Australian mobile numbers:
cURL
Each result has "type": "mobile". Then pass the number you want in phone_number, in E.164 format:
cURL
When country is AU, type defaults to mobile, and mobile is the only type Surge accepts. The area_code, latitude and longitude filters aren’t supported for Australian numbers. A purchased Australian mobile number has "type": "local" on the phone number object. Surge returns a 422 if the account has no approved Australia registration, if the request includes an unsupported filter or type, or if the number you pass in phone_number isn’t a mobile number.

Other countries

For phone numbers outside the US, Canada and Australia, contact Surge support. International numbers are reviewed individually and availability varies by country.
What to include in your support request:
  • The country and region you need a number in
  • Your use case (SMS, voice, or both)
  • Expected monthly message volume
  • Your existing business registration in that country (if applicable)

Regulatory considerations

Carrier regulations differ significantly by country. SMS spam laws, opt-in requirements, and registration requirements outside North America vary, and in some markets they’re stricter than the US A2P 10DLC framework. Surge’s support team can advise on what’s required for your target country before you begin the purchasing process.