Skip to content
Fourohtwo

x402factory.ai/solana/ata

Create a Solana associated token account (ATA) for a given wallet and SPL mint so it can hold that token. Typical use: prepare a wallet to receive USDC or other SPL tokens before sending funds. Cost: 0.4 USDC per call. The endpoint checks via RPC whether the ATA already exists; if it does, discovery returns an error and no payment is needed. For paid calls, if the ATA cannot be created or is found

SolanaUnchecked
POSThttps://x402factory.ai/solana/ata

UptimeNot checked yet

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://x402factory.ai/solana/ata" \
  -d '{"mint":{"type":"string","required":false,"description":"Optional SPL token mint address for which to create the ATA. When omitted, the server uses its configured USDC_MINT for the current NETWORK."},"target_wallet":{"type":"string","required":true,"description":"Solana wallet address (base58) for which the associated token account (ATA) should be created."}}'

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "mint": {
    "type": "string",
    "required": false,
    "description": "Optional SPL token mint address for which to create the ATA. When omitted, the server uses its configured USDC_MINT for the current NETWORK."
  },
  "target_wallet": {
    "type": "string",
    "required": true,
    "description": "Solana wallet address (base58) for which the associated token account (ATA) should be created."
  }
}