v4.0 · PROTOCOL LAB◎ Robinhood Chain Native⚡ Built for Agents

Pay per
request. on-chain.

MPPHOOD is the 402 Protocol Lab — pay-per-request infrastructure for humans and autonomous agents. Your code calls fetch(), we mint an ephemeral wallet, dust it with faucet HOOD, and settle on Robinhood Chain in under 2 seconds. Zero config, real receipts.

fetch()402settleretry200 OK
1.4s
Median settle time
402
The status code
10+
Sample endpoints
0 cfg
To start firing
S
Robinhood Chain Sandbox
default

Free HOOD via faucet airdrop. The default sandbox — break things without burning a cent.

Tx cost 0 HOOD (faucet)
T
Robinhood Chain Testnet
stable

Mainnet-like validator behaviour, still funded by faucet. Use for stress tests and CI runs.

Tx cost 0 HOOD (faucet)
M
Robinhood Chain Mainnet
production

Live Robinhood Chain mainnet with real HOOD. Flip one flag, point at a funded keypair, ship.

Tx cost ~0.05 HOOD
Interactive · v2.0

DevLabs

Wire-real 402 flows on Robinhood Chain — 4 free, 6 metered endpoints to poke at.

+ to fire
Network
Mode
Endpoint4 free6 metered
GETsimulated/api/pingFree

Pick an endpoint and fire a request

The full HTTP 402 settlement trace streams here in real time

Pipeline

The 402 pipeline, unpacked.

HTTP 402 Payment Required has existed since 1999. MPPHOOD makes it real — on Robinhood Chain, end-to-end.

01 · REQUEST
Your code calls fetch

Call mppFetch() with any URL. No setup, no config — the SDK conjures a wallet and dusts it with faucet HOOD on sandbox/testnet.

02 · 402
Server returns 402

The API responds with HTTP 402 Payment Required and a Payment-Request header specifying cost and recipient address.

03 · SETTLE
SDK settles on-chain

The SDK builds a native HOOD transfer, signs with the ephemeral key, and confirms on Robinhood Chain. Usually under 2 seconds.

04 · 200
Data returned

The request is retried with a Payment-Receipt header. The server verifies on-chain and streams the payload back.

Playbook

Six ways teams are wiring it up.

The 402 pattern collapses payments and access into a single HTTP round-trip. Here's where it clicks hardest.

USE CASE · 01
Autonomous agents

LLM agents that pay-per-call for premium APIs — no API keys, no billing dashboards, just receipts on-chain.

USE CASE · 02
Metered APIs

Ship pay-per-request endpoints without Stripe integrations, quotas, or per-user auth headaches.

USE CASE · 03
Content paywalls

Gate individual articles, downloads, or media assets behind micropayments smaller than any card fee.

USE CASE · 04
Model inference

Charge fractions of a cent per inference. Perfect for open-model providers and embedding services.

USE CASE · 05
Data marketplaces

Sell single rows, single queries, or single files. Settlement receipts double as immutable audit logs.

USE CASE · 06
Bot economies

Let bots pay bots. Machine-to-machine commerce with no shared trust anchor other than the chain.

Powerups

Built for machines that pay each other.

Every design decision optimizes for developer experience and API-first workflows.

2 lines to integrate
Zero Config

Import the SDK. Call fetch. Wallet creation, faucet funding, and settlement are automatic. No env vars, no dashboards.

RFC 7231 compliant
HTTP 402 Native

Built on the HTTP standard for payment-required responses. RESTful, stateless, inspectable end-to-end.

3 networks
Sandbox → Mainnet

Run on sandbox or testnet with free faucet HOOD. Flip one flag for Robinhood Chain mainnet — same SDK, same interface.

1 flag to go live
Production Path

Same SDK, same middleware. Promote to mainnet without a rewrite or new mental model.

1 line server-side
Express Middleware

Server-side is a single function — mpp.charge({ amount }). Drop it before any route. Plays nice with your auth and rate-limit stack.

6 lifecycle hooks
Trace Hooks

onStep callback gives real-time visibility into the settlement lifecycle: wallet, faucet, submit, confirm, retry, deliver.

Liftoff

Two sides. Both stupid simple.

Client auto-handles the settlement loop. Server adds one middleware line. That's the entire integration.

import { mppFetch } from "mpphood-sdk";

// That's it. No wallet setup, no config.
const res = await mppFetch("https://api.example.com/data");
const data = await res.json();

// Under the hood:
// 1. SDK generated an ephemeral keypair
// 2. Airdropped 2 HOOD from sandbox faucet
// 3. Server returned 402 Payment Required
// 4. SDK settled 0.001 HOOD on Robinhood Chain
// 5. Retried with Payment-Receipt → 200 OK
Face-off

402 vs. the card rails.

Feature
MPPHOOD
Legacy rails
Time to first request
< 60 seconds
Days of KYC & keys
Per-call minimum
Fractions of a cent
$0.30 card floor
Config surface
Zero
Dashboards, quotas, webhooks
Machine-to-machine
Native
Requires human onboarding
Settlement latency
~1.4s on-chain
T+2 payouts
Auditability
Every receipt on-chain
Vendor invoices
Trajectory

Where the sandbox is headed.

Q1
Ephemeral wallet SDK

Client + Express middleware ship with sandbox faucet integration.

Q2
Streaming traces

Real-time lifecycle hooks and DevLabs playground go public.

Q3
Testnet parity

Mainnet-like validator behavior plus CI-safe deterministic mode.

Q4
Mainnet + agent SDK

Production mainnet toggle and drop-in adapters for popular agent frameworks.

Signal

Builders shipping on 402.

"This is what fetch was always supposed to feel like. My agent pays for its own APIs now."
KN
K. Nakamura
AI infra engineer
"Killed our metering microservice in one afternoon. The 402 pattern is stupidly obvious in hindsight."
PS
Priya S.
Staff engineer, fintech
"Sub-2s settlement, zero config, no billing tables. It felt illegal at first."
MD
M. Duarte
Indie dev
Briefing

Questions, answered.

Everything you need to know about the 402 micropay protocol and the MPPHOOD sandbox.

Open DevLabs
What is HTTP 402?

402 Payment Required is a reserved HTTP status code from RFC 7231. MPPHOOD uses it to negotiate a tiny on-chain payment, then retry the request with a receipt header.

Is this real money?

By default DevLabs runs in Simulated mode against sandbox/testnet faucets — completely free. Flip to mainnet to use real HOOD.

Which chain is supported?

Robinhood Chain — sandbox, testnet, and mainnet. The SDK abstracts all three behind the same fetch() interface.

Do I need a wallet?

No. The SDK generates an ephemeral keypair per session and dusts it with faucet HOOD on test networks. Bring your own keypair only for mainnet.

How fast is settlement?

Robinhood Chain confirms in roughly 1–2 seconds. The full request → 402 → settle → retry → 200 round-trip usually finishes under 3 seconds on sandbox.

Can I use this in production?

Yes. The same SDK and middleware run on mainnet — flip one config flag, point at a funded keypair, and ship.

Stop mocking payments. Start settling them.

Fire real-shaped requests at a simulated Robinhood Chain settlement server. Watch every step of the 402 pipeline as it happens.

402
HTTP Standard
3
Robinhood Chain Networks
$0
To get started