Direct geocoding (OpenWeather-compatible)
mpp-compat.fmf-x402.workers.dev/openweather/geocode
Direct geocoding (OpenWeather-compatible) — 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.
GET
https://mpp-compat.fmf-x402.workers.dev/openweather/geocodeUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://mpp-compat.fmf-x402.workers.dev/openweather/geocode?q=Austin%2CTX%2CUS&limit=1");
console.log(await res.json());Example input
{
"q": "Austin,TX,US",
"limit": "1"
}More from FMF Tools FMF Tools Compat APIs
- mpp-compat.fmf-x402.workers.dev/edgar/company-conceptSEC XBRL company concept (EDGAR-compatible) — 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.0.002
- mpp-compat.fmf-x402.workers.dev/edgar/company-factsSEC XBRL company facts (EDGAR-compatible) — 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.0.003
- mpp-compat.fmf-x402.workers.dev/edgar/company-submissionsSEC company submissions (EDGAR-compatible) — 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.0.002
- mpp-compat.fmf-x402.workers.dev/mapbox/geocode-forwardForward geocoding, city-level (Mapbox-compatible) — 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.0.001
- mpp-compat.fmf-x402.workers.dev/mapbox/geocode-reverseReverse geocoding, city-level (Mapbox-compatible) — 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.0.001
- mpp-compat.fmf-x402.workers.dev/openweather/current-weatherCurrent weather (OpenWeather-compatible) — 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.0.002
- mpp-compat.fmf-x402.workers.dev/openweather/forecast-5day5-day / 3-hour forecast (OpenWeather-compatible) — 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.0.003
- mpp-compat.fmf-x402.workers.dev/openweather/reverse-geocodeReverse geocoding (OpenWeather-compatible) — 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.0.001
