Skip to content

by Location

Request

Search for available numbers by location will return all available numbers within a provided radius from the search location.

Security
HTTP_BASIC
Path
countrystringrequired

Search country.

locationstringrequired

Search into AVANSER inventory by Address eg. "Level 2 150-152 Elizabeth St, 2000 NSW, Australia".

Query
radiusnumber

Search radius in kilometers.

Default:20
curl -i -X GET \
  -u '<username>:<password>' \
  'https://tapi.avanser.com/v1/numbers?country={country}&location={location}?radius=20'

Responses

Successful response

Bodyapplication/json
@transactionobject
responseobject
Response
{ "@transaction": { "id": "c9220015e2f48bc7cf4b38186a7b2025", "account-id": "5995", "request": { … } }, "response": { "E164 Number": { … } } }