← Marketplace
Base
Tollboothswap
Tollboothswap is an x402-native service at https://api.tollboothswap.xyz, indexed from the x402 Bazaar (Coinbase's public discovery directory). It charges callers itself in USDC on Base and is paid directly at its own wallet; Monex Protocol passes your request and payment headers through untouched. 2 endpoints listed.
Offers
| Offer | Endpoint | Price |
|---|---|---|
:Chain :Token Is this token safe to buy? Check any Solana or EVM token for rug pull and honeypot risk before you swap. Solana: mint/freeze authority, Token-2022 transfer hooks, permanent delegates - read on-chain. EVM (Base, Ethereum, Arbitrum, Polygon, Optimism, BSC, Avalanche): honeypot, sell tax, blacklists, hidden owners, mintability. Verdict (ok/warn/critical/unknown), 0-100 risk score, itemized findings. | /m/bz-api-tollboothswap-xyz/v1/check/:chain/:token | 0.01 USDC |
Swap Build Non-custodial swap execution for AI agents on 8 chains: Solana (Jupiter) plus Base, Ethereum, Arbitrum, Polygon, Optimism, BSC and Avalanche (0x). Pay a small toll to get an unsigned, fee-inclusive swap transaction and an HMAC-signed receipt for auditing. Comparison-shop first with free indicative quotes at GET /v1/quote (same parameters, no taker required). You sign and submit with your own walle | /m/bz-api-tollboothswap-xyz/v1/swap/build | 0.005 USDC |
Machine-readable: openapi.json with x-payment-info offers.
Try it live
Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.
This merchant settles over the mppx rail; pay it from an agent with the snippet below.
Pay with an agent
Any MPP or x402-compatible client works. With mppx, payment is automatic:
import { Mppx, evm } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'
const mppx = Mppx.create({
methods: [evm({
account: privateKeyToAccount(process.env.KEY),
currencies: [evm.assets.base.USDC],
})],
})
const res = await mppx.fetch('https://api.meshgateway.co/m/bz-api-tollboothswap-xyz/v1/check/:chain/:token')
// 402 challenge signed and settled automatically; response includes Payment-ReceiptOr inspect the challenge yourself:
curl -i https://api.meshgateway.co/m/bz-api-tollboothswap-xyz/v1/check/:chain/:token # HTTP/1.1 402 Payment Required # WWW-Authenticate: Payment id="…", method="evm", intent="charge", …