List lookup activity#
/usage/logsBearer tokenThe 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 parameter | Contract guidance |
|---|---|
type | Optional string. Filter values are not enumerated in the schema. |
status | Optional string; response-status filter values are not enumerated. |
source | Optional string. Do not invent a source-filter enum from a response enum. |
from / to | ISO UTC date-time values for logs/reports. |
page | Optional string parameter; logs are documented as 25 per page. |
search | Declared for CSV export. The portal also uses target search, but search is not declared for logs/report in this snapshot. |
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-bodyOpen one request#
/usage/logs/{id}Bearer tokenThe 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#
/usage/reportBearer tokenReview 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#
/usage/exportBearer tokencurl --request GET 'https://api.lookupnest.com/api/v1/usage/export?type=email' \
--header "Authorization: Bearer $LOOKUPNEST_ACCESS_TOKEN" \
--fail-with-body --output lookupnest-usage.csvThe 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.