Skip to main content
GET
curl
Didit’s Phone Lookup History API lists your application’s Phone risk lookups from newest to oldest. Each result includes the full phone number, status, country, line type, risk score and creation time. The risk score is null when unavailable. Filter by an exact phone_number or a creation window. The window includes created_after and excludes created_before. To read the next page, send the next value as offset until next is null. next and previous are page offsets such as "20", not URLs. A server SDK’s automatic paging cannot follow these offsets, so pass offset yourself there too.

Authorizations

x-api-key
string
header
required

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.

Query Parameters

phone_number
string

One number. An E.164 number.

Example:

"+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
default:20

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

Required range: 1 <= x <= 100
Example:

20

offset
integer

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

Required range: x >= 0

Response

A page of matching phone lookups.

count
integer

Rows that match the filters.

Example:

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]+$
Example:

"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]+$
Example:

"0"

results
object[]

The rows, newest first.

Last modified on November 24, 2026