{"openapi":"3.1.0","info":{"title":"HTTP Failure Classifier","version":"1.0.0","description":"HTTP failures arrive as mixed status codes, timeouts, TLS errors, and HTML error pages, so agents cannot decide retry, backoff, or stop from one consistent class. $0.002 per call, USDC via x402 or MPP. Classifies a response snapshot, or one public GET with no credentials, into a retry class with a suggested backoff. An empty call scores a built-in 429 snapshot. Docs: https://http-failure-classifier.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://http-failure-classifier.fmf-x402.workers.dev/llms.txt and https://http-failure-classifier.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://http-failure-classifier.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://http-failure-classifier.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://http-failure-classifier.fmf-x402.workers.dev/docs","x-mcp":"https://http-failure-classifier.fmf-x402.workers.dev/mcp","x-llms":"https://http-failure-classifier.fmf-x402.workers.dev/llms.txt","x-fmf-id":"http-failure-classifier","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://http-failure-classifier.fmf-x402.workers.dev"}],"paths":{"/v1/classify-http":{"post":{"operationId":"_v1_classify_http","summary":"HTTP Failure Classifier","description":"HTTP failures arrive as mixed status codes, timeouts, TLS errors, and HTML error pages, so agents cannot decide retry, backoff, or stop from one consistent class. $0.002 per call, USDC via x402 or MPP. Classifies a response snapshot, or one public GET with no credentials, into a retry class with a suggested backoff. An empty call scores a built-in 429 snapshot.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"number","description":"HTTP status of the failed or observed response (default: 429)","default":429},"headers":{"type":"object","description":"Response headers (object or [name,value] pairs) (default: {\"retry-after\":\"12\",\"content-type\":\"application/json\"})"},"body":{"type":"string","description":"Response body, or a short prefix; used only to detect HTML error pages (default: {\"error\":\"rate limited\"})","default":"{\"error\":\"rate limited\"}"},"error":{"type":"string","description":"Transport error message (timeout, TLS, DNS, network) (default: null)"},"timing_ms":{"type":"number","description":"Optional observed duration in milliseconds (default: 80)","default":80},"url":{"type":"string","description":"Optional public URL to GET once with no credentials and classify"}}},"example":{"status":429,"headers":{"retry-after":"12","content-type":"application/json"},"body":"{\"error\":\"rate limited\"}","error":null,"timing_ms":80}}}},"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.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"}}}}},"externalDocs":{"description":"Copy-paste examples (CLI, curl, TypeScript, Python, MCP)","url":"https://http-failure-classifier.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."}]}