Data Coverage

GETGET /v1/coverage

Description

What this dataset really covers, published honestly: per-capability availability with how it was verified and when, plus dataset records such as the station list. Nothing here claims 100% coverage.

Parameters

Code Example

javascript
const res = await fetch("https://railway-engine.apkscope.workers.dev/v1/coverage", {
  headers: { "x-api-key": "YOUR_KEY" },
});

const { status, data, error } = await res.json();
if (status === "SUCCESS") {
  console.log("updated", data.updatedAt, "—", data.overallNote);
  for (const cap of data.capabilities) {
    console.log(cap.capability, cap.available ? "available" : "unavailable", cap.note);
  }
  console.log("stations:", data.datasets.stations.recordCount);
} else {
  console.error(status, error?.code, error?.message);
}

Notes

Errors: 401 for a missing or invalid key, 429 RATE_LIMITED. Use this endpoint to decide whether a capability is trustworthy for your use case before promising anything to your users.

Response Example

JSON response
200JSON