{"uid":"cap_LenDiXNoIFPg4gbTJXKks","slug":"coinlight-solana-associated-token-address-deriver-80665ce5","name":"Coinlight Solana Associated Token Address Deriver","description":"Coinlight charges USDC per API call with the x402 protocol on Solana and Base.","url":"https://coinlight-app.vercel.app/p/solana-associated-token-address?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","examples":[{"mint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","owner":"HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM"}],"required":["owner","mint"],"properties":{"mint":{"type":"string","description":"Token mint (base58)."},"owner":{"type":"string","description":"Owner wallet (base58)."},"program":{"enum":["spl-token","token-2022"],"type":"string","description":"spl-token (default) or token-2022."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"endpoint":"Solana associated token address"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-YdxQBTH_oBi1w5BBPCvx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Derives the Associated Token Account (ATA) address for a given owner wallet and mint address on Solana, offline and deterministically, supporting both spl-token and token-2022 programs.","exampleAgentPrompt":"What is the associated token account address for wallet HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM and mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v using the spl-token program?","exampleUseCases":[{"title":"Resolve USDC token account for airdrop","prompt":"I need to send USDC to wallet HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM — what's the associated token account address for the USDC mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v using spl-token?"},{"title":"Derive token-2022 account address","prompt":"Can you derive the token-2022 associated token account for owner 7K3n9QSJJwVjEkXELrQ2xhbS8Lzh4HXNA6HEuqW7rJf and mint 3psH1Mj1f7yUfaVrLZiMuhur548uYA9cWEZmsVZfnJsZ?"},{"title":"Pre-compute ATA before building transaction","prompt":"Before I build my Solana transaction, compute the associated token account address for owner 4Nd1mBQtrMJVYVfKf2PX98 and mint DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 with spl-token so I know where to route the tokens."}],"resultDescription":"Returns the derived Associated Token Account (ATA) address as a base58 string for the given owner and mint combination. The computation is deterministic and performed offline — no Solana RPC call is made, so the result is the canonical PDA address regardless of whether the account exists on-chain yet.","failureModes":["Invalid base58 owner or mint address returns an error response","Unsupported program value (other than spl-token or token-2022) may cause a validation error","Network/payment failure (HTTP 402 if payment not processed correctly)","Malformed query parameters result in a 400 bad request"],"whenToPreferThis":"Use this endpoint when you need to quickly and cheaply derive a Solana ATA address without spinning up a local Solana SDK or making an RPC call to a validator node. Ideal for transaction construction, pre-flight checks, or batch derivation where speed and determinism matter. Prefer over a full Solana RPC call when you only need the address and not on-chain account state.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:33:50.790Z","isFirstParty":false,"canonicalSlug":"coinlight-solana-associated-token-address-deriver-80665ce5"}