API · /railway-api

Railway Tractive Effort API

healthy 3,272 Subscribers

Railway train-performance maths as an API, computed locally and deterministically — the tractive-effort, resistance and adhesion numbers a railway engineer, train planner or rail-sim developer rates motive power with. The tractive-effort endpoint gives the pulling force a locomotive develops = 375 × horsepower × efficiency ÷ speed (mph), the classic hyperbolic curve where a constant-power loco pulls hardest at low speed and tapers as it accelerates — 4,000 hp at 25 mph and 82 % efficiency is about 49,200 lbf at the rail. The resistance endpoint gives the forces a train fights: grade resistance ≈ 20 lb per ton per 1 % of grade (the weight component along the slope, the dominant force on a hill — a 5,000-ton train on a 1 % grade fights 100,000 lbf) plus curve resistance ≈ 0.8 lb per ton per degree of curve from flange friction. The adhesion endpoint gives the hard ceiling: however much power a loco has, it can only pull as hard as the wheels grip — maximum starting tractive effort = the adhesion coefficient (≈ 0.25 dry, more with sand) × the weight on the driving wheels, so 200 tons on the drivers is about 100,000 lbf before slip. Everything is computed locally and deterministically, so it is instant and private. Ideal for rail-operations and motive-power planning tools, train-simulator and railfan apps, and transport-engineering utilities. Pure local computation — no key, no third-party service, instant. Excludes the speed-dependent Davis rolling/air resistance. 3 compute endpoints. For highway curve geometry use a horizontal-curve API.

api.oanor.com/railway-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/railway-api/openapi.json
/api/railway-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
86 ms
Server probes · 24h
Subscribers
3,272
active
Total calls
0
last 7 days
status Full status page → · 4 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 4,750 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 4,750 calls/month
  • 2 req/sec
  • Tractive effort + resistance + adhesion
  • No credit card
Sign in to subscribe

Starter

€12.80 /month

  • 49,500 calls / month
  • 6 requests / second
  • Hard cap (429 above quota, no overage)
  • 49,500 calls/month
  • 6 req/sec
  • Grade/curve resistance maths
  • Email support
Sign in to subscribe

Pro

€40.80 /month

  • 211,000 calls / month
  • 15 requests / second
  • Hard cap (429 above quota, no overage)
  • 211,000 calls/month
  • 15 req/sec
  • Motive-power & sim pipelines
  • Priority support
Sign in to subscribe

Mega

€125.50 /month

  • 1,115,000 calls / month
  • 40 requests / second
  • Hard cap (429 above quota, no overage)
  • 1,115,000 calls/month
  • 40 req/sec
  • Railway-operator scale
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Train Stations API

Search a database of 69,000+ European railway stations from the Trainline open dataset. Find stations by name and country, look one up by id or UIC code, or find all stations near a coordinate (radius search). Each record includes coordinates, UIC code, timezone and a main-station flag — ideal for travel apps, journey planners, ticketing and mobility tooling.

api.oanor.com/trainstations-api

Transport for London API

London public transport as an API, powered by the official Transport for London Unified API. Get live line status for the Tube and every other mode (DLR, Overground, Elizabeth line, trams, buses, river bus) with severity and disruption reasons, search any station or stop by name to get its NaPTAN id, modes, lines and coordinates, pull live arrival predictions for a stop (which line, to where, in how many minutes, from which platform), check a single line in detail with its current disruptions, and plan a door-to-door journey between two places with full leg-by-leg directions and durations. Stops and journey endpoints accept a place name, a NaPTAN id or lat,lon. Perfect for commuter and travel apps, station departure boards, status widgets, Slack/Discord bots and trip planners. No accounts, no upstream key.

api.oanor.com/tfl-api

Bike-Share API

Every public bike-share and e-scooter system in the world as an API — 1,500+ systems across 48 countries from the MobilityData GBFS catalog, plus LIVE station availability. Browse and search the systems catalog by country or name (Citi Bike, Vélib', Divvy, Blue Bikes, Capital Bikeshare, …), look up a system with its GBFS feed URLs, and fetch real-time station data — each station's name, location, capacity and how many bikes and docks are free right now — or find the nearest stations to any coordinate by great-circle distance. Ideal for trip-planning, mobility, maps and smart-city apps. Catalog data from MobilityData; live availability from each operator's official GBFS feed.

api.oanor.com/bikeshare-api

UN/LOCODE API

The UN/LOCODE registry (United Nations Code for Trade and Transport Locations) as an API — 116,000+ ports, airports, rail and road terminals and trade points across 249 countries. Resolve any 5-character code (e.g. USNYC → New York; DEHAM → Hamburg; NLRTM → Rotterdam) to its name, country, subdivision, transport functions (port, rail, road, airport, postal, …), IATA code and coordinates; search locations by name with country and function filters; or list every location in a country. UN/LOCODE is the standard used in shipping, logistics, customs and EDI. Ideal for supply-chain, freight, trade-compliance and logistics software.

api.oanor.com/locode-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Railway Tractive Effort API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Railway Tractive Effort API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Railway Tractive Effort API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Railway Tractive Effort API cost?
Railway Tractive Effort API has a free tier with 100 calls / month. Paid plans start at €12.80 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Railway Tractive Effort API GDPR-compliant?
All requests to Railway Tractive Effort API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/railway-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/railway-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/railway-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/railway-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.