$0.002
per call · USD Coin on Base
Current conditions and forecast for any latitude/longitude. Returns present weather plus a 1-7 day daily forecast (temp max/min, precipitation, sunrise/sunset, UV index) and an optional hourly forecast. A simple weather API on the Open-Meteo backend.
Endpoint
POST https://x402.agentutility.ai/weather1
Calls / 30d
1
Unique payers / 30d
Sep 4
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402.agentutility.ai/weather", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"forecast_days": 3,
"latitude": 37.7749,
"longitude": -122.4194,
"units": "imperial"
}),
});
const data = await res.json();curl -X POST \
"https://x402.agentutility.ai/weather" \
-H "Content-Type: application/json" \
-d '{"forecast_days":3,"latitude":37.7749,"longitude":-122.4194,"units":"imperial"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"current": {
"apparent_temperature": 60.4,
"humidity_pct": 78,
"is_day": true,
"precipitation": 0,
"temperature": 62.1,
"time": "2026-05-06T13:00",
"weather_code": 3,
"wind_direction_deg": 270,
"wind_speed": 8.2
},
"daily": [
{
"date": "2026-05-06",
"precipitation_mm": 0,
"precipitation_probability_max": 5,
"sunrise": "2026-05-06T06:08",
"sunset": "2026-05-06T20:11",
"temperature_max": 67.3,
"temperature_min": 53.1,
"uv_index_max": 7.5,
"weather_code": 3
}
],
"location": {
"elevation_m": 18,
"lat": 37.7749,
"lon": -122.4194,
"timezone": "America/Los_Angeles"
},
"source": "https://open-meteo.com",
"units": "imperial"
}Payment details
0x6c0752c09e7f6fa6526fcdf40e456a159ebb5621USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Data & Enrichment and the homepage with a featured placement.
More from AgentUtility.ai & similar services
AgentUtility.ai · Stocks News
x402.agentutility.ai
Fetches recent stock market news on equities, earnings, IPOs, the Fed, and macro from GDELT with a GNews fallback when configured, returning headline metadata with sentiment and source domains. The equities companion to crypto-news. Data-only news digests; no price prediction, trading advice, or order routing. Use it as a stocks news API, equities news feed, earnings news source, or Wall Street headlines for agents.
AgentUtility.ai · Search Site
x402.agentutility.ai
Site/domain-scoped search via Decodo Google results. If primary search is quota-limited, a best-effort fallback maps site: to GDELT domain: and returns marked degraded recent public-news results (https://www.gdeltproject.org/); fallback recency is capped at 168 hours and only news-indexed pages can appear. Use it as a domain-search API for agents.
AgentUtility.ai · Recent Tweet Search
x402.agentutility.ai
Repeat a saved recent-tweet search to monitor a brand, topic, or phrase over time. Send the same query, language, and max_results on each check; it returns recent public post text, timestamps, metrics, and expanded author profiles. If native X search cannot answer, the tweets array contains clearly labeled public-index results with degraded: true instead of an empty paid response. Read-only: no posting, replying, liking, following, or direct-message access. Use it as a recent tweet search API, Twitter monitoring API, saved-query watchlist, or X public-post search.