{"uid":"cap_SSFX3OziaLP_Vfl4oDnVh","slug":"1gateway-solana-token-info-587551fa","name":"1gateway Solana Token Info","description":"1gateway lets AI agents buy the data and APIs they need, one call at a time: no signup, no API key, paid per request with USDC on Base or Solana via x402. Coverage: company and compliance checks (sanctions, KYB, SEC filings, Korean companies), Korean real estate, trade and macro data, onchain and market data, and agent utilities such as document-to-Markdown. Every response names its source. Failed calls are never charged.","url":"https://1gateway.dev/v1/onchain/solana/token-info?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["mint"],"properties":{"mint":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","examples":["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"],"description":"Token mint address on Solana mainnet (base58, 32 bytes). Bad input → 400, not a mint → 422 (not charged)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["chain","cluster","mint","slot","program","name","symbol","nameSource","decimals","supply","mintAuthority","freezeAuthority","extensions","knownIssuer","notes","rpc"],"properties":{"rpc":{"type":"object","properties":{"servedBy":{"type":"string"}}},"mint":{"type":"string"},"name":{"type":"string"},"slot":{"type":"integer"},"chain":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}},"supply":{"type":"object","properties":{"raw":{"type":"string"},"amount":{"type":"string"}}},"symbol":{"type":"string"},"cluster":{"type":"string"},"program":{"type":"string"},"decimals":{"type":"integer"},"extensions":{"type":"object","properties":{"list":{"type":"array","items":{"type":"string"}},"metadata":{"type":["object","null"],"properties":{"uri":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"},"updateAuthority":{"type":"string"}}},"transferFee":{"type":["object","null"],"properties":{"basisPoints":{"type":"integer"},"maximumFeeRaw":{"type":"string"},"configAuthority":{"type":"string"}}},"nonTransferable":{"type":"boolean"},"permanentDelegate":{"type":["string","null"]},"mintCloseAuthority":{"type":["string","null"]},"defaultAccountState":{"type":"null"},"transferHookProgram":{"type":"null"}}},"nameSource":{"type":"string"},"knownIssuer":{"type":"object","properties":{"note":{"type":"string"},"issuer":{"type":"string"}}},"mintAuthority":{"type":"string"},"freezeAuthority":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"rpc":{"servedBy":"public"},"mint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","name":"USD Coin","slot":460485942,"chain":"solana","notes":["Name and symbol come from the Token-2022 metadata extension or a short curated list; classic SPL token names live in Metaplex metadata, which is not read here."],"supply":{"raw":"7902622123579990","amount":"7902622123.57999"},"symbol":"USDC","cluster":"mainnet-beta","program":"spl-token","decimals":6,"extensions":{"list":[],"metadata":null,"transferFee":null,"nonTransferable":false,"permanentDelegate":null,"mintCloseAuthority":null,"defaultAccountState":null,"transferHookProgram":null},"nameSource":"curated list","knownIssuer":{"note":"regulated stablecoin; issuer can mint and freeze","issuer":"Circle"},"mintAuthority":"BJE5MMbqXjVwjAF7oxwPYXnTXDyspzZyt4vwenNw5ruG","freezeAuthority":"7dGbd2QZcCKcTndnHcTL8q7SMVXAkp688NTQYwrRCrar"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wTsa-SRk4_Xe18N_n2twm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches on-chain metadata for a Solana token mint, including program type, decimals, supply, authorities, Token-2022 extensions, and known issuer.","exampleAgentPrompt":"Can you look up the on-chain details for the Solana mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v — I need its decimals, token program (SPL or Token-2022), total supply, and whether it has any extensions like transfer fees?","exampleUseCases":[{"title":"Validate token before accepting payment","prompt":"Before I accept this token as payment, can you check the Solana mint So11111111111111111111111111111111111111112 — tell me its decimals, whether it's standard SPL or Token-2022, and if there's anything unusual like a permanent delegate or transfer hook I should know about?"},{"title":"Quote builder fetches token decimals","prompt":"I'm building a swap quote for mint Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB — pull its decimals and raw supply from on-chain so I can calculate the human-readable amount correctly."},{"title":"Due diligence on unknown token","prompt":"Someone just sent me tokens from mint 7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs — can you check if it's a known issuer, what program it uses, and whether it has any Token-2022 extensions like a transfer fee or non-transferable flag?"}],"resultDescription":"A JSON object containing the queried mint address, the on-chain slot at read time, the token program (spl-token or token-2022), token name and symbol, decimals, raw and decimal supply, mint authority, freeze authority, a list of Token-2022 extensions with their configuration (transfer fee basis points and maximum, permanent delegate, transfer hook program, default frozen state, on-chain metadata URI), and a known issuer field if the mint is in a curated registry. Returns 422 (not charged) if the address is not a valid mint, 404 if unknown, and 400 for malformed input.","failureModes":["400 Bad Request — mint parameter is missing or not valid base58","422 Unprocessable Entity — address is valid base58 but is not a token mint account (not charged)","404 Not Found — mint address is valid but not found on-chain or in registry","Network timeout or RPC node latency spikes causing delayed response","Stale slot data if RPC node is behind tip"],"whenToPreferThis":"Choose this endpoint when you need a single, normalized call to get all fundamental metadata about a Solana token mint — especially when you need to handle both legacy SPL tokens and Token-2022 mints with extensions like transfer fees or permanent delegates. It is preferable over raw RPC calls because it normalizes the response, identifies known issuers from a curated registry, and does not charge for invalid mint addresses (422).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:32:47.902Z","isFirstParty":false,"canonicalSlug":"1gateway-solana-token-info-587551fa"}