{"openapi":"3.1.0","info":{"title":"FMF Credits: prepaid credits + API keys for FMF Tools","version":"1.0.0","description":"Buy prepaid credits for FMF Tools with x402 (Base USDC), MPP (Tempo) or card (Stripe Checkout). Spend them per call with an X-API-Key header. Docs: https://fmf-credits.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://fmf-credits.fmf-x402.workers.dev/llms.txt and https://fmf-credits.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://fmf-credits.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.","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. A call with no input at all answers the default input listed in this document and in the 402 challenge. If you send any input, nothing is defaulted: missing or unrecognised input is refused and not charged. Tempo mainnet (chainId 4217) with the mppx CLI: npx mppx account create --network mainnet, fund it with USDC.e or pathUSD on Tempo mainnet (npx mppx account fund is testnet-only), then npx mppx <route url> --network mainnet -J '<json body>'. Base x402 clients can pay the USDC offer in the same 402.","contact":{"name":"FMF Tools","url":"https://fmf-credits.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://fmf-credits.fmf-x402.workers.dev/docs","x-mcp":"https://fmf-credits.fmf-x402.workers.dev/mcp","x-llms":"https://fmf-credits.fmf-x402.workers.dev/llms.txt","x-fmf-id":"fmf-credits"},"servers":[{"url":"https://fmf-credits.fmf-x402.workers.dev"}],"paths":{"/mpp/credits/topup-1":{"post":{"operationId":"credits_topup_1","summary":"Buy $1 of FMF prepaid credits","description":"Adds $1.00 of prepaid credit to an FMF API key (create a key: POST https://fmf-credits.fmf-x402.workers.dev/keys; keys start at $0, no free calls). Credits are spent per call on any credit-enabled FMF Tools route with header X-API-Key, no wallet needed per call. Unknown key -> not charged. Price $1.00 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Your FMF API key (fmf_...). Create one: POST /keys (starts at $0) (default: fmf_00000000000000000000000000000000)","default":"fmf_00000000000000000000000000000000"}}},"example":{"key":"fmf_00000000000000000000000000000000"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c0000000000000000000000000000000000000"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"1.00"},"x-tempo":{"network":"mainnet","chainId":4217,"currencies":[{"symbol":"USDC.e","address":"0x20C000000000000000000000b9537d11c60E8b50","decimals":6},{"symbol":"pathUSD","address":"0x20c0000000000000000000000000000000000000","decimals":6}],"payTo":"0xB2070a4A874E7141E551890a3642bF7B24a1a148"},"x-x402":{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC","decimals":6,"payTo":"0xB2070a4A874E7141E551890a3642bF7B24a1a148"}},"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/credits/topup-5":{"post":{"operationId":"credits_topup_5","summary":"Buy $5 of FMF prepaid credits","description":"Adds $5.00 of prepaid credit to an FMF API key (create a key: POST https://fmf-credits.fmf-x402.workers.dev/keys; keys start at $0, no free calls). Credits are spent per call on any credit-enabled FMF Tools route with header X-API-Key, no wallet needed per call. Unknown key -> not charged. Price $5.00 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Your FMF API key (fmf_...). Create one: POST /keys (starts at $0) (default: fmf_00000000000000000000000000000000)","default":"fmf_00000000000000000000000000000000"}}},"example":{"key":"fmf_00000000000000000000000000000000"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c0000000000000000000000000000000000000"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"5.00"},"x-tempo":{"network":"mainnet","chainId":4217,"currencies":[{"symbol":"USDC.e","address":"0x20C000000000000000000000b9537d11c60E8b50","decimals":6},{"symbol":"pathUSD","address":"0x20c0000000000000000000000000000000000000","decimals":6}],"payTo":"0xB2070a4A874E7141E551890a3642bF7B24a1a148"},"x-x402":{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC","decimals":6,"payTo":"0xB2070a4A874E7141E551890a3642bF7B24a1a148"}},"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/credits/topup-20":{"post":{"operationId":"credits_topup_20","summary":"Buy $20 of FMF prepaid credits","description":"Adds $20.00 of prepaid credit to an FMF API key (create a key: POST https://fmf-credits.fmf-x402.workers.dev/keys; keys start at $0, no free calls). Credits are spent per call on any credit-enabled FMF Tools route with header X-API-Key, no wallet needed per call. Unknown key -> not charged. Price $20.00 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Your FMF API key (fmf_...). Create one: POST /keys (starts at $0) (default: fmf_00000000000000000000000000000000)","default":"fmf_00000000000000000000000000000000"}}},"example":{"key":"fmf_00000000000000000000000000000000"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c0000000000000000000000000000000000000"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"20.00"},"x-tempo":{"network":"mainnet","chainId":4217,"currencies":[{"symbol":"USDC.e","address":"0x20C000000000000000000000b9537d11c60E8b50","decimals":6},{"symbol":"pathUSD","address":"0x20c0000000000000000000000000000000000000","decimals":6}],"payTo":"0xB2070a4A874E7141E551890a3642bF7B24a1a148"},"x-x402":{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC","decimals":6,"payTo":"0xB2070a4A874E7141E551890a3642bF7B24a1a148"}},"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://fmf-credits.fmf-x402.workers.dev/docs"},"components":{"securitySchemes":{"Payment":{"type":"http","scheme":"Payment","description":"MPP Payment credential on Tempo mainnet (chainId 4217; 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."}]}