80trust / 100

Air Quality

by karte.halowerk.com in Weather & location

x402 APIPassing, checked 3 h ago

Returns hourly surface concentrations from the CAMS European air-quality ensemble for a point in the cached DACH and Central Europe area. Available pollutants are CO, NO2, NO, O3, PM2.5, PM10 and SO2. Values come from the nearest 0.1 degree model cell and are labelled as a regional forecast rather than a street-level sensor reading. The local cutout is refreshed independently of paid calls, so Copernicus processing latency is not passed to the caller.

POST https://karte.halowerk.com/v1/air-quality

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
126 ms typical, 145 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 POST "https://karte.halowerk.com/v1/air-quality" \
  -H "content-type: application/json" \
  -d '{"latitude":45,"longitude":5}'
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%2Fkarte.halowerk.com%2Fv1%2Fair-quality
const res = await pay("https://karte.halowerk.com/v1/air-quality", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"latitude":45,"longitude":5}),
});
console.log(await res.json());

Example input

{
  "latitude": 45,
  "longitude": 5
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402137 ms$0.005
7 h agoPassed402126 ms$0.005
10 h agoPassed402145 ms$0.005
14 h agoPassed402209 ms$0.005
18 h agoPassed402105 ms$0.005
21 h agoPassed402122 ms$0.005
25 h agoPassed402103 ms$0.005
28 h agoPassed402114 ms$0.005
34 h agoPassed402131 ms$0.005