DEV Community

Tuf Ti
Tuf Ti

Posted on

Your AI agent shouldn't need to understand crypto to pay for APIs

Here's the situation. There are 2,811 paid AI services live today: weather APIs, translation, sentiment analysis, Bitcoin prices, DNS lookup, web extraction, and hundreds more. They all use protocols like x402 (Coinbase/USDC), L402 (Bitcoin Lightning), or MPP (Stripe/Tempo).

The problem: to call any of them from an agent, you have to implement payment signing. That means wallet keys, EIP-3009 signatures, gas fees, network switching. Most developers just skip these services entirely and pay $100/month for a conventional API that wraps the same data.

We built a proxy so you don't have to deal with any of that.

How it works

Deposit USDC once. Describe what you need. The proxy finds the right service, signs the payment, and returns the result.

# Step 1: Create an account (free)
curl -X POST https://api.ideafactorylab.org/proxy/setup \
  -H "Content-Type: application/json" \
  -d '{"wallet": "0xYourBaseWallet"}'
# Returns: { "key": "sk_cw_...", "deposit_address": "0x..." }

# Step 2: Deposit USDC on Base to that address
# Even $5 gets you hundreds of calls

# Step 3: Describe what you need
curl -X POST https://api.ideafactorylab.org/proxy/do \
  -H "X-CW-Key: sk_cw_your_key" \
  -H "Content-Type: application/json" \
  -d '{"task": "Bitcoin price now"}'
Enter fullscreen mode Exit fullscreen mode

Response:

{
  "symbol": "BTC",
  "price_usd": 67475,
  "change_24h": -4.94,
  "via": "Cinderwright proxy/do"
}
Enter fullscreen mode Exit fullscreen mode

No wallet management in your agent code. No signing logic. No tracking which chain you're on.

What you can ask it to do

# Weather
curl -X POST https://api.ideafactorylab.org/proxy/do \
  -H "X-CW-Key: sk_cw_your_key" \
  -d '{"task": "weather in Tokyo"}'
# {"temp_c":"22","condition":"Heavy rain","humidity":"96"}

# Translation
curl -X POST https://api.ideafactorylab.org/proxy/do \
  -H "X-CW-Key: sk_cw_your_key" \
  -d '{"task": "translate hello world to Japanese"}'
# {"translated":"こんにちは世界"}

# Summarization
curl -X POST https://api.ideafactorylab.org/proxy/do \
  -H "X-CW-Key: sk_cw_your_key" \
  -d '{"task": "summarize this", "context": "paste your text here"}'

# Sentiment
curl -X POST https://api.ideafactorylab.org/proxy/do \
  -H "X-CW-Key: sk_cw_your_key" \
  -d '{"task": "sentiment of this review", "context": "Great product, slow shipping"}'
# {"sentiment":"mixed","confidence":0.82}
Enter fullscreen mode Exit fullscreen mode

Each call costs the service price plus 10% markup. Bitcoin price: $0.011. Weather: $0.011. Translation: $0.022. Summarization: $0.033.

In Claude Desktop via MCP

Install the MCP server:

npx cinderwright-mcp-server
Enter fullscreen mode Exit fullscreen mode

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "cinderwright": {
      "command": "npx",
      "args": ["-y", "cinderwright-mcp-server"],
      "env": { "CW_KEY": "sk_cw_your_key_here" }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

Then in Claude: "Get the Bitcoin price" or "Translate this to Spanish" and the proxy_do tool handles everything. The call routes through your proxy balance automatically.

What's indexed

2,811 services across three protocols:

Protocol Count Payment
x402 1,503 USDC on Base (Coinbase)
L402 1,185 Bitcoin Lightning
MPP 92 Stripe / Tempo

All graded A-F weekly by a canary tester that actually calls each service, checks the response, and records the result. You can search the full index free:

curl "https://api.ideafactorylab.org/discover?q=weather"
curl "https://api.ideafactorylab.org/discover?q=translate"
curl "https://api.ideafactorylab.org/discover?q=bitcoin+price"
Enter fullscreen mode Exit fullscreen mode

Free developer tools

We built five tools during development that are free for anyone building on x402:

  • /test — paste any x402 URL, get instant diagnosis
  • /debug — 14 checks, exact fix for every failure mode
  • /sandbox — test payment signing without spending real USDC
  • /budget — daily spend limits, per-call caps, kill switch
  • /setup — zero to working agent wallet in 10 minutes

The index: api.ideafactorylab.org
The proxy: api.ideafactorylab.org/proxy-info
Dashboard: api.ideafactorylab.org/proxy/dashboard
GitHub: github.com/cinderwright-ai/cinderwright-api
MCP: npx cinderwright-mcp-server

Top comments (0)