Pay with x402

Getting started

Pay with x402 (no account)

Autonomous agents that cannot hold an API key can pay per request using MPP (the Tempo / Stripe Machine Payments Protocol, which composes x402). No signup, no key, no subscription: the agent gets a 402, settles the call, and retries automatically. Our company-intelligence endpoint is live and settling USDC on Base today.

How it works

  1. Call the paid endpoint with no key, e.g. /api/mpp/company?slug=<startup>.
  2. The API answers 402 Payment Required with a multi-method challenge: USDC on Base (~$0.02, composes x402) and a Stripe fiat option.
  3. An MPP/x402 client (for example mppx fetch with a funded Base wallet) pays and replays the request, which now returns the data.

Make a call

bash
# any MPP/x402 client (e.g. mppx) pays + retries automatically
mppx fetch "https://www.startuphub.ai/api/mpp/company?slug=anthropic"

# or see the raw challenge:
curl -i "https://www.startuphub.ai/api/mpp/company?slug=anthropic"

402 response

http
HTTP/1.1 402 Payment Required
WWW-Authenticate: Payment realm="www.startuphub.ai", method="evm", intent="charge", request="..."
Payment-Required: <x402 offer, base64>

Discover the offer

Agents and registries can read the price + payment methods up front at /.well-known/payment before making a request. This is how we appear in MPP registries (mpp.dev/services, MPPScan) and the Stripe Directory's Machine Payments column.

bash
curl "https://www.startuphub.ai/.well-known/payment"

When to use MPP / x402

Use a key for normal integrations: it is simpler and gives you usage history and higher limits. Reach for MPP / x402 when an autonomous agent needs to transact without any account, the standard way for agentic commerce.