{"openapi":"3.1.0","info":{"title":"Structured File Diff","version":"1.0.0","description":"A text diff on two JSON or CSV exports buries the added, removed, and changed fields, and a numeric total can move without anyone seeing which path caused it. $0.001 per call, USDC via x402 or MPP. Compares two (or three) JSON or CSV payloads and returns added, removed, and changed paths, plus numeric-field mismatches. An empty call compares a built-in pair of sample tables that contain one total mismatch. Docs: https://structured-file-diff.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://structured-file-diff.fmf-x402.workers.dev/llms.txt and https://structured-file-diff.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://structured-file-diff.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://mpp-chain.fmf-x402.workers.dev, https://mpp-stt.fmf-x402.workers.dev, https://mpp-compat.fmf-x402.workers.dev, https://mpp-domain.fmf-x402.workers.dev, https://mpp-utils.fmf-x402.workers.dev, https://mtg-sim.fmf-x402.workers.dev, https://controlplane-x402.fmf-x402.workers.dev, https://pokemon-tcg-sim.fmf-x402.workers.dev, https://yugioh-sim.fmf-x402.workers.dev, https://mpp-cryptotax.fmf-x402.workers.dev, https://mpp-biz.fmf-x402.workers.dev, https://lorcana-sim.fmf-x402.workers.dev, https://onepiece-sim.fmf-x402.workers.dev, https://hearthstone-sim.fmf-x402.workers.dev, https://chess-sim.fmf-x402.workers.dev, https://dota2-sim.fmf-x402.workers.dev, https://cs2-sim.fmf-x402.workers.dev. Operated by FMF Tools (fmf-tools@agentmail.to). Pay-per-call only; no API key and no account. Invalid input or an upstream failure returns 402 and is not charged.","x-guidance":"POST JSON (or GET with query params) to any /mpp/* route and pay the 402 challenge with MPP on Tempo (USDC.e or pathUSD) or x402 v2 on Base (USDC). Bad input or an upstream failure returns 402 with an error and you are not charged. If you omit a documented input param, the route uses the default listed in this document and in the 402 challenge.","contact":{"name":"FMF Tools","url":"https://structured-file-diff.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://structured-file-diff.fmf-x402.workers.dev/docs","x-mcp":"https://structured-file-diff.fmf-x402.workers.dev/mcp","x-llms":"https://structured-file-diff.fmf-x402.workers.dev/llms.txt","x-fmf-id":"structured-file-diff","x-related":{"name":"FMF Recipes","what":"Which paid API to call for any agent task, ranked by receipt-verified agent outcomes","find":"https://agent-recipes.fmf-x402.workers.dev/mpp/recipes/find","price_usd":0.003,"empty_call_ok":true,"mcp":"https://agent-recipes.fmf-x402.workers.dev/mcp","llms":"https://agent-recipes.fmf-x402.workers.dev/llms.txt"},"x-also":{"name":"FMF Tools Etsy Movers","what":"Today's top 20 Etsy shops by sales acceleration from the FMF Tools Etsy Pulse panel (no input)","find":"https://etsy-movers.fmf-x402.workers.dev/etsy/movers/today","price_usd":0.01,"empty_call_ok":true,"mcp":"https://etsy-movers.fmf-x402.workers.dev/mcp","llms":"https://etsy-movers.fmf-x402.workers.dev/llms.txt"}},"servers":[{"url":"https://structured-file-diff.fmf-x402.workers.dev"}],"paths":{"/v1/structured-diff":{"post":{"operationId":"_v1_structured_diff","summary":"Structured File Diff","description":"A text diff on two JSON or CSV exports buries the added, removed, and changed fields, and a numeric total can move without anyone seeing which path caused it. $0.001 per call, USDC via x402 or MPP. Compares two (or three) JSON or CSV payloads and returns added, removed, and changed paths, plus numeric-field mismatches. An empty call compares a built-in pair of sample tables that contain one total mismatch.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"left":{"type":"string","description":"First JSON or CSV payload (also accepted as left_text, a, or a JSON object) (default: order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,9.18\n)","default":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,9.18\n"},"right":{"type":"string","description":"Second JSON or CSV payload (also accepted as right_text, b, or a JSON object) (default: order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,10.18\n)","default":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,10.18\n"},"third":{"type":"string","description":"Optional third payload to compare against the second"}}},"example":{"left":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,9.18\n","right":"order_id,sku,qty,price,line_total,tax,total\n1001,HAT-RED,2,10.00,20.00,1.60,21.60\n1002,MUG-BLU,1,8.50,8.50,0.68,10.18\n"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"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://structured-file-diff.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, /stats."}]}