Skip to content

by Matching prefix

Request

Search for available numbers matching provided number as close as possible.

Checks are performed trying first to get a perfect match, than reducing the matching length by 1 up to 6 digits.

Example: matching 61290081596

  1. Attempt: matching 61290081596
  2. Attempt: matching 6129008159X
  3. Attempt: matching 612900815XX
  4. Attempt: matching 61290081XXX
  5. Attempt: matching 6129008XXXX
  6. Attempt: matching 612900XXXXX
  7. Attempt: matching 61290XXXXXX
Security
HTTP_BASIC
Path
countrystringrequired

Search country.

numberstringrequired

Valid phone number (E164 format)

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

Responses

Successful response

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