82trust / 100

At Legislation

by Maxwell x402 in Search & web

x402 APIPassing, checked 10 min ago

Laws of Austria from RIS (Rechtsinformationssystem): search by title, or fetch one act by its official id, with title, in-force status, dates and the official link. An id or search not yet cached answers 404, not charged, and is fetched within about a minute.

GET https://api.maxwellinternational.ai/v1/gov/at/legislation

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
133 ms typical, 133 ms slowest 5%
Last check
10 min ago
Next check
in 23 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/gov/at/legislation?id=10001622"
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%2Fapi.maxwellinternational.ai%2Fv1%2Fgov%2Fat%2Flegislation
const res = await pay("https://api.maxwellinternational.ai/v1/gov/at/legislation?id=10001622");
console.log(await res.json());

Example input

{
  "id": "10001622"
}

Example output

{
  "cc": "at",
  "country": "Austria",
  "family": "legislation",
  "found": true,
  "id": "10001622",
  "ok": true,
  "shortTitle": "Allgemeines burgerliches Gesetzbuch",
  "sku": "gov.at.legislation",
  "source": "RIS - Rechtsinformationssystem des Bundes (OGD API v2.6, consolidated federal...",
  "sourceClass": "official-api",
  "sourceLicence": {
    "attribution": "Quelle: RIS, https://www.ris.bka.gv.at",
    "name": "CC BY 4.0 (RIS OGD); source: RIS, https://www.ris.bka.gv.at",
    "url": "https://www.data.gv.at/katalog/dataset/ris-bundesrecht"
  },
  "title": "Allgemeines burgerliches Gesetzbuch fur die gesammten deutschen Erblander der..."
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
10 min agoPassed402223 ms$0.005
5 h agoPassed402133 ms$0.005