X402 API runs on your own machine — the client starts it, so there is no endpoint to ping. 41 installs a week from npm. Last commit 12 Mar 2026.
DeFi data API for AI agents — pay-per-call via x402/USDC on Base
Today is the operative word: we check X402 API every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add x402-api -- npx -y @x402-api/mcp-server
{
"mcpServers": {
"x402-api": {
"args": [
"-y",
"@x402-api/mcp-server"
],
"command": "npx"
}
}
}
[mcp_servers.x402-api]
command = "npx"
args = ["-y", "@x402-api/mcp-server"]
{
"mcpServers": {
"x402-api": {
"args": [
"-y",
"@x402-api/mcp-server"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"x402-api": {
"args": [
"-y",
"@x402-api/mcp-server"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
X402_API_BASE_URL (x402 API base URL (default: https://x402-api.fly.dev)).
The author declared them in the registry entry; get the values from the project itself.
Pay-per-call crypto data for AI agents. USDC on Base via x402. No API key.
Pay-per-call data APIs for AI agents. USDC on Base via x402. 33 tools, no signup.
Pay-per-call crypto market intelligence for AI agents. USDC on Base via x402.
Pay-per-call market data for AI agents via x402 (USDC on Base): regime, track record, catalysts.
Pay-per-call DeFi intelligence for AI agents on Base — x402, USDC, no keys.
30 pay-per-call APIs for AI agents: compliance, trade, safety, web, data. USDC on Base via x402.
Pay-per-call QUBO/Ising optimization for AI agents via x402 (USDC on Base). No API keys.
11 pay-per-call web tools for AI agents, auto-paid in USDC on Base via x402. No API keys.
Answers built from our own checks of this server.