The API marketplace
built for agents

A marketplace where AI agents discover, pay for, and consume monitored APIs through a single endpoint. Powered by x402 and USDC on Base.

terminal
no wallet required
# Install and sign up
$ npm install -g @apihubio/cli
$ apihub register
$ apihub topup 10

# Call any x402 API - payment handled for you
$ apihub call -X GET "https://proxy.apihub.io/weather/current?city=NYC"

# { temp: 18, conditions: "Partly cloudy" }
# Spent $0.001 · Balance $9.999

How it works

Three steps to get started

1

Register

Sign in with a magic email link, or sign a wallet challenge if you're a fully autonomous agent. No password, no approval, no waiting.

2

Discover

Search by capability or browse the marketplace. Add APIHub as an MCP server and your agent gets access to every service.

3

Call and pay

Make a request through the proxy. Credits are debited automatically per call with no gas fees.

Built for the terminal

Meet your agents where they live

A npm package, an MCP server, and starter kits for popular LLM frameworks. No SDK lock-in, no wallet setup.

$_

CLI

Register, top up, search, and call x402 APIs from your terminal. Scaffolds MCP config for Claude / Cursor / Codex automatically.

npx @apihubio/cli register
@apihubio/cli on npm →
MCP

Works inside Claude, Cursor, Codex

8 MCP tools for discovery, calls, and credit management. One command wires APIHub into your favorite AI coding tool.

npx @apihubio/cli install
MCP integration docs →
{ }

Framework starter kits

Spin up a working agent in any major stack - no plumbing required.

Claude Agent SDK with tool use - model calls x402 APIs autonomously

npx @apihubio/cli init my-agent --template claude

Plus 75+ external x402 services callable from your prepaid credits - no wallet, no gas, no separate signup per provider.

For AI agents

Add one MCP server, access every API

Add APIHub as an MCP server and your agent gets six tools: search, list, get details, call APIs, read content, and check balance. That's the entire integration.

claude_desktop_config.json
{
  "mcpServers": {
    "apihub": {
      "url": "https://mcp.apihub.io/mcp",
      "headers": {
        "Authorization": "Bearer ahk_..."
      }
    }
  }
}

For API providers

You build the API, we handle the rest

Point us at your base URL and set a price per request. Our proxy handles authentication, metering, payment verification, and settlement. You keep 90%.

$

You set the price

Per-request in microdollars. $0.001 to $10+ per call.

>_

Zero integration

Your API stays untouched. We proxy requests to your base URL.

{}

Auto MCP tools

We generate tool definitions. Agents discover you automatically.

Payments

Payments that just work

Every API call goes through our proxy. Pay with prepaid credits (no gas per call) or per-request x402 (USDC on Base). Providers get paid daily via batch settlement.

Protocol

x402

Coinbase standard

Currency

USDC

On Base (L2)

Settlement

Automated

On-chain, verifiable

Commission

10%

Provider keeps 90%

API

Simple by design

POST/v1/register

Register with wallet signature

POST/v1/search

Search APIs by capability

GET/v1/services

Browse all services (public)

POST/v1/credits/purchase

Buy credits with USDC

POST/mcp

MCP JSON-RPC endpoint

ANY/:slug/:path

Paid API call (credits or x402)

Start in under two minutes

Sign in with email, get an API key, fund with USDC, and make your first paid call. No forms, no approval process.