Rufnummer API

Ersetzen Sie die Variable {number} mit einer Rufnummer im E.164 Format, jedoch ohne vorangestelltes "+".

Kompaktansicht

/number/{number}

Liefert eine kompakte Ansicht zu einer Rufnummer, deren Bestandteile mit scope bestimmt werden können. Wenn Sie nur einen bestimmen Bestandteil erhalten möchten, können Sie die entsprechende Methode ausführen, die weiter unten aufgeführt sind.

Pfad-Variablen
number
GET /number/491703453346 HTTP/1.1
Host: api.reverselookup.net
X-Api-Key: {$YOUR_API_KEY}
Accept: application/json
curl -L \
  --url 'https://api.reverselookup.net/number/491703453346' \
  --header 'X-Api-Key: {$YOUR_API_KEY}'
const response = await fetch("https://api.reverselookup.net/number/491703453346", {
    method: "GET",
    headers: {
        "X-Api-Key": "{$YOUR_API_KEY}",
        "Accept": "application/json"
    },
});

const data = await response.json();
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.reverselookup.net/number/491703453346",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Content-Type: application/json",
    "X-Api-Key: {$YOUR_API_KEY}"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
import requests

response = requests.get(
    "https://api.reverselookup.net/number/491703453346",
    headers={"X-Api-Key":"{$YOUR_API_KEY}","Accept":"*/*"},
)

data = response.json()
Query-Parameter

scope

Mit Komma getrennte Aufzählung der Methoden die ausgeführt und ausgegeben werden sollen.

Mögliche Werte: validate, verify, caller-id, meta, hlr-lookup, inverse-lookup

{
    "valid": true,
    "phone_number": "+491703453346",
    "national_format": "0170 3453346",
    "type": "mobile",
    "carrier": "T-Mobile",
    "country_code": "DE",
    "country_name": "Deutschland",
    "region_code": 49,
    "timezones": [
        "Europe/Berlin"
    ]
}
<?xml version="1.0" encoding="UTF-8"?>
<root>
    <valid>1</valid>
    <phone_number>+491703453346</phone_number>
    <national_format>0170 3453346</national_format>
    <type>mobile</type>
    <carrier>T-Mobile</carrier>
    <country_code>DE</country_code>
    <country_name>Deutschland</country_name>
    <region_code>49</region_code>
    <timezones>
        <e>Europe/Berlin</e>
    </timezones>
</root>

Validierung

/number/{number}/validate

Überprüft die formelle Richtigkeit einer Rufnummer. Dies umfasst unter anderem die Überprüfung der Landesvorwahl, Ortsvorwahl und Rufnummernlänge.

Pfad-Variablen
number
GET /number/491703453346/validate HTTP/1.1
Host: api.reverselookup.net
X-Api-Key: {$YOUR_API_KEY}
Accept: application/json
curl -L \
  --url 'https://api.reverselookup.net/number/491703453346/validate' \
  --header 'X-Api-Key: {$YOUR_API_KEY}'
const response = await fetch("https://api.reverselookup.net/number/491703453346/validate", {
    method: "GET",
    headers: {
        "X-Api-Key": "{$YOUR_API_KEY}",
        "Accept": "application/json"
    },
});

const data = await response.json();
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.reverselookup.net/number/491703453346/validate",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Content-Type: application/json",
    "X-Api-Key: {$YOUR_API_KEY}"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
import requests

response = requests.get(
    "https://api.reverselookup.net/number/491703453346/validate",
    headers={"X-Api-Key":"{$YOUR_API_KEY}","Accept":"*/*"},
)

data = response.json()

Verifizierung

/number/{number}/verify

Liefert die Validität einer Rufnummer. Überprüft nur das Format, also die Schreibweise einer Rufnummer.

