Pay-per-Use API Marketplace โ 48 routes, pay only for what you use
npx goldbean-mcp
Click a button below to call a real GoldBean API endpoint. No sign-up required!
# Get weather (free)
curl "https://goldbean-api.xyz/weather-now?city=London"
# BTC price (free)
curl "https://goldbean-api.xyz/btc-price"
# ETH gas (free)
curl "https://goldbean-api.xyz/gas"
# Step 1: Get x402 pricing quote
curl -H "Accept: application/x402+json" \
"https://goldbean-api.xyz/paid/weather-now?city=Tokyo"
# Step 2: Sign the 402 challenge with your wallet
# (see x402 tutorial below)
# Step 3: Call with signed payment
curl -H "Authorization: x402 " \
"https://goldbean-api.xyz/paid/weather-now?city=Tokyo"
# Add to your Claude Desktop / Cursor / Windsurf config:
{
"mcpServers": {
"goldbean": {
"command": "npx",
"args": ["-y", "goldbean-mcp"]
}
}
}
# Or install globally:
npm install -g goldbean-mcp
No subscription. No monthly fees. Pay only for what you use.
| Category | Example APIs | Price |
|---|---|---|
| ๐ง AI | LLM Chat, Code Gen, Image Gen, Summary, Translate | $0.02 โ $0.05 |
| ๐ Vision | OCR, Image Analysis, Image Upscale | $0.02 โ $0.03 |
| ๐ Crypto | BTC Price, ETH Gas, Token Insight, NFT Floor | $0.01 โ $0.03 |
| ๐ค Utility | Weather, Search, IP Locate, QR Gen, Maps | $0.01 โ $0.02 |
| ๐ต Voice | TTS, ASR | $0.02 |
| ๐ Free | Health, Plans, x402 Bazaar, OpenAPI | Free |
x402 is a pay-per-request protocol for HTTP APIs. Instead of API keys or subscriptions, you pay per call using USDC on Base.
Quick x402 Signing Tutorial:
curl -v -H "Accept: application/x402+json" \
"https://goldbean-api.xyz/paid/weather-now?city=Tokyo"
402 Payment Required with a X-402-Payment header containing the payment URL. Use your wallet to sign the transaction.
# Example response header:
# X-402-Payment: https://goldbean-api.xyz/x402/pay/0x1234...
#
# Send USDC to the contract address returned
# Include the signed transaction hash as Bearer token
curl -H "Authorization: Bearer <signed-tx-hash>" \
"https://goldbean-api.xyz/paid/weather-now?city=Tokyo"
| ๐ฆ MCP Server | npx goldbean-mcp |
| ๐ OpenAPI Spec | /openapi.json |
| ๐ Pricing Plans | /paid/plans |
| ๐ x402 Bazaar | /.well-known/x402-bazaar |
| ๐ป GitHub | github.com/wuzenghai616-lang/goldbean |
| ๐ Dev.to | dev.to/goldbean |
| ๐ช MCP Registry | xyz.goldbean-api/goldbean-mcp |