Phone Portability

post/phone-mnp

Request

  • Base URL
    https://api.trustfull.com/data/1.0
  • URL
    https://api.trustfull.com/data/1.0/phone-mnp
  • Auth
    API key in header X-API-KEY

Request body

transaction_idstring required

The unique identifier of this transaction. Duplicated value are not allowed.

phone_numberstring required

Phone number you want to lookup. The expected format is international, with leading country-code and without zeros or '+' symbol.

Response

200

is_valid_formatboolean
is_portedboolean
original_network_namestring
original_network_codestring
current_network_namestring
current_network_codestring
ported_timesinteger
first_portedstring
last_portedstring

Example response

{
  "is_valid_format": true,
  "is_ported": true,
  "original_network_name": "Vodafone",
  "original_network_code": "22235",
  "current_network_name": "Tim",
  "current_network_code": "22234",
  "ported_times": 5,
  "first_ported": "2017-01-01",
  "last_ported": "2020-01-01"
}

Changes

No recorded changes to this operation across all 1 revision of this API.