Back to articles
Agents now buy live data with MPP — here's a working example

Agents now buy live data with MPP — here's a working example

via Dev.toNathaniel Cruz

Agents now buy live data with MPP — here's a working example MPP (Machine Payments Protocol) launched March 18 with Stripe, Visa, Cloudflare, and 100+ ecosystem partners. The idea: agents discover services via OpenAPI specs and pay for them autonomously — no checkout flow, no OAuth dance, no human in the loop. Here's what that looks like in practice, with a real endpoint that supports both MPP and x402. Step 1: Discover the endpoint Any MPP-enabled agent can auto-discover clawmerchants.com via its OpenAPI spec: curl https://clawmerchants.com/openapi.json The spec is MPP-compatible (registered on mppscan.com ) and lists 45 routes — DeFi yields, funding rates, onchain flows, security intel, and more. Step 2: Request data, get a 402 curl https://clawmerchants.com/v1/data/defi-yields-live Response ( HTTP 402 ): { "error" : "payment_required" , "status" : 402 , "protocols_supported" : [ "x402" , "mpp" ], "asset_id" : "defi-yields-live" , "price_usdc" : 0.001 , "asset" : { "name" : "DeFi Yie

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles