Weather Forecast
by FiatDock in Weather & location
The weather forecast for any point on Earth from MET Norway: current conditions, hourly rows (1 h steps for ~2.5 days, then 6 h) and up to 9 daily rows (UTC days) with min/max temperature, total precipitation and the main condition. A forecast, not observations; no air quality, no alerts. Send {} for the published example point. An answer it cannot produce is not charged. Pay-per-call via x402.
https://fiatdock.com/v1/weather/forecast- Price
- $0.0018
- per call in USDC
- Uptime
- 99.01%
- last 30 days
- Response time
- 202 ms
- 284 ms slowest 5%
- Last check
- Passed
- 31 min ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://fiatdock.com/v1/weather/forecast
Each call costs $0.0018 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://fiatdock.com/v1/weather/forecast
content-type: application/json
{
"days": 2,
"hours": 3,
"lat": 24.7136,
"lon": 46.6753
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
days | integer | No | How many daily summary rows (UTC calendar days, today first), 1-9 (default 3) |
hours | integer | No | How many hours ahead the `hourly` rows reach, 1-72 (default 24). Steps are 1 h for about the first 2.5 days and 6 h after |
lat | number | No | Latitude in decimal degrees, -90 to 90 (required with lon; an empty body answers the published example point) |
lon | number | No | Longitude in decimal degrees, -180 to 180 (required with lat) |
Example response
The provider's example. We can't check it without paying.
Example response, 75 lines
{
"asOf": "2026-10-08T16:15:52.847Z",
"attribution": "Weather forecast data from MET Norway (the Norwegian Meteorological Institute), https://api.met.no/ — licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) and NLOD 2.0 (https://data.norge.no/nlod/en/2.0). Changed by FiatDock: reformatted, and the daily rows are computed from MET's forecast.",
"current": {
"airTemperatureC": 36.7,
"cloudCoverPct": 0,
"precipitationNext1hMm": 0,
"relativeHumidityPct": 10.1,
"symbol": "clearsky_night",
"time": "2026-10-08T16:00:00Z",
"windFromDeg": 68.4,
"windSpeedMs": 2.9
},
"daily": [
{
"date": "2026-10-08",
"hoursCovered": 8,
"maxTempC": 36.7,
"minTempC": 29.6,
"precipitationMm": 0,
"symbol": "clearsky"
},
{
"date": "2026-10-09",
"hoursCovered": 24,
"maxTempC": 39.3,
"minTempC": 27.7,
"precipitationMm": 0,
"symbol": "clearsky"
}
],
"forecastEndsAt": "2026-10-18T00:00:00Z",
"hourly": [
{
"airTemperatureC": 36.7,
"periodHours": 1,
"precipitationMm": 0,
"symbol": "clearsky_night",
"time": "2026-10-08T16:00:00Z",
"windSpeedMs": 2.9
},
{
"airTemperatureC": 35.9,
"periodHours": 1,
"precipitationMm": 0,
"symbol": "clearsky_night",
"time": "2026-10-08T17:00:00Z",
"windSpeedMs": 2.7
},
{
"airTemperatureC": 35.1,
"periodHours": 1,
"precipitationMm": 0,
"symbol": "clearsky_night",
"time": "2026-10-08T18:00:00Z",
"windSpeedMs": 2.5
}
],
"location": {
"elevationM": 628,
"lat": 24.7136,
"lon": 46.6753
},
"modelUpdatedAt": "2026-10-08T13:16:55Z",
"note": "A forecast, not an observation. All times are UTC. Daily rows are UTC calendar days, not local days; the first starts at the current hour.",
"source": "MET Norway Locationforecast 2.0 (api.met.no, complete product)",
"units": {
"airTemperature": "°C",
"cloudCover": "%",
"precipitation": "mm",
"relativeHumidity": "%",
"windFromDirection": "degrees (where the wind blows FROM; 0 = north, 90 = east)",
"windSpeed": "m/s"
}
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.0018.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://fiatdock.com/v1/weather/forecast' \
-H 'content-type: application/json' \
--data-raw '{"days":2,"hours":3,"lat":24.7136,"lon":46.6753}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://fiatdock.com/v1/weather/forecast' \
-H 'content-type: application/json' \
--data-raw '{"days":2,"hours":3,"lat":24.7136,"lon":46.6753}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.0018 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.0018" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.0018 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffiatdock.com%2Fv1%2Fweather%2Fforecast&method=POST
const res = await pay("https://fiatdock.com/v1/weather/forecast", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"days": 2,
"hours": 3,
"lat": 24.7136,
"lon": 46.6753
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.0018 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.0018"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://fiatdock.com/v1/weather/forecast",
json={
"days": 2,
"hours": 3,
"lat": 24.7136,
"lon": 46.6753,
},
)
print(res.status_code, res.text)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 |
|---|---|---|---|---|
| 31 min ago | Passed | 402 | 186 ms | $0.0018 |
| 11 h ago | Passed | 402 | 199 ms | $0.0018 |
| 25 h ago | Passed | 402 | 198 ms | $0.0018 |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 63 ms | $0.0018 |
Show 10 older checks
| 5 days ago | Passed | 402 | 218 ms | $0.0018 |
| 5 days ago | Passed | 402 | 209 ms | $0.0018 |
| 6 days ago | Passed | 402 | 213 ms | $0.0018 |
| 6 days ago | Passed | 402 | 190 ms | $0.0018 |
| 6 days ago | Passed | 402 | 208 ms | $0.0018 |
| 7 days ago | Passed | 402 | 209 ms | $0.0018 |
| 7 days ago | Passed | 402 | 56 ms | $0.0018 |
| 7 days ago | Passed | 402 | 196 ms | $0.0018 |
| 7 days ago | Passed | 402 | 195 ms | $0.0018 |
| 8 days ago | Passed | 402 | 188 ms | $0.0018 |