๐Ÿซ˜ GoldBean

Pay-per-Use API Marketplace โ€” 48 routes, pay only for what you use

26 Paid APIs 21 Free Endpoints $0.01 Starting at
Try Live Demo Quick Start
๐Ÿค– AI: LLM Chat ยท Code Gen ยท Image Gen ๐Ÿ‘ OCR ยท TTS ยท ASR ยท Translation ๐Ÿ”— Blockchain: BTC ยท ETH Gas ยท NFT ๐ŸŒค Weather ยท Search ยท Maps ๐Ÿ’ณ x402 ยท PayPal ยท Alipay ๐Ÿ“ฆ MCP: npx goldbean-mcp

โšก Live Demo โ€” Try it Now

Click a button below to call a real GoldBean API endpoint. No sign-up required!

๐ŸŒค Weather
โ‚ฟ BTC Price
โ›ฝ Gas Fee
Click "Get Weather" to see live data
Click to see live price
Click to see live gas fee
Note: Paid endpoints require x402 payment signature. Learn about x402 โ†’

๐Ÿš€ Quick Start โ€” 30 Seconds

Free โ€” No Auth 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"
Paid โ€” x402 Payment (one call = $0.01)
# 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"
MCP โ€” AI Agent Integration
# Add to your Claude Desktop / Cursor / Windsurf config:
{
  "mcpServers": {
    "goldbean": {
      "command": "npx",
      "args": ["-y", "goldbean-mcp"]
    }
  }
}

# Or install globally:
npm install -g goldbean-mcp

๐Ÿ’ฐ Pricing โ€” Starting at $0.01

No subscription. No monthly fees. Pay only for what you use.

CategoryExample APIsPrice
๐Ÿง  AILLM Chat, Code Gen, Image Gen, Summary, Translate$0.02 โ€“ $0.05
๐Ÿ‘ VisionOCR, Image Analysis, Image Upscale$0.02 โ€“ $0.03
๐Ÿ”— CryptoBTC Price, ETH Gas, Token Insight, NFT Floor$0.01 โ€“ $0.03
๐ŸŒค UtilityWeather, Search, IP Locate, QR Gen, Maps$0.01 โ€“ $0.02
๐ŸŽต VoiceTTS, ASR$0.02
๐Ÿ†“ FreeHealth, Plans, x402 Bazaar, OpenAPIFree

View Full Plan Details โ†’

๐Ÿ” How x402 Works

x402 is a pay-per-request protocol for HTTP APIs. Instead of API keys or subscriptions, you pay per call using USDC on Base.

1. Request Send request with Accept: application/x402+json โ†’
2. 402 Challenge Server returns price + payment instructions โ†’
3. Sign + Pay Sign USDC payment with your wallet โ†’
4. Response Get your API response!

Quick x402 Signing Tutorial:

  1. Install a wallet
    Use MetaMask or any EVM wallet on Base network. Get USDC on Base.
  2. Make an x402 request
    curl -v -H "Accept: application/x402+json" \
      "https://goldbean-api.xyz/paid/weather-now?city=Tokyo"
  3. Sign the challenge
    The server returns a 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
  4. Get your data
    curl -H "Authorization: Bearer <signed-tx-hash>" \
      "https://goldbean-api.xyz/paid/weather-now?city=Tokyo"

๐Ÿ“š Resources

๐Ÿ“ฆ MCP Servernpx goldbean-mcp
๐Ÿ“– OpenAPI Spec/openapi.json
๐Ÿ›’ Pricing Plans/paid/plans
๐Ÿ”— x402 Bazaar/.well-known/x402-bazaar
๐Ÿ’ป GitHubgithub.com/wuzenghai616-lang/goldbean
๐Ÿ“ Dev.todev.to/goldbean
๐Ÿช MCP Registryxyz.goldbean-api/goldbean-mcp