TO
API · x402

Latest observed weather in Denmark from the nearest DMI station to a lat/lon (or a stat…

Latest observed weather in Denmark from the nearest DMI station to a lat/lon (or a station id): temperature, wind, gusts, pressure, precipitation, visibility. Source: DMI Open Data.

by toll402 · verified provider · updated 2026-10-29

30d calls—
30d payers—
MethodHTTP
Outputjson

What it does

Latest observed weather in Denmark from the nearest DMI station to a lat/lon (or a station id): temperature, wind, gusts, pressure, precipitation, visibility. Source: DMI Open Data.

Tags: denmark · weather · dmi · observations · wind

Call contract

Method
HTTP
Input
HTTP request
Output
json
No input exampleProvider did not publish one in Bazaar metadata.
No output exampleProvider did not publish one in Bazaar metadata.

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/73665.json for the price and payment options.
  3. Pay. Call GET https://toll402.io/v1/dk/weather. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of the listed asset on Base, Polygon, xrpl:0, eip155:5042, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
see accepts
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Polygon, xrpl:0, eip155:5042

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
——0x56024C15eEb340ef932f3E43C9F809bb306F180E120s
exactBase
eip155:8453
——0x56024C15eEb340ef932f3E43C9F809bb306F180E120s
exactPolygon
eip155:137
——0x56024C15eEb340ef932f3E43C9F809bb306F180E120s
exactxrpl:0
xrpl:0
——rGG273HhfEikfqjDyMn2Vbxzeb475c89yV120s
exactxrpl:0
xrpl:0
——rGG273HhfEikfqjDyMn2Vbxzeb475c89yV120s
exactBase
eip155:8453
——0x56024C15eEb340ef932f3E43C9F809bb306F180E120s
exacteip155:5042
eip155:5042
——0x56024C15eEb340ef932f3E43C9F809bb306F180E120s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x56024C15eEb340ef932f3E43C9F809bb306F180E",
    "maxTimeoutSeconds": 120
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x56024C15eEb340ef932f3E43C9F809bb306F180E",
    "maxTimeoutSeconds": 120
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0x56024C15eEb340ef932f3E43C9F809bb306F180E",
    "maxTimeoutSeconds": 120
  },
  {
    "scheme": "exact",
    "network": "xrpl:0",
    "payTo": "rGG273HhfEikfqjDyMn2Vbxzeb475c89yV",
    "maxTimeoutSeconds": 120
  },
  {
    "scheme": "exact",
    "network": "xrpl:0",
    "payTo": "rGG273HhfEikfqjDyMn2Vbxzeb475c89yV",
    "maxTimeoutSeconds": 120
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x56024C15eEb340ef932f3E43C9F809bb306F180E",
    "maxTimeoutSeconds": 120
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "payTo": "0x56024C15eEb340ef932f3E43C9F809bb306F180E",
    "maxTimeoutSeconds": 120
  }
]

Examples

curl
curl -X GET 'https://toll402.io/v1/dk/weather'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://toll402.io/v1/dk/weather", {
  "method": "GET"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.request("GET", "https://toll402.io/v1/dk/weather")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
toll402
Endpoint
https://toll402.io/v1/dk/weather
Machine-readable
/resources/73665.json