{"openapi":"3.1.0","info":{"title":"FMF Tools Compat APIs: OpenWeather-, Mapbox- and EDGAR-compatible routes at 1/3 the price (no API key, MPP + x402)","version":"1.0.0","description":"Drop-in, request- and response-compatible routes for the most-paid MPP data APIs, from sources that allow commercial reuse: OpenWeather-shaped current weather, 5-day/3-hour forecast and geocoding (MET Norway + GeoNames), Mapbox-shaped city geocoding (GeoNames), and SEC EDGAR submissions, company facts and concepts (public domain). Same paths as the \"via Locus\" listings, so switching is a base-URL change. Pay per call with MPP on Tempo (USDC.e/pathUSD) or x402 on Base (USDC). Invalid input or upstream failure returns 402 and is not charged. Not affiliated with OpenWeather, Mapbox or the SEC. Docs: https://mpp-compat.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-compat.fmf-x402.workers.dev/llms.txt and https://mpp-compat.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://mpp-compat.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. Sources: MET Norway Locationforecast (CC BY 4.0); GeoNames (CC BY 4.0); U.S. SEC EDGAR data.sec.gov (public domain). Brand names describe API compatibility only.","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, WWW-Authenticate: Payment) or x402 v2 on Base (USDC, PAYMENT-REQUIRED / PAYMENT-SIGNATURE headers). Bad input or an upstream failure returns 402 with an error and you are not charged.","contact":{"name":"FMF Tools","url":"https://mpp-compat.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://mpp-compat.fmf-x402.workers.dev/docs","x-mcp":"https://mpp-compat.fmf-x402.workers.dev/mcp","x-llms":"https://mpp-compat.fmf-x402.workers.dev/llms.txt","x-fmf-id":"compat"},"servers":[{"url":"https://mpp-compat.fmf-x402.workers.dev"}],"paths":{"/openweather/current-weather":{"post":{"operationId":"_openweather_current_weather","summary":"Current weather (OpenWeather-compatible)","description":"Drop-in for OpenWeather /weather and \"OpenWeather via Locus\" /openweather/current-weather: same request (lat, lon, units, lang) and response shape (coord, weather[], main, wind, clouds, dt, timezone, name). Global data from MET Norway, CC BY 4.0. Locus lists $0.006. Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"lat":{"type":"number","description":"Latitude (-90 to 90)"},"lon":{"type":"number","description":"Longitude (-180 to 180)"},"units":{"type":"string","description":"standard (Kelvin, default), metric, imperial"},"lang":{"type":"string","description":"Accepted for compatibility; descriptions are English"}},"required":["lat","lon"]},"example":{"lat":51.5074,"lon":-0.1278,"units":"metric"}}}},"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"}}}},"/openweather/forecast-5day":{"post":{"operationId":"_openweather_forecast_5day","summary":"5-day / 3-hour forecast (OpenWeather-compatible)","description":"Drop-in for OpenWeather /forecast and \"OpenWeather via Locus\" /openweather/forecast-5day: up to 40 entries in 3-hour steps (6-hour after ~2.5 days, as MET publishes), list[] with main, weather[], wind, clouds, pop, dt_txt plus city{}. MET Norway, CC BY 4.0. Locus lists $0.008. Price $0.003 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"lat":{"type":"number","description":"Latitude (-90 to 90)"},"lon":{"type":"number","description":"Longitude (-180 to 180)"},"cnt":{"type":"number","description":"Number of timestamps (1-40, default 40)"},"units":{"type":"string","description":"standard, metric, imperial"},"lang":{"type":"string"}},"required":["lat","lon"]},"example":{"lat":37.7749,"lon":-122.4194,"cnt":8,"units":"imperial"}}}},"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.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"}}}},"/openweather/geocode":{"post":{"operationId":"_openweather_geocode","summary":"Direct geocoding (OpenWeather-compatible)","description":"Drop-in for OpenWeather /geo/1.0/direct: q = \"City\", \"City,CC\" or \"City,State,CC\" -> [{name, lat, lon, country, state}]. 230k+ places (GeoNames, CC BY 4.0). Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"q":{"type":"string","description":"City name, optionally with state and country code"},"limit":{"type":"number","description":"1-5 (default 5)"}},"required":["q"]},"example":{"q":"Austin,TX,US","limit":1}}}},"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"}}}},"/openweather/reverse-geocode":{"post":{"operationId":"_openweather_reverse_geocode","summary":"Reverse geocoding (OpenWeather-compatible)","description":"Drop-in for OpenWeather /geo/1.0/reverse: lat, lon -> nearest named places [{name, lat, lon, country, state, distance_km}] (GeoNames, CC BY 4.0). Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"lat":{"type":"number","description":"Latitude (-90 to 90)"},"lon":{"type":"number","description":"Longitude (-180 to 180)"},"limit":{"type":"number","description":"1-5 (default 5)"}},"required":["lat","lon"]},"example":{"lat":48.8584,"lon":2.2945,"limit":2}}}},"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"}}}},"/mapbox/geocode-forward":{"post":{"operationId":"_mapbox_geocode_forward","summary":"Forward geocoding, city-level (Mapbox-compatible)","description":"Mapbox Geocoding v6-shaped FeatureCollection for place names (q, country, limit). City/town level from GeoNames (CC BY 4.0), not street addresses. \"Mapbox via Locus\" lists $0.00375. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"q":{"type":"string","description":"Place name"},"country":{"type":"string","description":"ISO alpha-2 code (first one used)"},"limit":{"type":"number","description":"1-10 (default 5)"}},"required":["q"]},"example":{"q":"Springfield, IL","limit":2}}}},"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"}}}},"/mapbox/geocode-reverse":{"post":{"operationId":"_mapbox_geocode_reverse","summary":"Reverse geocoding, city-level (Mapbox-compatible)","description":"Mapbox Geocoding v6-shaped FeatureCollection of the nearest places to longitude/latitude, with distance_km. GeoNames (CC BY 4.0). Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"longitude":{"type":"number"},"latitude":{"type":"number"},"limit":{"type":"number","description":"1-5 (default 1)"}},"required":["longitude","latitude"]},"example":{"longitude":-73.9857,"latitude":40.7484}}}},"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"}}}},"/edgar/company-submissions":{"post":{"operationId":"_edgar_company_submissions","summary":"SEC company submissions (EDGAR-compatible)","description":"Same as data.sec.gov/submissions and \"EDGAR via Locus\" /edgar/company-submissions ($0.008): company profile plus recent filings (form, dates, accession numbers, primary documents). Public domain. Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cik":{"type":"string","description":"CIK with or without leading zeros"}},"required":["cik"]},"example":{"cik":"320193"}}}},"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"}}}},"/edgar/company-facts":{"post":{"operationId":"_edgar_company_facts","summary":"SEC XBRL company facts (EDGAR-compatible)","description":"Same as data.sec.gov/api/xbrl/companyfacts and \"EDGAR via Locus\" /edgar/company-facts ($0.008): every XBRL fact a company has reported. Public domain. Price $0.003 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cik":{"type":"string"}},"required":["cik"]},"example":{"cik":"320193"}}}},"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.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"}}}},"/edgar/company-concept":{"post":{"operationId":"_edgar_company_concept","summary":"SEC XBRL company concept (EDGAR-compatible)","description":"Same as data.sec.gov/api/xbrl/companyconcept and \"EDGAR via Locus\" /edgar/company-concept ($0.008): one XBRL concept (e.g. us-gaap Revenues) over time. Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cik":{"type":"string"},"taxonomy":{"type":"string","description":"us-gaap, ifrs-full, dei, srt"},"tag":{"type":"string","description":"e.g. Assets, NetIncomeLoss"}},"required":["cik","taxonomy","tag"]},"example":{"cik":"320193","taxonomy":"us-gaap","tag":"Assets"}}}},"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://mpp-compat.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."}]}