Explorer Preview API
Show wallet owners how much SOL they can reclaim from empty token accounts and old protocol positions, with a link to unclaimedsol.com where they can review and claim it. The API is built for block explorer wallet pages. It is read-only and free, with fair-use limits. Nothing is claimed from your interface.
Keys are issued manually to approved explorers. Reach out on Discord to request one.
Authentication
-
Send your key as
Authorization: Bearer <key>. - Call the API from your backend only. The key must never reach a browser, a mobile app or a public repository.
- If a key may have leaked, tell us. We replace it without any change to your integration.
Endpoint
GET https://unclaimedsol.com/api/v1/explorer-preview/{wallet}
{wallet} is the base58 wallet address. There is no
request body. Responses arrive within about 4 seconds, most much
faster. Use a client timeout of 5 seconds and treat a timeout like
an error: show nothing.
curl -H "Authorization: Bearer $UNCLAIMED_API_KEY" \
"https://unclaimedsol.com/api/v1/explorer-preview/<wallet>"
Response
{
"wallet": "<wallet>",
"complete": true,
"atLeastLamports": "4123400",
"categories": {
"tokenAccountRent": "4011000",
"excessSol": "12400",
"legacyProtocols": "100000"
},
"incompleteCategories": [],
"display": { "suggested": true, "minimumLamports": "100000" },
"ctaUrl": "https://unclaimedsol.com/?ref=<your code>&address=<wallet>",
"observedAt": "2026-11-18T12:00:00.000Z",
"cachedUntil": "2026-11-18T12:10:00.000Z"
}
| Field | Meaning |
|---|---|
atLeastLamports |
What the wallet would receive, as a lower bound, after Unclaimed SOL service fees. A decimal string in lamports; divide by 1,000,000,000 for SOL. |
categories |
The same lower bound split into rent from empty token accounts, surplus SOL held in token accounts, and SOL from supported old protocols. |
complete |
true when every category was fully checked. |
incompleteCategories |
Categories that were not checked, or only partly checked. |
display.suggested |
true when atLeastLamports is
at least display.minimumLamports, currently
0.0001 SOL, including on partial results.
|
ctaUrl |
The link for your call to action. It carries your referral code and the wallet. Use it unchanged. |
observedAt |
When the amounts were observed. |
cachedUntil |
You may reuse this response until this time. |
Null means unknown
null means "not checked", never zero.
When we are busy or a lookup is slow, the response is still
200 and categories that could not be checked are
null. If nothing could be checked,
atLeastLamports is null too. Do not show
0 SOL for null; show nothing.
A partial result (complete: false with a non-null
atLeastLamports) is still a valid lower bound of what
was checked. The display rule below applies to it unchanged.
Showing the call to action
Show it only when display.suggested is
true. Otherwise show nothing.
display.suggested is true exactly when
atLeastLamports is not null and is at
least display.minimumLamports, whether or not the
result is complete. Recommended wording,
linking to ctaUrl:
Reclaim at least {X} SOL with Unclaimed SOL
{X} is atLeastLamports in SOL. You may
restyle it. Please:
- Keep the words "at least". The figure is a lower bound, and the full scan on unclaimedsol.com often finds more.
- Do not describe it as a balance the wallet holds. It is SOL the owner can reclaim by closing accounts and positions, not spendable SOL.
The link opens unclaimedsol.com with the wallet filled in and a read-only scan running. The owner connects a wallet only if they choose to claim.
Reusing results
You may call on every wallet page load, and you may reuse a
response for the same wallet until cachedUntil (up to
10 minutes). A reused response can show an amount for a few minutes
after the owner has claimed it; the linked page always runs a fresh
scan. Keep results for a shorter time if you prefer.
Limits and errors
The limit is 10 requests per second per key. Beyond that the API
returns 429 with a Retry-After header.
Errors share one shape:
{ "requestId": "<uuid>", "error": { "code": "rate_limited", "message": "…", "retryable": true } }
| Status | Code | What to do |
|---|---|---|
| 401 | unauthorized |
Check the key. A key that is not yet activated, or is paused, also returns this. |
| 403 | key_revoked, explorer_preview_not_permitted |
Contact us. |
| 422 | invalid_wallet |
The path is not a wallet address. Do not retry. |
| 429 | rate_limited |
Wait Retry-After seconds, then retry. |
| 503 | upstream_unavailable, platform_unavailable |
Temporary. Show nothing and try again later. |
For any error or timeout, show nothing rather than a zero. Quote
the requestId when you contact us about a specific
failure.
Referral code
Your key is tied to your referral code. It appears as
ref in ctaUrl, so claims that start from
your pages are attributed to you. The code is fixed to the key; you
do not send it.
OpenAPI contract
The machine-readable contract is
openapi.yaml
(OpenAPI 3.1). Its server URL is relative; use
https://unclaimedsol.com/api/v1.