{"uid":"cap_ym-YNETwsaLHunxyhg-tk","slug":"x402factory-ai-5c0488c6","name":"x402factory.ai Solana ATA Creator","description":"Create a Solana associated token account (ATA) for a given Solana wallet and SPL mint, paid via Base USDC. Typical use: prepare a Solana wallet to receive USDC or other SPL tokens before sending funds or using bridge flows. Cost: 0.4 USDC per call, paid on Base. The endpoint checks via Solana RPC whether the ATA already exists; if it already exists at execution time or creation fails, the server attempts to refund the 0.4 USDC payment on Base.","url":"https://x402factory.ai/base/ata","method":"POST","headers":{},"bodySchema":{"type":"object","required":["target_wallet"],"properties":{"mint":{"type":"string","description":"Optional SPL token mint address on Solana for which to create the ATA. When omitted, the server uses its configured USDC_MINT for the Solana NETWORK."},"target_wallet":{"type":"string","description":"Solana wallet address (base58) for which the associated token account (ATA) should be created."}}},"responseSchema":{"ok":{"type":"boolean","description":"True when the ATA exists or was created after a paid call. False when the x402 payment had to be refunded."},"mint":{"type":"string","description":"SPL mint used when checking/creating the ATA on Solana."},"action":{"type":"string","description":"Action performed. For successful calls this is 'create_ata_via_base'."},"status":{"type":"string","description":"Operation status: 'created' when a new ATA was created, 'refunded' when the payment was refunded, or 'refund_failed' when both ATA creation/refund failed."},"message":{"type":"string","description":"Short human-readable summary of the outcome."},"ata_address":{"type":"string","description":"Associated token account address on Solana for the (wallet, mint) pair."},"refund_txid":{"type":"string","description":"Base transaction hash for the refund when a paid call could not create the ATA or the ATA already existed at execution time."},"payment_txid":{"type":"string","description":"Base transaction hash for the x402 payment that unlocked this endpoint, when available."},"target_wallet":{"type":"string","description":"Solana wallet address for which the ATA was checked/created."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.4","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.4/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.4","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.4","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZWYyVaG3oYpXO2CabO1eD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.4","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a Solana Associated Token Account (ATA) for a given wallet and SPL mint, paid via Base USDC","exampleAgentPrompt":"Create a Solana associated token account for wallet address 9B5X5v4MKLLbccdmmcrh1mHcNuWwLsac99DdUvEyChip using the USDC SPL mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v so the wallet can receive USDC tokens — pay the 0.4 USDC fee from my Base wallet.","exampleUseCases":[{"title":"Bridge USDC from Base to Solana","prompt":"I want to bridge 50 USDC from my Base wallet to my Solana wallet at 7kFg3rPqXYZ9mNsLwVbTdA2cHjUeRp1oBfKiSzWnMvDQ. Before sending, make sure the destination wallet has an ATA set up for the USDC SPL mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v so the funds don't get stuck — use my Base wallet to cover the 0.4 USDC setup fee."},{"title":"Airdrop SPL tokens to new wallets","prompt":"I'm about to airdrop our new SPL token to a list of user wallet addresses on Solana, but many of them probably haven't set up a token account yet for our mint GVRZFnKn5M2aLvkMpvM1rXvQy3z8hTdW9CqBfoPjXsEL. Can you initialize the associated token account for wallet 3rNqPwJtYhLmXvBsDcAeUiKgFz6oR8pTMbWnCjVkQ2sZ so it's ready to receive the drop? Pay the fee from my Base wallet."},{"title":"Prepare Solana wallet for DeFi","prompt":"I'm setting up a new Solana wallet to use on a DeFi protocol that requires me to hold USDC, but the wallet doesn't have a USDC token account yet. Please create the associated token account for wallet address BpQ7mXzNvLcKsTdWoRjYeF4hU1iMgA6nCbVkP9sZwE2y using the USDC SPL mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v and pay the 0.4 USDC fee from my Base wallet so the account is ready to go."}],"resultDescription":"Returns confirmation of the ATA creation on Solana, including the new ATA address. If the ATA already existed or creation failed, the server attempts to refund the 0.4 USDC payment on Base and returns the appropriate status.","failureModes":["ATA already exists — server attempts to refund 0.4 USDC and returns an already-exists status","Invalid Solana wallet address — request rejected before payment","Invalid SPL mint address — request rejected before payment","ATA creation fails on Solana RPC — server attempts to refund 0.4 USDC","Insufficient Base USDC balance — payment fails and no action is taken","Solana RPC unavailable — creation may fail with network error"],"whenToPreferThis":"Use this endpoint when you need to initialize a Solana wallet to receive a specific SPL token (e.g. USDC) before executing a bridge, transfer, or airdrop flow. This is especially useful in automated agent pipelines that bridge funds from Base to Solana and need to guarantee the destination ATA exists first. Prefer this over manual on-chain transactions when operating with x402-compatible payment infrastructure on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:40:52.130Z","isFirstParty":false}