<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: 吴增海</title>
    <description>The latest articles on Forem by 吴增海 (@_f57c0789acf9224f4d004).</description>
    <link>https://forem.com/_f57c0789acf9224f4d004</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3948446%2Fcaaa0aa3-ddcf-4f17-a37f-2dce51106f66.png</url>
      <title>Forem: 吴增海</title>
      <link>https://forem.com/_f57c0789acf9224f4d004</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/_f57c0789acf9224f4d004"/>
    <language>en</language>
    <item>
      <title>GoldBean MCP: 75+ Paid APIs for AI Agents via x402 Micropayments</title>
      <dc:creator>吴增海</dc:creator>
      <pubDate>Tue, 26 May 2026 12:02:31 +0000</pubDate>
      <link>https://forem.com/_f57c0789acf9224f4d004/goldbean-mcp-75-paid-apis-for-ai-agents-via-x402-micropayments-12e9</link>
      <guid>https://forem.com/_f57c0789acf9224f4d004/goldbean-mcp-75-paid-apis-for-ai-agents-via-x402-micropayments-12e9</guid>
      <description>&lt;h2&gt;
  
  
  GoldBean MCP — 75+ x402-Paid APIs for AI Agents
&lt;/h2&gt;

&lt;p&gt;GoldBean is a comprehensive MCP server that gives AI agents access to &lt;strong&gt;75+ paid endpoints&lt;/strong&gt; across &lt;strong&gt;19 categories&lt;/strong&gt; — all payable via x402 micropayments (USDC on Base chain).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One integration. Pay per call. No subscriptions.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick Start
&lt;/h2&gt;

