commodities.sh

Pro

Get a Pro API key

3,000 credits each UTC month. Agents can still pay per call with x402 USDC on Base — Pro is for operators who prefer a Stripe key and monthly credit pool.

Not sure yet? Get a free key — email only, 50 calls a day across every instrument, 30 days of history. Upgrading later keeps the same key string.

Billing

$19/mo

Or pay per call

No key needed — agents settle USDC on Base via x402.

Explore x402

Using it with an agent

The key is an HTTP header, so it works over MCP as well as REST. In Claude Desktop that means the mcp-remote bridge — adding the server through Settings → Connectors connects, but cannot carry a key, so paid tools ask for a crypto payment instead:

claude_desktop_config.json
{
  "mcpServers": {
    "commodities": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.commodities.sh/api/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer cs_live_…"
      }
    }
  }
}

Claude Code, Cursor, and what each tool costs: MCP setup →

What do I get with Pro?

A cs_live_… API key with 3,000 credits per UTC month, billed via Stripe at $19/mo or $180/yr. Credits debit on paid observation routes the same way x402 settles — exhausted credits return HTTP 402 QUOTA_EXCEEDED. Pro also unlocks release webhooks — a signed POST when EIA inventories, CFTC COT, or USDA WASDE land, so agents stop polling — and email sign-in at /account to check remaining credits without pasting your key. Free discovery (catalog, llms.txt, OpenAPI, MCP handshake) stays free, and a free key from /signup covers latest prices, FX, stats, spreads and a 30-day history window without a card. Upgrading a free key rewrites the plan on the same key rather than issuing a new one, so nothing you have configured needs editing.