Coingecko API Data
by Coingecko SerenAI
This Coingecko API provides access to 50+ market data endpoints and 2 years historical data
by U.S. Department of the Treasury
This API provides access to a wide range of public federal financial data, including topics like public debt, revenue, spending, interest rates, and more
Install the x402 MCP server to let your AI agent access this data with automatic USDC payments on Base.
Add to claude_desktop_config.json:
{
"mcpServers": {
"x402": {
"command": "npx",
"args": ["@serendb/x402-mcp-server"],
"env": {
"X402_GATEWAY_URL": "https://api.serendb.com",
"WALLET_PRIVATE_KEY": "0x..."
}
}
}
}Replace 0x... with your wallet private key.
claude mcp add x402 \ -e X402_GATEWAY_URL=https://api.serendb.com \ -e WALLET_PRIVATE_KEY=0x... \ -- npx -y @serendb/x402-mcp-server
claude mcp add x402 ` -e X402_GATEWAY_URL=https://api.serendb.com ` -e WALLET_PRIVATE_KEY=0x... ` '--' npx -y @serendb/x402-mcp-server
Replace 0x... with your wallet private key.
gemini mcp add x402 \ -e X402_GATEWAY_URL=https://api.serendb.com \ -e WALLET_PRIVATE_KEY=0x... \ -- npx -y @serendb/x402-mcp-server
Replace 0x... with your wallet private key.
codex mcp add x402 \ --env X402_GATEWAY_URL=https://api.serendb.com \ --env WALLET_PRIVATE_KEY=0x... \ -- npx -y @serendb/x402-mcp-server
Important: Cursor has a 60s timeout. Pre-install globally first: npm install -g @serendb/x402-mcp-server
First, install globally to avoid timeout issues:
npm install -g @serendb/x402-mcp-server
Then add to ~/.cursor/mcp.json:
{
"mcpServers": {
"x402": {
"command": "x402-mcp-server",
"args": [],
"env": {
"X402_GATEWAY_URL": "https://api.serendb.com",
"WALLET_PRIVATE_KEY": "0x..."
}
}
}
}Also works with Windsurf, Zed, and other MCP-compatible clients. See the full setup guide for details.
Access data directly via HTTP using the x402 payment protocol.
HTTP 402 with payment requirements (amount, wallet, EIP-712 data)X-PAYMENT header containing the signaturecurl -X POST https://api.serendb.com/agent/api \
-H "Content-Type: application/json" \
-d '{
"publisherId": "cd9118d8-9b32-47cd-b0e1-52419533774c",
"agentWallet": "0xYourWalletAddress",
"request": {
"method": "GET",
"path": "/endpoint"
}
}'This returns 402 Payment Required with the payment details you need to sign.
After signing the EIP-712 authorization, add the base64-encoded signature:
curl -X POST https://api.serendb.com/agent/api \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <base64-encoded-signature>" \
-d '{ ... }'by Coingecko SerenAI
This Coingecko API provides access to 50+ market data endpoints and 2 years historical data
by Nasdaq Data Link SerenAI
This Nasdaq Data Link API provide access to all Nasdaq Data Link Sources
by Kalshi
Access Kalshi prediction markets for real-time odds on elections, economics, and world events. Supports both read-only market data and authenticated trading.