COINS
Loading coins
NEWS
Loading news
← All Build APIs

TOKEN DATA / DEVELOPER BETA

Solana token data API: supply, decimals and authorities

Put accurate mint data in your app. One response for supply, decimals and token controls, with a timestamp you can inspect.

Built for token discovery tools, wallet apps and bots.

One mint. The base fields your app needs.

The base mint fields

Supply as an exact string, decimals, initialized state and token program. No floating-point rounding.

Visible token controls

Mint and freeze authority addresses, or an explicit null when that authority is revoked.

Freshness you can explain

Confirmed RPC slot, original read time and cache age. Reads may be reused for up to 60 seconds.

MAKE A REAL REQUEST

Look up a Solana token mint.

Live beta demo. Availability depends on the configured providers and their rate limits.

Read-only mint lookup. Cached for up to 60 seconds. No wallet required.

INTEGRATE

GET /api/token-profile

cURL · Request example
curl "https://www.attn.money/api/token-profile?mint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

Query parameters

Request parameters
ParameterRequiredMeaning
mintYesA valid Solana mint public key. Wallet and token-account addresses are not token mints.

HANDLE THE RESPONSE

Use the fields. Keep the context.

profile.supplyRaw / supply
Exact integer base units and decimal-formatted supply, both strings.
profile.decimals / program
Mint precision and the supported SPL Token or Token-2022 program.
profile.mintAuthority / freezeAuthority
Authority public key or explicit null. Missing provider fields cause an error rather than a revoked label.
profile.observedSlot / observedAt
Confirmed RPC context slot and original read timestamp; cached hits preserve both.
freshness
Cache hit, miss or coalesced read, age in seconds and 60-second reuse window.
400 · Invalid input

Check addresses, amounts and request fields before retrying.

429 · Rate limited

Back off and retry within your confirmed API limits.

Provider failure

Handle non-success responses explicitly. Never present missing data as a completed check or swap.

THE INTEGRATION

Before you integrate

Turn raw fields into context your users can understand.

How is token data different from a token check?

Token data reads the base mint fields. Token checks add Jupiter buy/sell quote-path signals. Use the lightweight read when your app only needs supply, decimals and authorities.

Can I use this as a token safety verdict?

No. Revoked mint and freeze authorities do not prove that a token is safe or liquid. Token-2022 extensions, holders and liquidity require separate analysis.

How fresh is the response?

A successful response can be reused for up to 60 seconds. Check observedAt, observedSlot and freshness.ageSeconds. The slot and timestamp do not reset when a cache entry is reused.

What are the public demo limits?

The configured beta limit is 10 requests per minute per client per server instance; local development may bypass that client limit. Cold reads are also capped at 60 per minute and four concurrent reads per instance. Distributed production quotas and paid API keys are not active yet.

Why use this instead of raw RPC?

Raw RPC is a good option when you want to manage parsing and infrastructure yourself. ATTN supplies a small response contract, explicit freshness, input validation and consistent errors alongside the check and swap tools.

PILOT ACCESS

Start small. Confirm the costs.

Pilot target: $1 per 10,000 successful token-data reads, with a proposed $10 prepaid starting budget. Current demos are unmetered. Confirm access and limits before production use.

Paid access is not self-serve yet. Request a confirmed pilot before paying or sending production traffic.