Getting Started

Three steps from zero to your first live response. The API is free — no card, no paid tier, no package to install.

1 · Sign in

Open the dashboard and sign in with Google
A free API key is issued to your account
No card and no paid tier

2 · Copy your key

Copy the x-api-key value from the dashboard
Store it in a server-side environment variable
Never ship it in browser code

3 · Make your first request

Send a GET with the x-api-key header
Example below uses train 12919
Read status, then data or error
javascript
const response = await fetch("https://railway-engine.apkscope.workers.dev/v1/train/12919/status", {
  method: "GET",
  headers: {
    "x-api-key": process.env.RAILWAY_API_KEY,
    "accept": "application/json",
  },
});

const { status, data, error, meta } = await response.json();
console.log(status, data, error, meta);
Response envelope
200JSON