Zum Hauptinhalt springen
GET
curl
Die Phone Lookup History API von Didit listet die Telefonrisikoabfragen Ihrer Anwendung vom neuesten zum ältesten. Jedes Ergebnis enthält die vollständige Telefonnummer, den Status, das Land, den Leitungstyp, den Risiko-Score und den Erstellungszeitpunkt. Der Risiko-Score ist null, wenn er nicht verfügbar ist. Sie können nach einer exakten phone_number oder nach einem Erstellungszeitraum filtern. Der Zeitraum schließt created_after ein und created_before aus. Um die nächste Seite abzurufen, senden Sie den Wert von next als offset, bis next den Wert null hat. next und previous sind Seitenoffsets wie "20" und keine URLs. Die automatische Paginierung eines Server-SDK kann diesen Offsets nicht folgen, daher müssen Sie dort ebenfalls offset selbst übergeben.

Autorisierungen

x-api-key
string
header
erforderlich

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

Abfrageparameter

phone_number
string

One number. An E.164 number.

Beispiel:

"+12025550136"

created_after
string<date-time>

Include lookups created at or after this time. The earliest lookup time, ISO 8601.

created_before
string<date-time>

Include lookups created before this time.

limit
integer
Standard:20

20 by default, 100 at most. Rows per page.

Erforderlicher Bereich: 1 <= x <= 100
Beispiel:

20

offset
integer

Where the page starts: 0 by default, or the next or previous value of another page. Rows to skip.

Erforderlicher Bereich: x >= 0

Antwort

A page of matching phone lookups.

count
integer

Rows that match the filters.

Beispiel:

1

next
string | null

Offset of the next page of lookups, as a string such as "20", or null on the last page. It is not a URL: send it as offset to read that page.

Pattern: ^[0-9]+$
Beispiel:

"20"

previous
string | null

Offset of the previous page of lookups, as a string such as "0", or null on the first page. It is not a URL: send it as offset to read that page.

Pattern: ^[0-9]+$
Beispiel:

"0"

results
object[]

The rows, newest first.

Zuletzt geändert am 24. November 2026