84trust / 100
Weather
by Otto AI in Weather & location
x402 APIPassing, checked 3 h ago
Live weather for any city or lat/lon worldwide. Returns current conditions — temperature, feels-like, humidity, wind and sky — plus a 5-day forecast with daily highs/lows and precipitation probability. City names auto-geocode (no coordinates needed). Refreshed hourly with transparent freshness metadata. Keyless, pay-per-call, agent-ready JSON.
GET https://x402.ottoai.services/weather
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 73 ms typical, 73 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ottoai.services/weather?location=London"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ottoai.services%2Fweather
const res = await pay("https://x402.ottoai.services/weather?location=London");
console.log(await res.json());Example input
{
"location": "London"
}Example output
{
"data": {
"country": "United Kingdom",
"current": {
"conditions": "Partly cloudy",
"feelsLikeC": 17.6,
"humidityPct": 63,
"observedAt": "2026-06-24T15:00",
"tempC": 18.2,
"windKph": 14
},
"daily": [
{
"conditions": "Partly cloudy",
"date": "2026-06-24",
"maxC": 21.4,
"minC": 12.1,
"precipProbPct": 10
},
{
"conditions": "Clear sky",
"date": "2026-06-25",
"maxC": 23,
"minC": 13.5,
"precipProbPct": 5
}
],
"generatedAt": "2026-06-24T15:05:00.000Z",
"lat": 51.50853,
"location": "london",
"lon": -0.12574,
"resolvedName": "London"
},
"meta": {
"degraded": false,
"generatedAt": "",
"stalenessSec": 0,
"validUntil": ""
},
"status": "success"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 73 ms | $0.002 |