Give your agent a swap route.
Request calldata, review the result and sign with your wallet. Pay $0.01 in USDC per route, plus a 0.1% fee on swap output.
Or jump to the code quickstartNative ETH sells include a dry run. ERC-20 sells are not simulated yet.
Swap route
$0.01
USDC per request
Output fee
0.1%
Payment
x402
01 / CAPABILITIES
What your agent can call today.
Swap routes
Get calldata and the expected output after fees.
Token data
Read token details, price and a quote-based round-trip proxy.
Wallet balances
Read token balances and available USD values.
Quotes
Compare swap outputs before requesting calldata.
Monitoring
Get a signed webhook when a balance or price crosses your threshold.
02 / PRICING
Pay for what you use.
| Product | Price | What you get |
|---|---|---|
| Swap route | $0.01 + 0.1% of swap output | Best swap route across Base aggregators as ready-to-sign calldata, with a Beamswap fee of 10 bps (less for GLINT tiers) taken from the output token. |
| Token data | $0.005 | Base token facts: metadata, supply, deployer, USD price, round-trip liquidity check (quote-based proxy). |
| Wallet balances | $0.02 | All ERC-20 + ETH balances of a Base address with USD values. |
| Quote | $0.005 | Best swap output across Base aggregators (quote only, no calldata). |
| Monitoring | $0.01 per item per day | Watch Base balances or USD prices and get a signed webhook when a condition trips. Priced per item per day. |
USDC on Base. Monitoring is prepaid for the selected duration. Swap routes and watch creation do not use free quota. Stakers pay less: 10 / 25 / 40% off by tier.
03 / X402
Payments your agent can handle.
Request a result. Sign the USDC payment. Retry and receive the answer.
No API key or subscription.
Successful paid responses include a settlement receipt.
04 / QUICKSTART
Make your first request.
curl -i -X POST "https://api.beamswap.io/v1/execute/route" -H "content-type: application/json" -d '{"sell":"ETH","buy":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"1000000000000000000","from":"0xe598c65f960a8c39b539f31cabf2c28f1567fd54","recipient":"0xe598c65f960a8c39b539f31cabf2c28f1567fd54","slippageBps":50}'
# → 402 with a PAYMENT-REQUIRED header; retry with PAYMENT-SIGNATURE (any x402 client does this for you)05 / GLINT
LiveGLINT staking benefits.
Stake GLINT to unlock lower USDC prices, free daily calls and lower swap fees.
| Staked GLINT | Free calls / day | USDC discount | Swap fee |
|---|---|---|---|
| 0 | 0 | 0% | 0.1% |
| 100k | 200 | 10% | 0.1% |
| 1M | 2,000 | 25% | 0.05% |
| 10M | 20,000 | 40% | 0.03% |
Staking is live: stake GLINT at 0x0A18f9F3E047E606C17CfcE7C8e17bFF87a4D5a3 to unlock a tier. Unstaking has a seven-day cooldown.
Snapshot claimants receive tier 1 for the first 90 days from launch.
Eligible calls use a wallet session. Quota resets at 00:00 UTC. Unstaking has a seven-day cooldown.