POST /api/v1/scan/{address}
The endpoint partner products call on their own users’ behalf. One address in,
one screen out, from the OFAC extract and the exchange-wallet table compiled into
the build, plus the live Solana launch census.
curl
chain in the body is optional. It is detected from the address shape, and a
value that disagrees with the address is a 400 rather than a silent
preference: a caller that believes an address is on a different chain than its
own encoding implies has a bug, and answering anyway would hide it.
The four verdicts
checked_at is when the request was answered. It is not the age of the data.
measured_on beside it is the day the Solana deployer data was measured (null
for an EVM address, where no deployer data is read), and the solana_deployer
check repeats it with age_days and out_of_date. A flag from an old
measurement stays FLAGGED and its note gives the day. An unflagged record
from an old measurement is never NO_FINDINGS.
Solana deployer answers come from the live launch census, rebuilt about every
2 hours. If the live read fails or times out, that address is answered from the
committed snapshot measured 2026-09-21, marked data_source: "snapshot" on the
solana_deployer check and in provenance.solana_deployer, and an unflagged
snapshot record is historical, never clean.
provenance.solana_deployer.freshness describes the data actually used.
There is no SAFE, and there is no confidence number
Both were in the original brief for this endpoint. Neither could be built
honestly, and the reason is worth stating plainly because partners will be
asked about it by their own users.
There is no wallet risk model in this product. Not disabled: absent. The
one machine-learned score that exists scores a token contract, and it is
withheld in production. It was withheld after it returned an identical
rug_risk: 81.1 for 0xdeadbeef…, for an all-zeroes address and for real
USDC: 81.1 is what the model emits when it has no features, so the number was
an accusation generated by the absence of data and attached to a real address.
So a confidence between 0 and 1 here could only be invented, and SAFE could
only be asserted. Two of the three datasets are partial by construction, and
the sanctions check is a direct match against one list: the payload’s own
caveat says it “is not a sanctions clearance”. Nothing here can establish that
an address is fine. It can establish that nothing matched, which is a different
statement, and NO_FINDINGS is the word for it.
RUG is absent for a third reason: it is a legal characterisation of a named
stranger. The strongest supported claim is the one FLAGGED makes.
UNKNOWN is the common answer, and it is the honest one
The launch census only holds a wallet once one of its launches has settled,
and the SDN extract holds about a thousand addresses. A wallet that deployed
its first token this morning is in neither. That returns UNKNOWN, not NO_FINDINGS, and the
distinction is deliberate: it is the modal case for a rug-check surface,
because a user consults one exactly when a token is new.
Render it as “we have no record of this address”. Rendering it as a pass is the
one misuse of this endpoint that could cause real harm.
Reading checks
verdict is a summary; checks is what it was computed from, and a partner
rendering a pass should read it.
no_match and no_record look identical to code that only reads
checked: true, and they are not the same fact. The SDN extract is exhaustive
within its scope. The launch corpus and the exchange table are partial, and
having nothing for an address is the normal state of most addresses.
If the SDN extract cannot be read, its check reports checked: false and the
verdict cannot be SANCTIONED. It fails closed: an unreadable list is never a
clean screen.
Latency bound
The OFAC extract and the exchange-wallet table are compiled into the deployment, so an EVM scan and the sanctions check are local map lookups. A Solana scan also reads the live launch census: up to two reads, 2.5 seconds each and one after the other (the address, then the corpus summary when it is not cached), after which it falls back to the committed snapshot. The worst case for a Solana scan is therefore about 5 seconds, and a typical one is a single cached read. The route does not call the intelligence engine or any explorer, so it spends no provider budget shared with the rest of the product. The tradeoff is that it is narrow. It knows what the OFAC extract, the exchange-wallet table and the Solana launch census know, and nothing else. For a full reconstruction of an address (chain facts, entity cluster, bridge transfers, the sanctions proximity walk) the customer API’s/api/v1/wallet/{address}/score is the route, and it takes
an Analyst key.
Who can call this
Partner keys arescp_-prefixed, minted by arrangement, and hashed at rest:
only the SHA-256 is stored, so a key is shown once and a lost one is replaced
rather than recovered. They are deliberately not customer credentials: a
partner key resolves to no Whop membership and buys no entitlement, and a
customer key resolves to no partner and spends no partner budget. Neither
resolver accepts the other’s prefix.
Every response carries
X-Partner-Limit and X-Partner-Remaining. A burst
refusal does not spend monthly budget: a partner is never billed for a request
that returned 429.