Show HN: Pay-per-call MCP server with 47 AI endpoints, micropayments via x402

136393666681 pts0 comments

GoldBean โ€” Pay-per-Use API Marketplace | 47 Endpoints

๐Ÿซ˜ GoldBean

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

26 Paid APIs<br>21 Free Endpoints<br>$0.01 Starting at

โšก Try Free Demo โ€” No Sign-up<br>Buy Credits

๐ŸŽ 50 free API calls/day per IP โ€” no signup needed! Register for 20 extra credits.

โšก Try Free Now โ€” No Sign-up<br>๐Ÿ“‹ Quick Start

๐Ÿค– AI: LLM Chat ยท Code Gen ยท Image Gen<br>๐Ÿ‘ OCR ยท TTS ยท ASR ยท Translation<br>๐Ÿ”— Blockchain: BTC ยท ETH Gas ยท NFT<br>๐ŸŒค Weather ยท Search ยท Maps<br>๐Ÿ’ณ PayPal ยท Alipay ยท USDC on Base<br>๐Ÿ“ฆ 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

City:

Get Weather

Click "Get Weather" to see live data

Get BTC/USDT Price

Click to see live price

Get ETH Gas

Click to see live gas fee

โœ… Get 20 Extra Free Credits โ€” No Credit Card, No Wallet

Get Free API Key Now

Click the button above to get 20 free credits instantly

๐Ÿ’ณ Try a Paid Endpoint

Weather Now ($0.01)<br>BTC Price ($0.02)<br>ETH Gas ($0.01)<br>Crypto Price ($0.01)

Pay & Call ($0.01)

50 free calls/day per IP (no signup). Register for 20 extra credits. Buy credits from $1 โ†’ โ€” PayPal, Alipay, or USDC on Base.

๐Ÿš€ Quick Start โ€” 30 Seconds

Free โ€” No Auth Required<br>Copy

# Get weather (free)<br>curl "https://goldbean-api.xyz/weather-now?city=London"

# BTC price (free)<br>curl "https://goldbean-api.xyz/btc-price"

# ETH gas (free)<br>curl "https://goldbean-api.xyz/gas"

Paid โ€” x402 Payment (one call = $0.01)<br>Copy

# Step 1: Get x402 pricing quote<br>curl -H "Accept: application/x402+json" \<br>"https://goldbean-api.xyz/paid/weather-now?city=Tokyo"

# Step 2: Sign the 402 challenge with your wallet<br># (see x402 tutorial below)

# Step 3: Call with signed payment<br>curl -H "Authorization: x402 " \<br>"https://goldbean-api.xyz/paid/weather-now?city=Tokyo"

MCP โ€” AI Agent Integration<br>Copy

# Add to your Claude Desktop / Cursor / Windsurf config:<br>"mcpServers": {<br>"goldbean": {<br>"command": "npx",<br>"args": ["-y", "goldbean-mcp"]

# Or install globally:<br>npm install -g goldbean-mcp

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

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

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

๐Ÿ’ณ Buy Credits โ€” From $1 (PayPal / Alipay / USDC)

๐Ÿ” 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<br>Send request with Accept: application/x402+json

2. 402 Challenge<br>Server returns price + payment instructions

3. Sign + Pay<br>Sign USDC payment with your wallet

4. Response<br>Get your API response!

Quick x402 Signing Tutorial:

Install a wallet

Use MetaMask or any EVM wallet on Base network. Get USDC on Base.

Make an x402 request<br>curl -v -H "Accept: application/x402+json" \<br>"https://goldbean-api.xyz/paid/weather-now?city=Tokyo"

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.<br># Example response header:<br># X-402-Payment: https://goldbean-api.xyz/x402/pay/0x1234...<br># Send USDC to the contract address returned<br># Include the signed transaction hash as Bearer token

Get your data<br>curl -H "Authorization: Bearer " \<br>"https://goldbean-api.xyz/paid/weather-now?city=Tokyo"

๐Ÿ“š Resources

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

goldbean x402 free weather price paid

Related Articles