Traffic Autobahn
by Saylor Innovations Data Desk in Weather & location
German Autobahn roadworks, closures and warnings by road - A1, A7, A8 and more with location, extent, start time and blocked status
https://saylorinnovations.com/api/traffic/autobahn- Price
- $0.01
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 1.4 s
- 2.2 s slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://saylorinnovations.com/api/traffic/autobahn
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://saylorinnovations.com/api/traffic/autobahn?kind=roadworks&limit=5&road=A1Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
kind | string | No | optional roadworks (default), warnings or closures |
limit | string | No | optional 1-25 (default 10) |
road | string | Yes | Autobahn such as A1, A7, A8, A100 |
Example response
The provider's example. We can't check it without paying.
Example response, 89 lines
{
"items": [
{
"blocked": false,
"description": [
"Die Baustelle ist zu folgenden Zeiträumen gültig:",
"20.10.26 von 08:00 bis 16:00 Uhr",
"A1: Saarbrücken -> Trier, zwischen 2.8 km hinter Kreisel-Ludwigsberg und 0.7 km vor AS Riegelsberg",
"Länge: 3.79 km | Max. 80 km/h | Maximale Durchfahrtsbreite: 3.25 m"
],
"extent": "49.259482414655466,6.958114584558286,49.29088960125274,6.956748490783844",
"future": true,
"lat": 49.259482414655466,
"lon": 6.958114584558286,
"start": null,
"subtitle": " Saarbrücken -> Trier",
"title": "A1 | Kreisel-Ludwigsberg - Riegelsberg"
},
{
"blocked": false,
"description": [
"Die Baustelle ist zu folgenden Zeiträumen gültig:",
"20.10.26 von 12:00 bis 17:00 Uhr",
"A1: Saarbrücken -> Trier, zwischen 0.7 km hinter AS Saarbrücken-Neuhaus und 0.3 km vor Neuhaus",
"Länge: 2 km | Max. 80 km/h | Maximale Durchfahrtsbreite: 3.25 m"
],
"extent": "49.291776898007896,6.9574328142573165,49.307869704005455,6.9685448870763125",
"future": true,
"lat": 49.291776898007896,
"lon": 6.9574328142573165,
"start": null,
"subtitle": " Saarbrücken -> Trier",
"title": "A1 | Saarbrücken-Neuhaus - Neuhaus"
},
{
"blocked": false,
"description": [
"Die Baustelle ist zu folgenden Zeiträumen gültig:",
"20.10.26 von 12:00 bis 17:00 Uhr",
"A1: Saarbrücken -> Trier, zwischen 0.7 km hinter AS Saarbrücken-Neuhaus und 0.3 km vor Neuhaus",
"Länge: 2 km | Max. 80 km/h | Maximale Durchfahrtsbreite: 3.75 m"
],
"extent": "49.291776898007896,6.9574328142573165,49.307869704005455,6.9685448870763125",
"future": true,
"lat": 49.291776898007896,
"lon": 6.9574328142573165,
"start": null,
"subtitle": " Saarbrücken -> Trier",
"title": "A1 | Saarbrücken-Neuhaus - Neuhaus"
},
{
"blocked": false,
"description": [
"Die Baustelle ist zu folgenden Zeiträumen gültig:",
"20.10.26 von 08:00 bis 16:00 Uhr",
"A1: Trier -> Saarbrücken, zwischen 0.7 km hinter AS Riegelsberg und 0.1 km vor AS Saarbrücken-Hubert-Müller-Straße",
"Länge: 3.79 km | Maximale Durchfahrtsbreite: 3.25 m"
],
"extent": "49.29092303370478,6.956628717213512,49.25945452188143,6.958024142655621",
"future": true,
"lat": 49.29092303370478,
"lon": 6.956628717213512,
"start": null,
"subtitle": " Trier -> Saarbrücken",
"title": "A1 | Riegelsberg - Saarbrücken-Hubert-Müller-Straße"
},
{
"blocked": false,
"description": [
"Die Baustelle ist zu folgenden Zeiträumen gültig:",
"19.10.26 von 14:00 bis 17:00 Uhr",
"A1: Trier -> Saarbrücken, zwischen 0.3 km hinter Neuhaus und 0.7 km vor AS Saarbrücken-Neuhaus",
"Länge: 2.01 km | Max. 80 km/h | Maximale Durchfahrtsbreite: 3.25 m"
],
"extent": "49.30789950666683,6.96840756645779,49.29179351041264,6.957297779212849",
"future": true,
"lat": 49.30789950666683,
"lon": 6.96840756645779,
"start": null,
"subtitle": " Trier -> Saarbrücken",
"title": "A1 | Neuhaus - Saarbrücken-Neuhaus"
}
],
"kind": "roadworks",
"returned": 5,
"road": "A1",
"source": "Autobahn GmbH des Bundes Verkehrs API (Datenlizenz Deutschland)",
"total_active": 262
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/traffic/autobahn?kind=roadworks&limit=5&road=A1'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/traffic/autobahn?kind=roadworks&limit=5&road=A1' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Ftraffic%2Fautobahn
const res = await pay("https://saylorinnovations.com/api/traffic/autobahn?kind=roadworks&limit=5&road=A1");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://saylorinnovations.com/api/traffic/autobahn?kind=roadworks&limit=5&road=A1")
print(res.status_code, res.text)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 |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 935 ms | $0.01 |
| 6 h ago | Passed | 402 | 1.4 s | $0.01 |
| 11 h ago | Passed | 402 | 2.2 s | $0.01 |