Pay for API Access with USDC on Solana (x402)
Use a Solana USDC transfer signature as x402 payment proof at Proxies.sx: the mint, amount units, confirmation, 15-minute window and an spl-token example.
By Proxies.sx Team. Reviewed .
To pay a Proxies.sx x402 quote on Solana, transfer the quoted amount of USDC (mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) to the payTo address in the Solana entry of the quote, wait until the transaction is confirmed, and repeat the request with the transaction signature in Payment-Signature. The server reads the transaction from Solana and checks the recipient, the mint, the amount and the time since the payment.
Read live x402 pool pricingNo key or payment needed.
In this guide
What the server checks on Solana
| Check | Must be |
|---|---|
| Network | Solana mainnet, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Token | USDC, mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v |
| Recipient | The payTo of the Solana entry in your quote |
| Amount | maxAmountRequired from the quote |
| Status | Confirmed, with a block time |
| Time | Within 15 minutes of the payment's block |
| Use | A signature that has not opened a purchase before |
Amount units
USDC on Solana also has six decimals. maxAmountRequired is in base units, so "400000" is 0.40 USDC and "4000000" is 4 USDC. The spl-token CLI takes a decimal amount, which is why the example divides by 1,000,000.
Send the transfer
Any Solana wallet, @solana/web3.js or the spl-token CLI can send the transfer. The command below reads the mint, the recipient and the amount from quote.json. Check the flags against the spl-token documentation for your CLI version before you run it with real funds.
Q='.accepts[] | select(.network=="solana")'
MINT=$(jq -r "$Q | .asset" quote.json); PAY_TO=$(jq -r "$Q | .payTo" quote.json)
AMOUNT=$(jq -r "$Q | .maxAmountRequired" quote.json)
spl-token transfer "$MINT" "$(awk -v a="$AMOUNT" 'BEGIN{printf "%.6f", a/1e6}')" "$PAY_TO"
# use the printed signature as Payment-SignatureUse the signature as Payment-Signature
Repeat the request you were quoted for with the transaction signature as Payment-Signature and a random X-Claim-Secret. Present the hash within 15 minutes of the block that carries the payment; the quote says so in maxTimeoutSeconds: 900. A hash first presented inside that window stays valid for retries.
umask 077 # files written below are readable by you only
URL='https://api.proxies.sx/v1/x402/pool?tier=peer&country=us&traffic=1'
curl -s -o quote.json -w '%{http_code}\n' "$URL" # 402
jq '.accepts[] | {network, maxAmountRequired, asset, payTo}' quote.json
# pay maxAmountRequired of asset to payTo, then within 15 minutes of the payment's block:
curl -s -o credential.json -w '%{http_code}\n' "$URL" \
-H "Payment-Signature: <SOLANA_SIGNATURE>" \
-H "X-Claim-Secret: <RANDOM_16_TO_128_CHARS>" # 200"Not yet confirmed" versus "not found"
Both cases get one answer, HTTP 409 Solana transaction not found or not confirmed yet. If you sent it, do not pay again: retry the same request with the same transaction hash in 15 seconds. If it stays unknown, check the hash.
- Solana may know the transaction but not have given it a block time yet. Retry the same request with the same signature after 15 seconds.
- If it stays unknown, check that you copied the signature of the transfer, not of another transaction, then retry.
In both cases, do not send the payment again. The x402 errors guide lists the other answers.
Agents on Solana
The MCP server's wallet mode pays on Base only. An agent that holds USDC on Solana sends the transfer itself with a Solana library and then makes the paid retry, as in the example above. The rest of the flow, from the session token to top-ups, is identical on both networks.
Common questions
Do I need SOL as well as USDC?
Yes. Solana transaction fees are paid in SOL, so the paying wallet needs a small SOL balance.
Is the Solana price different from the Base price?
No. Both entries in the quote carry the same maxAmountRequired.
Which value is the proof, the signature or the account address?
The transaction signature of your transfer. The server reads that transaction and checks it.
Sources and test scope
Quotes, prices and response fields on these pages were read from the live API without payment on 30 November 2026, and the error texts come from the backend build running that day. The wallet account examples follow the source of that build, and their signing commands were checked offline against its verification code. Standards and third-party documentation were checked the same day. These pages do not establish current stock in a country.
Next steps
The x402 overview lists every endpoint. The wallet account recipe gives both purchase paths step by step: x402 direct, and signing in with the paying wallet. Agents can read the machine contracts directly: skill.md for the whole service, pool/skill.md for the Pool Gateway and marketplace/skill.md for the dedicated port. The MCP server gives Claude, Cursor and other clients the same tools, and the price list covers account purchases.
x402 guides: buy proxy access with USDC
Start from the x402 overview, or open the guide for the step you are on.