Look up a domain live
ONE live lookup: the link data and the clean-history check for any name, in one call. Send `live: true` to load what is missing or stale (sections come back `pending` with a poll handle; send it back as `poll` to read them again). Without `confirm: true` nothing is spent and `live.estimate` says what it would cost, per section; with it the credits are taken once per section. Link data you pulled in the last 7 days and a history verdict of yours from the last 30 days cost nothing to reuse (a priced history check still needs `confirm: true`), and a run that fails or finds no history is refunded. The response is the same as `GET /lookup` plus `live`.
/api/v1/lookupONE live lookup: the link data and the clean-history check for any name, in one call. Send `live: true` to load what is missing or stale (sections come back `pending` with a poll handle; send it back as `poll` to read them again). Without `confirm: true` nothing is spent and `live.estimate` says what it would cost, per section; with it the credits are taken once per section. Link data you pulled in the last 7 days and a history verdict of yours from the last 30 days cost nothing to reuse (a priced history check still needs `confirm: true`), and a run that fails or finds no history is refunded. The response is the same as `GET /lookup` plus `live`.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request bodyrequired
confirmbooleanTrue agrees to spend the estimated credits. Absent or false spends nothing.
domainstringrequiredThe domain to look up, e.g. `example.com`. `https://` and `www.` are accepted and stripped.
livebooleanLoad the live sections.
pollstringA handle from a pending section: read the live sections again. Spends nothing.
Responses
The record, with `live` when asked for.
domainstringrequiredliveobjectPresent with `live`: `estimate` {`credits`, `included`, `sections` [{`name`, `credits`}]}, `handle`, `message`, `poll_after_ms`.
recordobjectrequiredcurl --request POST \
--url "https://getrevised.com/api/v1/lookup" \
--header "Authorization: Bearer YOUR_API_KEY"{
"domain": "<string>",
"live": {},
"record": {}
}