| Res required | integer <int32> Result of the call
1 Check completed.
-1 Authentication error or IP not authorised.
-2 Not enough credits.
-3 Parameter error. The detail comes in Error.
-4 The check could not be resolved. Nothing was charged; try again in a few minutes.
-5 The given SERVICIO does not exist.
|
| Servicio | |
| Consulta | string The data that was checked, normalised to international format.
|
| Numero | Array of arrays The number in its different formats and its country. Nacional is the digits without the dialling code, which is what your program will want to store; Formato is the readable version for display and may come back empty. Valido set to 0 means the number is not allocated or is not valid in its country.
|
| Linea | Array of arrays Line type. Tipo is the stable value for your code: movil, fijo, voip, gratuito, compartido, premium, personal, m2m or desconocido. TipoTexto is the readable version.
|
| Operadora | Array of arrays Carrier serving the number. MCC/MNC identify the mobile network and come back empty for landlines.
|
| Portabilidad | Array of arrays Porting history. Consta set to 0 means that country does not publish the data, which is not the same as not having been ported. Dias is the number of days since the change (-1 if unknown): the key figure for spotting a SIM swap.
|
| Riesgo | Array of arrays Risk from 0 to 100, its Nivel (BAJO below 25, MEDIO up to 49, ALTO from 50) and the Motivos explaining it, in plain text. It is input for your policy, not a decision.
|
| Fuente | string Where the data comes from: propia (our own porting registry, Spanish mobiles) or proveedor (international numbering lookup).
|
| Repetida | integer Set to 1 when this is the same check run less than a minute ago: the previous result is returned and nothing was charged.
|
| Creditos | number Credits charged for this call.
|
| Cred | number Credits left after the check.
|
| Error | string Description of the problem when Res is negative.
|