{"openapi":"3.1.0","info":{"title":"Agent Utility Tools (MPP): Tempo chain, attestation, geocoding, tech detect, math, QR, DNS, email, IP","version":"1.0.0","description":"Pay-per-call utilities for AI agents: signed timestamped attestation receipts for agent sessions and transcripts (SHA-256, RFC 6962 Merkle root, drand round, Tempo block; nothing stored) plus verification, Tempo gas/fees, transaction decoder, wallet snapshot and activity score, stablecoin peg monitor from on-chain DEX quotes, QR codes (PNG/SVG, Wi-Fi, vCard, Tempo payment) and QR/barcode scanning, city geocoding, reverse geocoding and timezones (GeoNames), website technology-stack detection, high-precision math with units and symbolic algebra, DNS lookup with SPF/DMARC, no-send email verification, and IP geolocation/ASN. No account or API key: pay per call with MPP on Tempo (USDC.e or pathUSD). Invalid input or upstream failure returns 402 and is not charged. Docs: https://mpp-tools.fmf-x402.workers.dev/docs — copy-paste examples for the mppx CLI, curl, the TypeScript SDK (mppx) and the Python SDK (pympp), plus an MCP config. Machine-readable: https://mpp-tools.fmf-x402.workers.dev/llms.txt and https://mpp-tools.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://mpp-tools.fmf-x402.workers.dev/mcp. Fleet of sister services: https://mpp-docs.fmf-x402.workers.dev, https://mpp-agent-data.fmf-x402.workers.dev, https://mpp-tools.fmf-x402.workers.dev, https://mpp-ai.fmf-x402.workers.dev, https://mpp-browser.fmf-x402.workers.dev, https://mpp-research.fmf-x402.workers.dev, https://controlplane-x402.fmf-x402.workers.dev. Sources: Tempo mainnet public RPC and token list; drand quicknet (League of Entropy) public randomness; Cloudflare 1.1.1.1 DNS-over-HTTPS; disposable-email-domains (CC0); IP Geolocation by DB-IP (https://db-ip.com), CC BY 4.0; GeoNames (geonames.org), CC BY 4.0; webappanalyzer fingerprints (GPL-3.0). Attestation public key (free): GET /attest/pubkey","x-guidance":"POST JSON (or GET with query params) to any /mpp/* route and pay the MPP 402 challenge on Tempo (USDC.e or pathUSD). Bad input or an upstream failure returns 402 with an error and you are not charged.","contact":{"url":"https://mpp-tools.fmf-x402.workers.dev/docs"},"x-docs":"https://mpp-tools.fmf-x402.workers.dev/docs","x-mcp":"https://mpp-tools.fmf-x402.workers.dev/mcp","x-llms":"https://mpp-tools.fmf-x402.workers.dev/llms.txt","x-fmf-id":"tools"},"servers":[{"url":"https://mpp-tools.fmf-x402.workers.dev"}],"paths":{"/mpp/tempo/gas":{"post":{"operationId":"tempo_gas","summary":"Tempo gas price and fee costs","description":"Current Tempo mainnet gas price, base fee, block utilisation and the USD fee for common actions (TIP-20 transfer, transfer with memo, approve, DEX swap, contract deploy), computed exactly as Tempo charges (gas x price / 1e18 USD, paid in a stablecoin). Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{}},"example":{}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/tempo/tx":{"post":{"operationId":"tempo_tx","summary":"Decode a Tempo transaction","description":"Decode a Tempo mainnet transaction by hash: status, block/time, from/to, fee paid (USD, fee token, fee payer/sponsor), decoded TIP-20 call (transfer/transferWithMemo/approve...), every TIP-20 Transfer/Approval event with token symbol, human amounts and decoded memo text. Price $0.003 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string","description":"0x transaction hash"}},"required":["hash"]},"example":{"hash":"0xae8dd28db9cfa8693512e2798b8805d63172ed5eaf25088b9a809f4cacc0b4c1"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/tempo/wallet":{"post":{"operationId":"tempo_wallet","summary":"Tempo wallet snapshot and activity score","description":"One-call Tempo wallet snapshot: every nonzero balance across the official token list (with USD total for USD stablecoins), transaction count (nonce), contract-or-EOA, and a transparent 0-100 activity score with its components. Price $0.003 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"0x wallet address"}},"required":["address"]},"example":{"address":"0xB2070a4A874E7141E551890a3642bF7B24a1a148"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/tempo/peg":{"post":{"operationId":"tempo_peg","summary":"Tempo stablecoin peg monitor (DEX quotes)","description":"Live peg check for every Tempo stablecoin from on-chain Tempo DEX quotes against pathUSD: sell and buy price for a chosen size, mid, deviation in basis points, spread, liquidity status, and an off-peg flag. Read directly from the DEX precompile, no third-party price feed. Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"size":{"type":"number","description":"quote size in tokens (default 100)"},"threshold_bps":{"type":"number","description":"flag tokens off peg beyond this (default 50)"}}},"example":{"size":100}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/qr/png":{"post":{"operationId":"qr_png","summary":"QR code PNG","description":"Generate a QR code PNG for text/URL, Wi-Fi login (type=wifi: ssid,password,security), contact card (type=vcard: name,phone,email,org,website), email, SMS, geo, or a Tempo payment request (type=tempo: address, amount, token). Custom colours, size, error correction. Returns image/png (format=json for base64). Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"content (URL, text...)"},"type":{"type":"string","enum":["text","wifi","vcard","email","sms","geo","tempo"]},"size":{"type":"integer","description":"pixels, 64-2048 (default 512)"},"color":{"type":"string","description":"hex fg, e.g. #000000"},"bg":{"type":"string","description":"hex bg"},"ecc":{"type":"string","enum":["L","M","Q","H"]},"margin":{"type":"integer"},"format":{"type":"string","enum":["png","json"]}}},"example":{"text":"https://mpp.dev","size":256}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"responses":{"200":{"description":"Result","content":{"image/png":{"schema":{"type":"string","format":"binary"}},"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/qr/svg":{"post":{"operationId":"qr_svg","summary":"QR code SVG","description":"Generate a QR code as scalable SVG (same content types as /mpp/qr/png: text, wifi, vcard, email, sms, geo, tempo payment). Returns image/svg+xml. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string"},"type":{"type":"string","enum":["text","wifi","vcard","email","sms","geo","tempo"]},"color":{"type":"string"},"bg":{"type":"string"},"ecc":{"type":"string","enum":["L","M","Q","H"]}}},"example":{"text":"https://mpp.dev"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"image/svg+xml":{"schema":{"type":"string"}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/qr/scan":{"post":{"operationId":"qr_scan","summary":"Scan QR codes and barcodes in an image","description":"Decode every QR code, Data Matrix, Aztec, PDF417 and 1D barcode (EAN/UPC/Code128...) in an image: text, format, position, error-correction level. Send an image URL, base64, or raw image bytes (POST with content-type image/*). Max 8 MB. No codes found returns 402, not charged. Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"https URL of a PNG/JPEG/WebP/GIF/BMP image"},"image_base64":{"type":"string","description":"image bytes, base64 (data: URL ok)"}}},"example":{"image_base64":"R0lGODdh0ADQAIAAAAAAAP///ywAAAAA0ADQAAAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6spSwAvH8kzX9g0wtU7zM7db4IbE4k9oTCp7yKMi+GRqoIml1eq7aofZWBf2fQGl1a35Fj6r0+ymbOwsq+dgN31tr0fjCCrGf3B3lyaIlSd2mJMI95ZYuET4mNS211jptQFoIHkWyUlEKWcpijlF1vepFYqiGdD6enrSSgLLJxu7ieuqOzvSK1I7yspLbJtrXPIbElyawqxHCo2KTKtbjawM8ox4KR1o7QsOXCx8i03ePF1ukv2xrajyvvpNHV4/fn6/jO59vL6rT5u4ffn+dVo0IRUohN24RYPE8CE8iZMiQlDIxSI9g/9m5vlLt/GKxwYYcYx8V7HhRHUgPxpS6aKkjZP8IMLU6NKmxJgya64M2Q+gKpxCWxZ9uTNhT580tzTl6JSoJ4xPjR68iZWikZFTFVYNejVpVpZIyTo0q4TnQlMFRRJFufVtR6VFGFmdOxboWb1p5UaVkDID3Lp+oQ7Nm7Mv4LhsDbtFfHRv4sBou5qku1awT8p8v+qs7IhxBM4WBmcGDTksaq2EF7fW3LZs58KPxbI+/YB0BdMZU28WvXpYSc+KbQfnq7udh57EkzMN/fo4O5nNgc/2/de4Oaq0ZSeuHv26M+rdP4uXHrk4+mvcsR/W/h067vjx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":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/geo/search":{"post":{"operationId":"geo_search","summary":"Geocode a place name (city-level)","description":"Forward geocoding for 230k+ cities and towns worldwide (population 500+): \"Paris\", \"Springfield, IL\", \"Sao Paulo, Brazil\", accent and alternate-name aware (München -> Munich). Returns lat/lon, admin region, country, population, IANA timezone, elevation. City-level, not street addresses. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"q":{"type":"string","description":"place, optionally \", region\" and/or \", country\""},"country":{"type":"string","description":"ISO alpha-2 filter"},"limit":{"type":"integer","description":"1-20 (default 5)"}},"required":["q"]},"example":{"q":"Springfield, IL","limit":3}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/geo/reverse":{"post":{"operationId":"geo_reverse","summary":"Reverse geocode lat/lon to nearest places","description":"Nearest populated places to a coordinate with distance, plus the nearest city (population 15k+ within 40 km), admin region, country and IANA timezone. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"limit":{"type":"integer","description":"1-20 (default 3)"}},"required":["lat","lon"]},"example":{"lat":48.8584,"lon":2.2945}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/geo/timezone":{"post":{"operationId":"geo_timezone","summary":"Timezone and local time for a place, coordinate or zone","description":"IANA timezone, current (or given-instant) local time, UTC offset, abbreviation and DST flag, from lat/lon (nearest populated place), a place name, or a tz name. Pass \"at\" (ISO 8601) to convert a specific instant. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"place":{"type":"string"},"tz":{"type":"string","description":"IANA name, e.g. Europe/Berlin"},"at":{"type":"string","description":"ISO 8601 instant (default now)"}}},"example":{"place":"Tokyo","at":"2026-07-01T12:00:00Z"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/tech/detect":{"post":{"operationId":"tech_detect","summary":"Detect a website's technology stack","description":"Fingerprint the technologies behind a URL (7,700+ signatures: CMS, frameworks, analytics, CDNs, servers, e-commerce, payment, tag managers, JS libraries) from its headers, cookies, HTML, meta tags and scripts, with versions where visible and confidence. One page fetch, no JS execution. Price $0.003 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]},"example":{"url":"https://wordpress.org/news/"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/math/eval":{"post":{"operationId":"math_eval","summary":"Evaluate math expressions (64-digit precision, units, matrices)","description":"Evaluate one or many expressions with 64-significant-digit arithmetic: functions, constants, complex numbers, matrices, statistics, combinatorics, and unit arithmetic/conversion (\"5 km/h to m/s\", \"2 inch * 3 cm to cm^2\"). Variables via scope or earlier lines (x = 3; x^2). Sandboxed parser, no code execution. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expr":{"type":"string"},"exprs":{"type":"array","items":{"type":"string"},"description":"up to 50, evaluated in order with a shared scope"},"scope":{"type":"object","description":"variables, e.g. {\"x\": 2}"},"precision":{"type":"integer","description":"significant digits in result strings, 1-64 (default 14)"}}},"example":{"exprs":["r = 6371 km","circ = 2 pi r","circ to mi","det([1,2;3,4])","combinations(52, 5)","sqrt(-4)"]}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/math/convert":{"post":{"operationId":"math_convert","summary":"Unit conversion (300+ units)","description":"Convert a value between units: length, mass, time, temperature, speed, area, volume, energy, power, pressure, data (bits/bytes, KiB/MB), angle, force, frequency, electric units and compound units (kWh, lbf*ft, mi/gal). Returns the converted value plus SI value. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"value":{"type":"number"},"from":{"type":"string"},"to":{"type":"string","description":"target unit, or comma list for several"}},"required":["value","from","to"]},"example":{"value":72,"from":"degF","to":"degC, K"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/math/symbolic":{"post":{"operationId":"math_symbolic","summary":"Symbolic algebra: simplify, derivative, rationalize","description":"Symbolic manipulation of an expression: simplify (with optional variable values), derivative with respect to a variable (any order), rationalize to a polynomial fraction, and evaluate the result at a point. Returns plain text and LaTeX. Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expr":{"type":"string"},"op":{"type":"string","enum":["simplify","derivative","rationalize"]},"variable":{"type":"string","description":"for derivative (default x)"},"order":{"type":"integer","description":"derivative order 1-5"},"at":{"type":"object","description":"evaluate the result at these values, e.g. {\"x\": 2}"}},"required":["expr","op"]},"example":{"expr":"x^3 * sin(x)","op":"derivative","variable":"x","at":{"x":1}}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/dns/lookup":{"post":{"operationId":"dns_lookup","summary":"DNS lookup (all record types)","description":"Resolve DNS records for a domain (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS) via DNS-over-HTTPS with DNSSEC status, plus parsed SPF and DMARC policy. Price $0.0005 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"types":{"type":"string","description":"comma list, default A,AAAA,MX,TXT,NS,CNAME,CAA"}},"required":["domain"]},"example":{"domain":"mpp.dev"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.0005"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/email/verify":{"post":{"operationId":"email_verify","summary":"Email address verification (no-send)","description":"Check an email address without sending mail: syntax, domain exists, MX records (or A fallback), disposable/throwaway domain (open CC0 list), role account (info@, support@...), free webmail provider, SPF/DMARC presence, and a verdict (deliverable_domain / risky / undeliverable) with reasons. No SMTP probing. Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"example":{"email":"support@cloudflare.com"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/ip/lookup":{"post":{"operationId":"ip_lookup","summary":"IP geolocation and ASN","description":"Geolocate IPv4/IPv6 addresses: city, region, country, continent, EU flag, coordinates, ASN and network operator, plus private/reserved flags. Up to 100 IPs per call for the same price. IP geolocation by DB-IP.com (CC BY 4.0). Price $0.0008 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ip":{"type":"string"},"ips":{"type":"array","items":{"type":"string"},"description":"up to 100 IPs (same price)"}}},"example":{"ip":"8.8.8.8"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.0008"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/attest/session":{"post":{"operationId":"attest_session","summary":"Attest an agent session (signed timestamped receipt)","description":"Post a session log, transcript, list of turns, per-turn hashes or just a SHA-256; get an Ed25519-signed receipt with the content SHA-256, an RFC 6962 Merkle root over the turns (optional per-turn inclusion proofs), a drand quicknet round and a Tempo mainnet block (time lower bound). Nothing is stored. Hash-only modes keep content private. Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"turns":{"type":"array","description":"session turns (strings or objects; objects hashed as canonical JSON)"},"transcript":{"type":"string","description":"raw transcript/log text (Merkle leaves = non-empty lines)"},"leaf_hashes":{"type":"array","items":{"type":"string"},"description":"private mode: your own RFC 6962 leaf hashes, hex"},"sha256":{"type":"string","description":"private mode: hex SHA-256 of your content"},"label":{"type":"string","description":"optional label/session id, max 200 chars, included in the signed receipt"},"proofs":{"type":"boolean","description":"return per-turn inclusion proofs (max 1000 turns)"}}},"example":{"turns":[{"role":"user","content":"Summarize the Q3 report"},{"role":"assistant","content":"Q3 revenue grew 12%..."}],"label":"session-42","proofs":true}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/attest/verify":{"post":{"operationId":"attest_verify","summary":"Verify an attestation receipt","description":"Check an /mpp/attest/session receipt: Ed25519 signature, optional content match (turns, transcript or sha256), optional single-turn inclusion proof, and that the drand round and Tempo block in it are real. Returns each check and an overall valid flag. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receipt":{"type":"object"},"signature":{"type":"string","description":"base64url signature from attest/session"},"turns":{"type":"array"},"transcript":{"type":"string"},"sha256":{"type":"string"},"turn":{"description":"one turn to prove inclusion of (string or object)"},"index":{"type":"integer"},"path":{"type":"array","items":{"type":"string"}}},"required":["receipt","signature"]},"example":{"receipt":{"v":1,"type":"fmf.attest.session","id":"863b9f50-453a-4401-ac5a-74b164a619b6","issued_at":"2026-11-24T18:57:50.284Z","issuer":"mpp-tools.fmf-x402.workers.dev","key_id":"d667e0055acf1926","alg":"Ed25519","input_kind":"turns","content_sha256":"04835a65b865aa32be3a31b07a60ec7f4b837726fffab6e8e0ddc5843ca15258","bytes":109,"merkle":{"root":"4aa970ae2496c4cc7e5aee3d0a86f49e06bb09c657f269f1c8b7695e4cfdd6a3","leaf_count":2,"scheme":"rfc6962-sha256"},"label":"example","drand":{"chain":"quicknet","chain_hash":"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971","round":34247768,"randomness":"bf6a799e885fb101bdc5841dcea047170507bf023fcd9b1d3aed9971e0da058d","signature":"8be34b431e2bb6ca8f0d51db11e376fd207961e7bc986aa228fc188596db698e3e7dfc554ca3a17429d600d6c8cf81dd","time":"2026-11-24T18:57:48.000Z"},"tempo":{"chain_id":4217,"block":50632507,"hash":"0x35382f91dca1451a47201afd5834a159fb1c0f54a94d6f2582635f0531907b93","time":"2026-11-24T18:57:49.000Z"}},"signature":"CxqV7KMe5A5KRx6U8rIiDTz-HG8m7CLDZ37jm_0IxXVSkEgFzyLeq3eRtxdIiyRZE_k1TaU93kvRPyi3lJBNCw","turns":[{"role":"user","content":"Summarize the Q3 report"},{"role":"assistant","content":"Q3 revenue grew 12%..."}]}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}}},"externalDocs":{"description":"Copy-paste examples (CLI, curl, TypeScript, Python, MCP)","url":"https://mpp-tools.fmf-x402.workers.dev/docs"},"components":{"securitySchemes":{"Payment":{"type":"http","scheme":"Payment","description":"MPP Payment credential on Tempo (USDC.e or pathUSD). Clients such as mppx handle the 402 challenge automatically. See https://mpp.dev/sdk"}}},"tags":[{"name":"paid","description":"Pay-per-call MPP routes. Unpaid requests receive 402. Invalid input is not charged."},{"name":"discovery","description":"Free discovery surfaces: /docs, /llms.txt, /openapi.json, /mcp, /health."}]}