78trust / 100
Weather Air Quality
by dt0ur.online in Weather & location
x402 APIPassing, checked 4 h ago
Delivers current PM2.5, PM10, ozone, and European Air Quality Index (AQI) levels for specified geographic coordinates.
POST https://dt0ur.online/api/weather/air-quality
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 275 ms typical, 344 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://dt0ur.online/api/weather/air-quality" \
-H "content-type: application/json" \
-d '{"latitude":52.52,"longitude":13.41}'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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdt0ur.online%2Fapi%2Fweather%2Fair-quality
const res = await pay("https://dt0ur.online/api/weather/air-quality", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"latitude":52.52,"longitude":13.41}),
});
console.log(await res.json());Example input
{
"latitude": 52.52,
"longitude": 13.41
}Example output
{
"current": {
"pm10": 14.2,
"pm2_5": 8.7
},
"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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 331 ms | $0.05 |
| 7 h ago | Passed | 402 | 206 ms | $0.05 |
| 10 h ago | Passed | 402 | 211 ms | $0.05 |
| 14 h ago | Passed | 402 | 202 ms | $0.05 |
| 18 h ago | Passed | 402 | 270 ms | $0.05 |
| 21 h ago | Passed | 402 | 373 ms | $0.05 |
| 25 h ago | Passed | 402 | 344 ms | $0.05 |
| 29 h ago | Passed | 402 | 330 ms | $0.05 |
| 32 h ago | Passed | 402 | 275 ms | $0.05 |
| 36 h ago | Passed | 402 | 282 ms | $0.05 |
| 40 h ago | Passed | 402 | 305 ms | $0.05 |
| 43 h ago | Passed | 402 | 187 ms | $0.05 |
| 2 days ago | Passed | 402 | 219 ms | $0.05 |