File size: 5,805 Bytes
f1354c4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
08f4f79
f1354c4
 
 
 
 
 
 
 
 
449e0d8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>GoldBean API — x402 Micropaid API Marketplace</title>
  <style>
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #0d1117; color: #c9d1d9; line-height: 1.6; }
    .container { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
    header { text-align: center; padding: 60px 0; }
    h1 { font-size: 2.8em; background: linear-gradient(135deg, #f0e68c, #daa520); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }
    .subtitle { color: #8b949e; font-size: 1.2em; margin-top: 10px; }
    .badge { display: inline-block; background: #21262d; border: 1px solid #30363d; border-radius: 6px; padding: 4px 12px; font-size: 0.85em; margin: 5px; color: #58a6ff; }
    .section { background: #161b22; border: 1px solid #30363d; border-radius: 8px; padding: 30px; margin: 20px 0; }
    h2 { color: #f0e68c; font-size: 1.5em; margin-bottom: 15px; }
    .endpoint { background: #0d1117; border: 1px solid #21262d; border-radius: 6px; padding: 15px; margin: 10px 0; }
    .ep-path { color: #58a6ff; font-family: monospace; font-size: 1.1em; }
    .ep-price { color: #3fb950; font-weight: 600; }
    .ep-desc { color: #8b949e; font-size: 0.9em; margin-top: 4px; }
    .cta { display: inline-block; background: linear-gradient(135deg, #daa520, #f0e68c); color: #0d1117; font-weight: 700; padding: 14px 28px; border-radius: 8px; text-decoration: none; margin-top: 20px; transition: transform .2s; }
    .cta:hover { transform: scale(1.05); }
    footer { text-align: center; color: #484f58; padding: 40px 0; font-size: 0.85em; }
    code { background: #21262d; padding: 2px 6px; border-radius: 4px; font-size: 0.9em; color: #ffa657; }
    pre { background: #0d1117; border: 1px solid #21262d; border-radius: 6px; padding: 16px; overflow-x: auto; margin: 15px 0; }
    pre code { background: none; color: #c9d1d9; }
  </style>
</head>
<body>
  <div class="container">
    <header>
      <h1>🫘 GoldBean API</h1>
      <p class="subtitle">x402 Micropaid API Marketplace — Pay per call with crypto</p>
      <div>
        <span class="badge">x402 Bazaar ✅</span>
        <span class="badge">32+ Endpoints</span>
        <span class="badge">Base Network</span>
        <span class="badge">MCP Compatible</span>
      </div>
    </header>

    <div class="section">
      <h2>🚀 What is GoldBean?</h2>
      <p>GoldBean is a <strong>pay-per-call API marketplace</strong> built on the x402 protocol. AI agents and developers can access premium APIs using USDC on Base network — no monthly subscriptions, no contracts, just <strong>pay what you use</strong>.</p>
      <p style="margin-top:10px">Each API call costs <strong>$0.01–$0.05</strong>, paid instantly via micropayments through the x402 payment tunnel.</p>
    </div>

    <div class="section">
      <h2>🔌 Available Endpoints</h2>
      
      <div class="endpoint">
        <div><span class="ep-path">/paid/llm-chat</span> <span class="ep-price">$0.01</span></div>
        <div class="ep-desc">AI chat completion (DeepSeek model)</div>
      </div>
      <div class="endpoint">
        <div><span class="ep-path">/paid/image-gen</span> <span class="ep-price">$0.03</span></div>
        <div class="ep-desc">AI image generation from prompt</div>
      </div>
      <div class="endpoint">
        <div><span class="ep-path">/paid/web-search</span> <span class="ep-price">$0.01</span></div>
        <div class="ep-desc">Web search with real-time results</div>
      </div>
      <div class="endpoint">
        <div><span class="ep-path">/paid/llm-translate</span> <span class="ep-price">$0.02</span></div>
        <div class="ep-desc">Multi-language translation</div>
      </div>
      <div class="endpoint">
        <div><span class="ep-path">/paid/market-summary</span> <span class="ep-price">$0.02</span></div>
        <div class="ep-desc">8-coin crypto market snapshot</div>
      </div>
      <div class="endpoint">
        <div><span class="ep-path">/paid/volatility-scan</span> <span class="ep-price">$0.03</span></div>
        <div class="ep-desc">Z-Score volatility analysis</div>
      </div>
      <p style="margin-top:10px;color:#8b949e;font-size:0.9em">Plus 26+ more endpoints including speech, video, code, email, and data analysis tools.</p>
    </div>

    <div class="section">
      <h2>⚡ Quick Start</h2>
      <p>Use any HTTP client. The x402 payment is handled automatically:</p>
      <pre><code>curl "https://goldbean-api.xyz/paid/web-search?q=hello+world"   -H "x-402-wallet: YOUR_WALLET_ADDRESS"</code></pre>
    </div>

    <div class="section">
      <h2>🤖 MCP Integration</h2>
      <p>GoldBean works as an MCP (Model Context Protocol) server. Add to your Claude/Cursor/etc.:</p>
      <pre><code>{
  "mcpServers": {
    "goldbean": {
      "command": "npx",
      "args": ["goldbean-mcp"],
      "env": { "GOLDBEAN_WALLET": "0x..." }
    }
  }
}</code></pre>
      <p style="margin-top:10px">Available on <a href="https://smithery.ai/servers/wuzenghai616/goldbean" style="color:#58a6ff">Smithery</a> — one-click install.</p>
    </div>

    <div style="text-align:center;margin-top:30px">
      <a href="https://goldbean-api.xyz/__bazaar" class="cta">🟢 Try Now — goldbean-api.xyz</a>
      <p style="margin-top:8px;color:#8b949e;font-size:0.85em">No registration needed. Pay per call.</p>
    </div>

    <footer>
      <p>GoldBean (GB) — Wishing You Good Fortune &amp; Prosperity 🫘</p>
      <p style="margin-top:5px">x402 Protocol · Base Network · MCP Enabled</p>
    </footer>
  </div>
</body>
</html>