&lt;p&gt;Add to Claude Desktop config:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;json&lt;br&gt;
{&lt;br&gt;
  "mcpServers": {&lt;br&gt;
    "goldbean": {&lt;br&gt;
      "command": "npx",&lt;br&gt;
      "args": ["-y", "goldbean-mcp"]&lt;br&gt;
    }&lt;br&gt;
  }&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Available Tools (78 endpoints)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Category&lt;/th&gt;
&lt;th&gt;Endpoints&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;🤖 &lt;strong&gt;AI&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;llm_chat, llm_code, llm_summary, llm_translate, llm_embed, sentiment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🖼️ &lt;strong&gt;Image&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;image_gen, image_analyze, image_upscale&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🎥 &lt;strong&gt;Video&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;video_gen, video_analyze&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🔊 &lt;strong&gt;Audio&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;text_2_voice, voice_2_text, music_recognize&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;💰 &lt;strong&gt;Crypto&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;btc_price, crypto_price, eth_gas, token_price, token_insight&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🏦 &lt;strong&gt;DeFi&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;defi_lending_rates, defi_pool_stats, defi_swap_quote&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🔗 &lt;strong&gt;Blockchain&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;address_balance, address_risk, tx_detail, block_detail, ens_resolve&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🪙 &lt;strong&gt;NFT&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;nft_floor, nft_metadata, nft_owner, nft_trades&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🌤️ &lt;strong&gt;Weather&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;weather_now, weather_forecast, weather_history&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🔍 &lt;strong&gt;Search&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;web_search, web_crawl, github_search, arxiv_search, wikipedia&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🗞️ &lt;strong&gt;News&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;news_crypto, news_global, whale_alert&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;📍 &lt;strong&gt;Maps&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;map_geocode, map_reverse, map_poi&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🛡️ &lt;strong&gt;Security&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;aml_screen, kyc_check, phish_check, virus_scan&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;✈️ &lt;strong&gt;Travel&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;air_ticket, hotel_search&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;📈 &lt;strong&gt;Finance&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;forex_rate, stock_price, commodity_price, fund_nav&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🛒 &lt;strong&gt;Ecommerce&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;ecomm_product, ecomm_search&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;✉️ &lt;strong&gt;Utility&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;sms_send, url_shorten, qrcode_gen, captcha_solve&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  How Payment Works
&lt;/h2&gt;

&lt;p&gt;Each endpoint returns HTTP 402 with an x402 payment challenge. The agent pays USDC on Base chain (~.01 to .10 per call) and retries. No API key needed — just a USDC wallet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;API&lt;/strong&gt;: &lt;a href="https://goldbean-api.xyz" rel="noopener noreferrer"&gt;https://goldbean-api.xyz&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpenAPI&lt;/strong&gt;: &lt;a href="https://goldbean-api.xyz/openapi.json" rel="noopener noreferrer"&gt;https://goldbean-api.xyz/openapi.json&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bazaar&lt;/strong&gt;: &lt;a href="https://goldbean-api.xyz/.well-known/x402-bazaar" rel="noopener noreferrer"&gt;https://goldbean-api.xyz/.well-known/x402-bazaar&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/wuzenghai616-lang/goldbean" rel="noopener noreferrer"&gt;https://github.com/wuzenghai616-lang/goldbean&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;x402scan&lt;/strong&gt;: &lt;a href="https://www.x402scan.com" rel="noopener noreferrer"&gt;https://www.x402scan.com&lt;/a&gt; (search "GoldBean")&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Architecture
&lt;/h2&gt;

&lt;p&gt;AI Agent (Claude, Cursor, etc.) → MCP Client → GoldBean MCP Server → goldbean-api.xyz → x402 Payment → Response&lt;/p&gt;

&lt;p&gt;The MCP server acts as a bridge: agents call standard MCP tools, the server handles x402 payment challenges, and returns real data.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why GoldBean?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;75+ endpoints, one integration&lt;/strong&gt; — AI chat, blockchain data, DeFi, weather, search, and more&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;x402-native&lt;/strong&gt; — built from the ground up for the x402 payment protocol&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No API keys&lt;/strong&gt; — agents pay with their own USDC wallet&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open source&lt;/strong&gt; — MIT license, contributions welcome&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>agents</category>
      <category>x402</category>
    </item>
    <item>
      <title>GoldBean: Build an AI Agent That Earns Money with 120+ Paid APIs via x402</title>
      <dc:creator>吴增海</dc:creator>
      <pubDate>Tue, 26 May 2026 01:40:58 +0000</pubDate>
      <link>https://forem.com/_f57c0789acf9224f4d004/goldbean-build-an-ai-agent-that-earns-money-with-120-paid-apis-via-x402-3lbf</link>
      <guid>https://forem.com/_f57c0789acf9224f4d004/goldbean-build-an-ai-agent-that-earns-money-with-120-paid-apis-via-x402-3lbf</guid>
      <description>&lt;h2&gt;
  
  
  What is GoldBean?
&lt;/h2&gt;

&lt;p&gt;GoldBean is a paid API marketplace with 120+ endpoints that any AI Agent can call using x402 micro-payments on Base chain.&lt;/p&gt;

&lt;p&gt;No API keys, no monthly commitments. Just pay from $0.01 to $0.08 per call in USDC.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three Plans
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Plan&lt;/th&gt;
&lt;th&gt;Price&lt;/th&gt;
&lt;th&gt;Endpoints&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Quant Monitoring&lt;/td&gt;
&lt;td&gt;USD 49/mo&lt;/td&gt;
&lt;td&gt;22 endpoints&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Social Sentiment&lt;/td&gt;
&lt;td&gt;USD 29/mo&lt;/td&gt;
&lt;td&gt;15 endpoints&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Merchant Empowerment&lt;/td&gt;
&lt;td&gt;USD 99/mo&lt;/td&gt;
&lt;td&gt;23 endpoints&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;p&gt;Just curl any endpoint - get a 402 response, pay in USDC, get the data.&lt;/p&gt;

&lt;p&gt;curl &lt;a href="https://goldbean-api.xyz/paid/btc-price" rel="noopener noreferrer"&gt;https://goldbean-api.xyz/paid/btc-price&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why GoldBean?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;120+ endpoints across 20+ categories&lt;/li&gt;
&lt;li&gt;Min price from USD 0.01 per call&lt;/li&gt;
&lt;li&gt;Subscription plans available (save up to 70%)&lt;/li&gt;
&lt;li&gt;3-tier referral program (20-50% commission)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick Start
&lt;/h2&gt;

&lt;p&gt;curl &lt;a href="https://goldbean-api.xyz/paid/btc-price" rel="noopener noreferrer"&gt;https://goldbean-api.xyz/paid/btc-price&lt;/a&gt;&lt;br&gt;
curl &lt;a href="https://goldbean-api.xyz/paid/ens-resolve?name=vitalik.eth" rel="noopener noreferrer"&gt;https://goldbean-api.xyz/paid/ens-resolve?name=vitalik.eth&lt;/a&gt;&lt;br&gt;
curl &lt;a href="https://goldbean-api.xyz/paid/llm-chat" rel="noopener noreferrer"&gt;https://goldbean-api.xyz/paid/llm-chat&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Referral Program
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Bronze (b_ prefix): 20% commission&lt;/li&gt;
&lt;li&gt;Silver (s_ prefix): 35% + 5% sub-tier&lt;/li&gt;
&lt;li&gt;Gold (g_ prefix): 50% + 10% sub-tier&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;GoldBean - Built on the x402 protocol.&lt;br&gt;
GitHub: &lt;a href="https://github.com/wuzenghai616-lang/goldbean" rel="noopener noreferrer"&gt;https://github.com/wuzenghai616-lang/goldbean&lt;/a&gt;&lt;/p&gt;

</description>
      <category>web3</category>
      <category>ai</category>
      <category>opensource</category>
      <category>base</category>
    </item>
    <item>
      <title>How I Built a 120-Endpoint x402 API Marketplace in a Weekend</title>
      <dc:creator>吴增海</dc:creator>
      <pubDate>Sun, 24 May 2026 12:13:32 +0000</pubDate>
      <link>https://forem.com/_f57c0789acf9224f4d004/how-i-built-a-120-endpoint-x402-api-marketplace-in-a-weekend-3fgk</link>
      <guid>https://forem.com/_f57c0789acf9224f4d004/how-i-built-a-120-endpoint-x402-api-marketplace-in-a-weekend-3fgk</guid>
      <description>&lt;h1&gt;
  
  
  How I Built a 120-Endpoint x402 API Marketplace in a Weekend (And Why It Matters)
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Building the "Swiss Army Knife" for AI Agents on the x402 protocol&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;I've been building on the x402 protocol — Coinbase's micropayment standard for AI agents. The idea is beautiful: agents call APIs, pay per request with USDC, no API keys, no subscriptions. It's the HTTP of agent commerce.&lt;/p&gt;

&lt;p&gt;But there was a gap. When I looked at the existing services, they were all &lt;strong&gt;single-purpose&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;BlockRun: AI chat completions&lt;/li&gt;
&lt;li&gt;OttoAI: AI chat completions&lt;/li&gt;
&lt;li&gt;Aubr: AI search&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One API = one task. An agent that needs a price chart, a weather report, a blockchain lookup, and an AI chat — that's four different x402 integrations.&lt;/p&gt;

&lt;p&gt;That's when I realized: &lt;strong&gt;nobody had built the "everything API" for agents.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Idea
&lt;/h2&gt;

&lt;p&gt;What if one API could do &lt;em&gt;everything&lt;/em&gt; an agent needs?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Blockchain&lt;/strong&gt;: 🪙 BTC price, gas fees, wallet balances, ENS lookup, DeFi insights&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI&lt;/strong&gt;: 🤖 Chat, code, translation, image generation, video generation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weather&lt;/strong&gt;: 🌤️ Current, forecast, historical&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Social&lt;/strong&gt;: 🐦 Twitter, Discord, Telegram, Instagram, TikTok&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search&lt;/strong&gt;: 🔍 Web search, arXiv, GitHub&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;E-commerce&lt;/strong&gt;: 🛒 Product search, reviews&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Finance&lt;/strong&gt;: 💱 Forex, stocks, commodities&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Utilities&lt;/strong&gt;: ✉️ Email verification, IP lookup, domain WHOIS, URL shorten&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security&lt;/strong&gt;: 🔐 AML screening, KYC verification, phishing detection&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PI&lt;/strong&gt;: 🏢 RWA, real estate, credit scoring, bond data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;120 endpoints. 20+ categories. One API.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's GoldBean.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Tech Stack
&lt;/h2&gt;

&lt;p&gt;The stack is refreshingly simple:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;GoldBean = Express.js + x402 micropayments + ChatGPT
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Architecture
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌─────────────┐     ┌─────────┐     ┌──────────────┐
│   AI Agent  │────▶│ nginx   │────▶│  GoldBean    │
│ (x402 SDK)  │     │ (SSL)   │     │ (Express.js) │
└─────────────┘     └─────────┘     └──────────────┘
                                            │
                                     ┌──────┴──────┐
                                     │  Base Chain  │
                                     │  (USDC on   │
                                     │  eip155:8453)│
                                     └─────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The flow is elegant:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Agent discovers GoldBean via &lt;code&gt;/.well-known/x402&lt;/code&gt; or &lt;code&gt;/openapi.json&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Agent calls &lt;code&gt;/paid/llm-chat&lt;/code&gt; → gets back HTTP &lt;strong&gt;402 Payment Required&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;402 response includes &lt;code&gt;Payment-Required&lt;/code&gt; header (base64-encoded JSON: amount, network, payTo)&lt;/li&gt;
&lt;li&gt;Agent pays via x402 → gets back a payment receipt → retries with it&lt;/li&gt;
&lt;li&gt;GoldBean validates → serves the response&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;No API keys. No auth. No subscriptions. Just pay and use.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Hardest Part: Getting Registered on x402scan
&lt;/h2&gt;

&lt;p&gt;This deserves its own section because it took longer than building the API.&lt;/p&gt;

&lt;h3&gt;
  
  
  What x402scan expects
&lt;/h3&gt;

&lt;p&gt;The x402scan scanner validates four things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;/.well-known/x402&lt;/code&gt;&lt;/strong&gt; — discovery endpoint&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;/openapi.json&lt;/code&gt;&lt;/strong&gt; — the canonical API contract&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;/openapi.json&lt;/code&gt; has &lt;code&gt;x-payment-info&lt;/code&gt;&lt;/strong&gt; on paid endpoints&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint returns proper HTTP 402&lt;/strong&gt; with &lt;code&gt;Payment-Required&lt;/code&gt; header&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  The 402 Header Format (V2)
&lt;/h3&gt;

&lt;p&gt;Here's the format that works (took 6+ iterations to nail):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"x402Version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"accepts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"scheme"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"exact"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"network"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"eip155:8453"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"amount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"40000"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"asset"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"0x833589f..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"payTo"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"0x7484b0..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"maxTimeoutSeconds"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;300&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"resource"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://goldbean-api.xyz/paid/llm-chat"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"llm-chat"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"mimeType"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"application/json"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Lessons learned:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;x402Version&lt;/code&gt; must be a &lt;strong&gt;number&lt;/strong&gt; (not string)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;amount&lt;/code&gt; is in &lt;strong&gt;atomic units&lt;/strong&gt; (USDC = 6 decimals, so $0.04 = &lt;code&gt;"40000"&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;amount&lt;/code&gt; must be a &lt;strong&gt;string&lt;/strong&gt; (not number)&lt;/li&gt;
&lt;li&gt;Body must be &lt;strong&gt;empty&lt;/strong&gt; &lt;code&gt;{}&lt;/code&gt; (V2 moves all payment info to headers)&lt;/li&gt;
&lt;li&gt;The response must have &lt;code&gt;Cache-Control: no-store&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Add BOTH &lt;code&gt;Payment-Required&lt;/code&gt; AND &lt;code&gt;x-payment-required&lt;/code&gt; headers for compatibility&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I built an x402-check tool to verify format — it saved me hours of debugging.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Schema Trap
&lt;/h3&gt;

&lt;p&gt;Getting 31/120 endpoints registered was easy. The remaining 89 all failed with:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;Missing input schema&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The fix: &lt;strong&gt;every endpoint needs a proper input schema in OpenAPI&lt;/strong&gt; so the scanner can construct a valid test request. A parameter like &lt;code&gt;address&lt;/code&gt; for address lookups, &lt;code&gt;prompt&lt;/code&gt; for chat endpoints, &lt;code&gt;lat/lon&lt;/code&gt; for weather. The scanner reads the OpenAPI, builds a probe request, and expects 402. Without input schemas, it can't even probe.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Running 120 Endpoints Actually Looks Like
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The Good
&lt;/h3&gt;

&lt;p&gt;One server process. One domain. One integration. &lt;strong&gt;120 capabilities.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx agentcash try https://goldbean-api.xyz
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Boom. Your agent can now check BTC price, get a weather forecast, generate an image, analyze sentiment, and chat with an LLM — all through a single API with a single $USDC wallet.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Reality Check
&lt;/h3&gt;

&lt;p&gt;$0 revenue. 0 buyers. 0 transactions.&lt;/p&gt;

&lt;p&gt;Registration doesn't equal usage. The next phase is getting actual agents to call the endpoints. That means:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Dev.to / Medium&lt;/strong&gt; — telling the story&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Community&lt;/strong&gt; — showing up on x402 Discord/Twitter&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free trials&lt;/strong&gt; — first 10 calls free to lower the barrier&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Self-hosting&lt;/strong&gt; — running automated calls to generate initial tx records (who wants to be the first buyer of a zero-tx service?)&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Phase&lt;/th&gt;
&lt;th&gt;What&lt;/th&gt;
&lt;th&gt;When&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;🚀&lt;/td&gt;
&lt;td&gt;All 120 endpoints on x402scan&lt;/td&gt;
&lt;td&gt;This week&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;📝&lt;/td&gt;
&lt;td&gt;dev.to/Medium article series&lt;/td&gt;
&lt;td&gt;This week&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🐦&lt;/td&gt;
&lt;td&gt;Twitter/X presence (@x402 ecosystem)&lt;/td&gt;
&lt;td&gt;This week&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🆓&lt;/td&gt;
&lt;td&gt;Free trial mechanism&lt;/td&gt;
&lt;td&gt;Next week&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;📊&lt;/td&gt;
&lt;td&gt;Operations dashboard&lt;/td&gt;
&lt;td&gt;Next week&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🔌&lt;/td&gt;
&lt;td&gt;Marketplace platform (3rd-party endpoints)&lt;/td&gt;
&lt;td&gt;June&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Why I'm Building This
&lt;/h2&gt;

&lt;p&gt;The x402 protocol is going to be huge. 480,000+ agents already transacting, $165M+ in agent-to-agent commerce on Base chain.&lt;/p&gt;

&lt;p&gt;But the infrastructure is still early. Most x402 services are single-purpose. GoldBean is my bet that agents need a &lt;strong&gt;general-purpose API&lt;/strong&gt; — one they can call for anything, without worrying about "does this endpoint support x402?"&lt;/p&gt;

&lt;p&gt;120 endpoints down. 200+ on the roadmap.&lt;/p&gt;

&lt;p&gt;Let's see where this goes.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built with ☕ and x402. Check us out: &lt;a href="https://goldbean-api.xyz" rel="noopener noreferrer"&gt;https://goldbean-api.xyz&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>x402</category>
      <category>blockchain</category>
      <category>api</category>
      <category>ai</category>
    </item>
    <item>
      <title>How I Built a 120-Endpoint x402 API Marketplace in a Weekend (And Why It Matters)</title>
      <dc:creator>吴增海</dc:creator>
      <pubDate>Sun, 24 May 2026 12:12:43 +0000</pubDate>
      <link>https://forem.com/_f57c0789acf9224f4d004/how-i-built-a-120-endpoint-x402-api-marketplace-in-a-weekend-and-why-it-matters-40fa</link>
      <guid>https://forem.com/_f57c0789acf9224f4d004/how-i-built-a-120-endpoint-x402-api-marketplace-in-a-weekend-and-why-it-matters-40fa</guid>
      <description>&lt;h1&gt;
  
  
  How I Built a 120-Endpoint x402 API Marketplace in a Weekend (And Why It Matters)
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Building the "Swiss Army Knife" for AI Agents on the x402 protocol&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;I've been building on the x402 protocol — Coinbase's micropayment standard for AI agents. The idea is beautiful: agents call APIs, pay per request with USDC, no API keys, no subscriptions. It's the HTTP of agent commerce.&lt;/p&gt;

&lt;p&gt;But there was a gap. When I looked at the existing services, they were all &lt;strong&gt;single-purpose&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;BlockRun: AI chat completions&lt;/li&gt;
&lt;li&gt;OttoAI: AI chat completions&lt;/li&gt;
&lt;li&gt;Aubr: AI search&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One API = one task. An agent that needs a price chart, a weather report, a blockchain lookup, and an AI chat — that's four different x402 integrations.&lt;/p&gt;

&lt;p&gt;That's when I realized: &lt;strong&gt;nobody had built the "everything API" for agents.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Idea
&lt;/h2&gt;

&lt;p&gt;What if one API could do &lt;em&gt;everything&lt;/em&gt; an agent needs?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Blockchain&lt;/strong&gt;: 🪙 BTC price, gas fees, wallet balances, ENS lookup, DeFi insights&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI&lt;/strong&gt;: 🤖 Chat, code, translation, image generation, video generation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weather&lt;/strong&gt;: 🌤️ Current, forecast, historical&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Social&lt;/strong&gt;: 🐦 Twitter, Discord, Telegram, Instagram, TikTok&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search&lt;/strong&gt;: 🔍 Web search, arXiv, GitHub&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;E-commerce&lt;/strong&gt;: 🛒 Product search, reviews&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Finance&lt;/strong&gt;: 💱 Forex, stocks, commodities&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Utilities&lt;/strong&gt;: ✉️ Email verification, IP lookup, domain WHOIS, URL shorten&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security&lt;/strong&gt;: 🔐 AML screening, KYC verification, phishing detection&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PI&lt;/strong&gt;: 🏢 RWA, real estate, credit scoring, bond data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;120 endpoints. 20+ categories. One API.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's GoldBean.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Tech Stack
&lt;/h2&gt;

&lt;p&gt;The stack is refreshingly simple:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;GoldBean = Express.js + x402 micropayments + ChatGPT
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Architecture
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌─────────────┐     ┌─────────┐     ┌──────────────┐
│   AI Agent  │────▶│ nginx   │────▶│  GoldBean    │
│ (x402 SDK)  │     │ (SSL)   │     │ (Express.js) │
└─────────────┘     └─────────┘     └──────────────┘
                                            │
                                     ┌──────┴──────┐
                                     │  Base Chain  │
                                     │  (USDC on   │
                                     │  eip155:8453)│
                                     └─────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The flow is elegant:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Agent discovers GoldBean via &lt;code&gt;/.well-known/x402&lt;/code&gt; or &lt;code&gt;/openapi.json&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Agent calls &lt;code&gt;/paid/llm-chat&lt;/code&gt; → gets back HTTP &lt;strong&gt;402 Payment Required&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;402 response includes &lt;code&gt;Payment-Required&lt;/code&gt; header (base64-encoded JSON: amount, network, payTo)&lt;/li&gt;
&lt;li&gt;Agent pays via x402 → gets back a payment receipt → retries with it&lt;/li&gt;
&lt;li&gt;GoldBean validates → serves the response&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;No API keys. No auth. No subscriptions. Just pay and use.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Hardest Part: Getting Registered on x402scan
&lt;/h2&gt;

&lt;p&gt;This deserves its own section because it took longer than building the API.&lt;/p&gt;

&lt;h3&gt;
  
  
  What x402scan expects
&lt;/h3&gt;

&lt;p&gt;The x402scan scanner validates four things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;/.well-known/x402&lt;/code&gt;&lt;/strong&gt; — discovery endpoint&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;/openapi.json&lt;/code&gt;&lt;/strong&gt; — the canonical API contract&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;/openapi.json&lt;/code&gt; has &lt;code&gt;x-payment-info&lt;/code&gt;&lt;/strong&gt; on paid endpoints&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint returns proper HTTP 402&lt;/strong&gt; with &lt;code&gt;Payment-Required&lt;/code&gt; header&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  The 402 Header Format (V2)
&lt;/h3&gt;

&lt;p&gt;Here's the format that works (took 6+ iterations to nail):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"x402Version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"accepts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"scheme"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"exact"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"network"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"eip155:8453"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"amount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"40000"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"asset"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"0x833589f..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"payTo"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"0x7484b0..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"maxTimeoutSeconds"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;300&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"resource"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://goldbean-api.xyz/paid/llm-chat"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"llm-chat"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"mimeType"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"application/json"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Lessons learned:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;x402Version&lt;/code&gt; must be a &lt;strong&gt;number&lt;/strong&gt; (not string)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;amount&lt;/code&gt; is in &lt;strong&gt;atomic units&lt;/strong&gt; (USDC = 6 decimals, so $0.04 = &lt;code&gt;"40000"&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;amount&lt;/code&gt; must be a &lt;strong&gt;string&lt;/strong&gt; (not number)&lt;/li&gt;
&lt;li&gt;Body must be &lt;strong&gt;empty&lt;/strong&gt; &lt;code&gt;{}&lt;/code&gt; (V2 moves all payment info to headers)&lt;/li&gt;
&lt;li&gt;The response must have &lt;code&gt;Cache-Control: no-store&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Add BOTH &lt;code&gt;Payment-Required&lt;/code&gt; AND &lt;code&gt;x-payment-required&lt;/code&gt; headers for compatibility&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I built an x402-check tool to verify format — it saved me hours of debugging.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Schema Trap
&lt;/h3&gt;

&lt;p&gt;Getting 31/120 endpoints registered was easy. The remaining 89 all failed with:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;Missing input schema&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The fix: &lt;strong&gt;every endpoint needs a proper input schema in OpenAPI&lt;/strong&gt; so the scanner can construct a valid test request. A parameter like &lt;code&gt;address&lt;/code&gt; for address lookups, &lt;code&gt;prompt&lt;/code&gt; for chat endpoints, &lt;code&gt;lat/lon&lt;/code&gt; for weather. The scanner reads the OpenAPI, builds a probe request, and expects 402. Without input schemas, it can't even probe.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Running 120 Endpoints Actually Looks Like
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The Good
&lt;/h3&gt;

&lt;p&gt;One server process. One domain. One integration. &lt;strong&gt;120 capabilities.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx agentcash try https://goldbean-api.xyz
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Boom. Your agent can now check BTC price, get a weather forecast, generate an image, analyze sentiment, and chat with an LLM — all through a single API with a single $USDC wallet.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Reality Check
&lt;/h3&gt;

&lt;p&gt;$0 revenue. 0 buyers. 0 transactions.&lt;/p&gt;

&lt;p&gt;Registration doesn't equal usage. The next phase is getting actual agents to call the endpoints. That means:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Dev.to / Medium&lt;/strong&gt; — telling the story&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Community&lt;/strong&gt; — showing up on x402 Discord/Twitter&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free trials&lt;/strong&gt; — first 10 calls free to lower the barrier&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Self-hosting&lt;/strong&gt; — running automated calls to generate initial tx records (who wants to be the first buyer of a zero-tx service?)&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Phase&lt;/th&gt;
&lt;th&gt;What&lt;/th&gt;
&lt;th&gt;When&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;🚀&lt;/td&gt;
&lt;td&gt;All 120 endpoints on x402scan&lt;/td&gt;
&lt;td&gt;This week&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;📝&lt;/td&gt;
&lt;td&gt;dev.to/Medium article series&lt;/td&gt;
&lt;td&gt;This week&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🐦&lt;/td&gt;
&lt;td&gt;Twitter/X presence (@x402 ecosystem)&lt;/td&gt;
&lt;td&gt;This week&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🆓&lt;/td&gt;
&lt;td&gt;Free trial mechanism&lt;/td&gt;
&lt;td&gt;Next week&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;📊&lt;/td&gt;
&lt;td&gt;Operations dashboard&lt;/td&gt;
&lt;td&gt;Next week&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🔌&lt;/td&gt;
&lt;td&gt;Marketplace platform (3rd-party endpoints)&lt;/td&gt;
&lt;td&gt;June&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Why I'm Building This
&lt;/h2&gt;

&lt;p&gt;The x402 protocol is going to be huge. 480,000+ agents already transacting, $165M+ in agent-to-agent commerce on Base chain.&lt;/p&gt;

&lt;p&gt;But the infrastructure is still early. Most x402 services are single-purpose. GoldBean is my bet that agents need a &lt;strong&gt;general-purpose API&lt;/strong&gt; — one they can call for anything, without worrying about "does this endpoint support x402?"&lt;/p&gt;

&lt;p&gt;120 endpoints down. 200+ on the roadmap.&lt;/p&gt;

&lt;p&gt;Let's see where this goes.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built with ☕ and x402. Check us out: &lt;a href="https://goldbean-api.xyz" rel="noopener noreferrer"&gt;https://goldbean-api.xyz&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>x402</category>
      <category>blockchain</category>
      <category>api</category>
      <category>ai</category>
    </item>
    <item>
      <title>GoldBean: 120+ Paid APIs for AI Agents via x402 Micropayments</title>
      <dc:creator>吴增海</dc:creator>
      <pubDate>Sun, 24 May 2026 03:15:26 +0000</pubDate>
      <link>https://forem.com/_f57c0789acf9224f4d004/goldbean-120-paid-apis-for-ai-agents-via-x402-micropayments-cki</link>
      <guid>https://forem.com/_f57c0789acf9224f4d004/goldbean-120-paid-apis-for-ai-agents-via-x402-micropayments-cki</guid>
      <description>&lt;h1&gt;
  
  
  GoldBean: 120+ Paid APIs for AI Agents via x402 Micropayments
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;GoldBean&lt;/strong&gt; is an open x402-powered API marketplace that offers &lt;strong&gt;120+ paid endpoints&lt;/strong&gt; for AI agents, developers, and applications. Every call is settled instantly with USDC on Base via the x402 protocol — no subscriptions, no credit cards, just pay-per-use at micro prices ($0.01–$0.08 per call).&lt;/p&gt;

&lt;h2&gt;
  
  
  What is x402?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://x402.org" rel="noopener noreferrer"&gt;&lt;strong&gt;x402&lt;/strong&gt;&lt;/a&gt; is an open standard from the Coinbase ecosystem that lets HTTP APIs request micropayments by returning HTTP &lt;strong&gt;402 Payment Required&lt;/strong&gt;. The client signs a payment with their wallet, and the server verifies it through a facilitator (like Coinbase CDP). Think of it as "PayPal for AI agents" — but fully on-chain, non-custodial, and designed for machine-to-machine payments.&lt;/p&gt;




&lt;h2&gt;
  
  
  🚀 What GoldBean Offers
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🧠 AI &amp;amp; Content Generation
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Endpoint&lt;/th&gt;
&lt;th&gt;Price&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/llm-chat&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.04&lt;/td&gt;
&lt;td&gt;AI chat generation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/llm-embed&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.02&lt;/td&gt;
&lt;td&gt;Text embedding&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/llm-summary&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.02&lt;/td&gt;
&lt;td&gt;Long document summarization&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/llm-translate&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.02&lt;/td&gt;
&lt;td&gt;Multi-language translation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/llm-code&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.04&lt;/td&gt;
&lt;td&gt;Code generation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/image-gen&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.05&lt;/td&gt;
&lt;td&gt;AI image generation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/image-analyze&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.03&lt;/td&gt;
&lt;td&gt;Image recognition&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/image-upscale&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.02&lt;/td&gt;
&lt;td&gt;Image upscaling&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/voice-2-text&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.03&lt;/td&gt;
&lt;td&gt;Speech-to-text&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/text-2-voice&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.02&lt;/td&gt;
&lt;td&gt;Text-to-speech&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/video-gen&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.08&lt;/td&gt;
&lt;td&gt;Short video generation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/paid/video-analyze&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;$0.06&lt;/td&gt;
&lt;td&gt;Video analysis&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  🔗 Blockchain &amp;amp; DeFi
&lt;/h3&gt;

&lt;p&gt;Gas forecasts, ETH/BTC prices, token insights, whale alerts, NFT floor prices, DeFi positions, smart contract verification, cross-chain comparisons, mempool analysis, and more — all at $0.01–$0.05 per call.&lt;/p&gt;

&lt;h3&gt;
  
  
  🌐 Web &amp;amp; Search
&lt;/h3&gt;

&lt;p&gt;Web search, web crawling, news (crypto + global), social media data (Twitter, Discord, Telegram, Weibo, Instagram, TikTok), sentiment analysis, weather, maps, and more.&lt;/p&gt;

&lt;h3&gt;
  
  
  📄 Office &amp;amp; Productivity
&lt;/h3&gt;

&lt;p&gt;PDF parsing/merging, Excel/Word processing, OCR, barcode generation, email verification.&lt;/p&gt;

&lt;h3&gt;
  
  
  🛡️ Security &amp;amp; Compliance
&lt;/h3&gt;

&lt;p&gt;KYC checks, AML screening, address risk analysis, phish detection, virus scanning, captcha solving.&lt;/p&gt;

&lt;h3&gt;
  
  
  💼 E-commerce &amp;amp; Logistics
&lt;/h3&gt;

&lt;p&gt;Product info, reviews, search, express tracking, air tickets, hotel search.&lt;/p&gt;

&lt;h3&gt;
  
  
  📊 Finance
&lt;/h3&gt;

&lt;p&gt;Stock prices, forex rates, commodity prices, fund NAV, crypto history, stablecoin rates.&lt;/p&gt;

&lt;h3&gt;
  
  
  🎮 Gaming &amp;amp; Metaverse
&lt;/h3&gt;

&lt;p&gt;Game NFT items, game wallets, metaverse land data.&lt;/p&gt;




&lt;h2&gt;
  
  
  🛠️ How to Use
&lt;/h2&gt;

&lt;p&gt;GoldBean endpoints work with any &lt;strong&gt;x402-compatible client&lt;/strong&gt;. Here's a simple example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Call with x402-proxy (auto-pays the 402)&lt;/span&gt;
npx x402-proxy https://goldbean-api.xyz/paid/llm-chat?ref&lt;span class="o"&gt;=&lt;/span&gt;myref

&lt;span class="c"&gt;# Or use the MCP server (for Claude Desktop, Cursor, etc.)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  MCP Integration
&lt;/h3&gt;

&lt;p&gt;GoldBean is discoverable via &lt;strong&gt;Bazaar&lt;/strong&gt; (the x402 service marketplace) and works with any &lt;strong&gt;MCP-compatible client&lt;/strong&gt;. Add it to Claude Desktop, Cursor, or Windsurf by configuring the MCP server to point at GoldBean's Bazaar discovery endpoint.&lt;/p&gt;




&lt;h2&gt;
  
  
  💰 Pricing
&lt;/h2&gt;

&lt;p&gt;All prices are in &lt;strong&gt;USDC on Base&lt;/strong&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Price Range&lt;/th&gt;
&lt;th&gt;Examples&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;$0.01–$0.02&lt;/td&gt;
&lt;td&gt;Basic queries: weather, gas, crypto price, ENS resolve, QR code&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;$0.03–$0.05&lt;/td&gt;
&lt;td&gt;Standard: LLM chat, image analysis, web search, KYC check&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;$0.06–$0.08&lt;/td&gt;
&lt;td&gt;Premium: video generation, video analysis, AI agent stats&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🔗 Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Marketplace&lt;/strong&gt;: &lt;a href="https://goldbean-api.xyz" rel="noopener noreferrer"&gt;goldbean-api.xyz&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/wuzenghai616-lang/goldbean" rel="noopener noreferrer"&gt;github.com/wuzenghai616-lang/goldbean&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bazaar Discovery&lt;/strong&gt;: &lt;code&gt;https://goldbean-api.xyz/__bazaar&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wallet&lt;/strong&gt;: &lt;code&gt;0x7484b0bca25d2ee56e9b0535572d4cf44a047d98&lt;/code&gt; (Base)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network&lt;/strong&gt;: &lt;code&gt;eip155:8453&lt;/code&gt; (Base mainnet)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🎯 Roadmap
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;strong&gt;MCP wrapper package&lt;/strong&gt; — &lt;code&gt;npm install @goldbean/mcp&lt;/code&gt; for one-line Claude/Cursor setup&lt;/li&gt;
&lt;li&gt;[ ] &lt;strong&gt;Subscription plans&lt;/strong&gt; — Quant, Social, Merchant bundles at $29–$99/month&lt;/li&gt;
&lt;li&gt;[ ] &lt;strong&gt;Cross-chain&lt;/strong&gt; — Solana and Arbitrum support&lt;/li&gt;
&lt;li&gt;[ ] &lt;strong&gt;Developer dashboard&lt;/strong&gt; — Usage analytics, API keys, spending controls&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Built with the x402 protocol. Payments verified via Coinbase CDP Facilitator. Part of the &lt;a href="https://github.com/Merit-Systems/awesome-x402" rel="noopener noreferrer"&gt;awesome-x402&lt;/a&gt; ecosystem.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>x402</category>
      <category>blockchain</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