Pfad-Variablen
number
GET /number/491703453346/verify HTTP/1.1
Host: api.reverselookup.net
X-Api-Key: {$YOUR_API_KEY}
Accept: application/json
curl -L \
  --url 'https://api.reverselookup.net/number/491703453346/verify' \
  --header 'X-Api-Key: {$YOUR_API_KEY}'
const response = await fetch("https://api.reverselookup.net/number/491703453346/verify", {
    method: "GET",
    headers: {
        "X-Api-Key": "{$YOUR_API_KEY}",
        "Accept": "application/json"
    },
});

const data = await response.json();
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.reverselookup.net/number/491703453346/verify",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Content-Type: application/json",
    "X-Api-Key: {$YOUR_API_KEY}"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
import requests

response = requests.get(
    "https://api.reverselookup.net/number/491703453346/verify",
    headers={"X-Api-Key":"{$YOUR_API_KEY}","Accept":"*/*"},
)

data = response.json()

Anrufer ID

/number/{number}/caller-id

GET /number/491703453346/caller-id HTTP/1.1
Host: api.reverselookup.net
X-Api-Key: {$YOUR_API_KEY}
Accept: application/json
curl -L \
  --url 'https://api.reverselookup.net/number/491703453346/caller-id' \
  --header 'X-Api-Key: {$YOUR_API_KEY}'
const response = await fetch("https://api.reverselookup.net/number/491703453346/caller-id", {
    method: "GET",
    headers: {
        "X-Api-Key": "{$YOUR_API_KEY}",
        "Accept": "application/json"
    },
});

const data = await response.json();
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.reverselookup.net/number/491703453346/caller-id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Content-Type: application/json",
    "X-Api-Key: {$YOUR_API_KEY}"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
import requests

response = requests.get(
    "https://api.reverselookup.net/number/491703453346/caller-id",
    headers={"X-Api-Key":"{$YOUR_API_KEY}","Accept":"*/*"},
)

data = response.json()

HLR Abfrage

/number/{number}/hlr-lookup

GET /number/491703453346/hlr-lookup HTTP/1.1
Host: api.reverselookup.net
X-Api-Key: {$YOUR_API_KEY}
Accept: application/json
curl -L \
  --url 'https://api.reverselookup.net/number/491703453346/hlr-lookup' \
  --header 'X-Api-Key: {$YOUR_API_KEY}'
const response = await fetch("https://api.reverselookup.net/number/491703453346/hlr-lookup", {
    method: "GET",
    headers: {
        "X-Api-Key": "{$YOUR_API_KEY}",
        "Accept": "application/json"
    },
});

const data = await response.json();
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.reverselookup.net/number/491703453346/hlr-lookup",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Content-Type: application/json",
    "X-Api-Key: {$YOUR_API_KEY}"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
import requests

response = requests.get(
    "https://api.reverselookup.net/number/491703453346/hlr-lookup",
    headers={"X-Api-Key":"{$YOUR_API_KEY}","Accept":"*/*"},
)

data = response.json()

Rückwärtssuche

/number/{number}/inverse-lookup

GET /number/491703453346/inverse-lookup HTTP/1.1
Host: api.reverselookup.net
X-Api-Key: {$YOUR_API_KEY}
Accept: application/json
curl -L \
  --url 'https://api.reverselookup.net/number/491703453346/inverse-lookup' \
  --header 'X-Api-Key: {$YOUR_API_KEY}'
const response = await fetch("https://api.reverselookup.net/number/491703453346/inverse-lookup", {
    method: "GET",
    headers: {
        "X-Api-Key": "{$YOUR_API_KEY}",
        "Accept": "application/json"
    },
});

const data = await response.json();
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.reverselookup.net/number/491703453346/inverse-lookup",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Content-Type: application/json",
    "X-Api-Key: {$YOUR_API_KEY}"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
import requests

response = requests.get(
    "https://api.reverselookup.net/number/491703453346/inverse-lookup",
    headers={"X-Api-Key":"{$YOUR_API_KEY}","Accept":"*/*"},
)

data = response.json()