DEV Community

Cover image for GoldBean: 47 AI Endpoints with x402, PayPal and Alipay
GoldBean
GoldBean

Posted on

GoldBean: 47 AI Endpoints with x402, PayPal and Alipay

GoldBean: Pay-Per-Call API Marketplace

Banner

I built GoldBean - 47 AI API endpoints (OCR, TTS, ASR, LLM, Image Gen) where you pay per call. No subscription required.

3 Payment Methods (All Live in Production)

Method Min Best For
PayPal $1 International users with credit/debit cards
Alipay CNY 7 China users with WeChat Pay / bank cards
USDC on Base (x402) $0.01 Crypto-native AI agents paying per call

What's Inside (47 Endpoints)

  • OCR: Baidu OCR (general, medical, education, table)
  • TTS: 10+ voices, Chinese and English
  • ASR: Speech-to-text with speaker diarization
  • LLM: ERNIE 4.0, Qwen, DeepSeek chat completions (OpenAI-compatible)
  • Image Gen: Stable Diffusion XL
  • 21 free endpoints: BTC price, exchange rates, IP lookup, etc.

Quick Start

# Register - get 20 free credits
curl -X POST https://goldbean-api.xyz/paid/user/register

# Call OCR (1 credit = $0.01)
curl https://goldbean-api.xyz/paid/baidu-ocr -H "x-user-id: YOUR_ID"

# MCP server for AI agents
npx goldbean-mcp

# x402 SDK for programmatic payments
npm install @goldbean/x402-sdk
Enter fullscreen mode Exit fullscreen mode

MCP Integration

Add to your Claude Desktop config:

{
  "mcpServers": {
    "goldbean": {
      "url": "https://goldbean-api.xyz/sse"
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Pricing

  • Free tier: 20 credits (no credit card)
  • Credits: $1 = 100 calls, $5 = 600 calls (+20%), $10 = 1500 calls (+50%)
  • Membership: $29.9/mo (unlimited), $69/quarter, $269/year
  • x402: $0.01-$0.08 per call (crypto, no signup)

Links

Built with Node.js, x402 protocol, PayPal Smart Buttons, and Alipay SDK. Powered by Baidu AI APIs.

Top comments (0)