Skip to documentation
Developer documentationAPI v1.0.0OpenAPI ↓
DocsOperations

Operations

Usage logs, reports & CSV

Trace a request, inspect recorded charges and reconcile a defined reporting period.

API 1.0.0Contract reviewed 9 Nov 2026

List lookup activity#

GET/usage/logsBearer token

The operation lists account-scoped lookup activity, documented as 25 records per page. A request log can include type, target, outcome, credits charged and duration in the portal.

Query parameterContract guidance
typeOptional string. Filter values are not enumerated in the schema.
statusOptional string; response-status filter values are not enumerated.
sourceOptional string. Do not invent a source-filter enum from a response enum.
from / toISO UTC date-time values for logs/reports.
pageOptional string parameter; logs are documented as 25 per page.
searchDeclared for CSV export. The portal also uses target search, but search is not declared for logs/report in this snapshot.
Read a UTC reporting window
curl --request GET 'https://api.lookupnest.com/api/v1/usage/logs?type=ip&page=1&from=2026-11-01T00%3A00%3A00.000Z&to=2026-11-09T23%3A59%3A59.999Z' \
  --header "Authorization: Bearer $LOOKUPNEST_ACCESS_TOKEN" \
  --fail-with-body

Open one request#

GET/usage/logs/{id}Bearer token

The reference describes a log and its referenced shared IP details. Use the request reference supplied by your workflow. A log identifier is not proof that the authenticated account owns the record; the server applies account scoping.

Aggregate usage#

GET/usage/reportBearer token

Review balance and usage aggregated from logs. Keep request counts, successful outcomes and credits used separate. They are different operational measures, not necessarily identical totals.

Export CSV#

GET/usage/exportBearer token
Export matching activity
curl --request GET 'https://api.lookupnest.com/api/v1/usage/export?type=email' \
  --header "Authorization: Bearer $LOOKUPNEST_ACCESS_TOKEN" \
  --fail-with-body --output lookupnest-usage.csv

The success content type is text/csv, streamed in batches. Parse the actual file headers rather than assuming a fixed undocumented column order. Export supports type, status, source, search, from and to.

Need help with this integration?

Contact developer support ↗