REAL AIRLINE SIMULATOR / READ API / V1
RAS API-dokumentasjon
Lag oversikter, kart og flyplasstavler for den virtuelle luftfartsverdenen i Real Airline Simulator med et sikret skrivebeskyttet API.
Kom i gang
Bruk en RAS-spillkonto med passord som er minst 10 dager gammel. Opprett en applikasjon og en nøkkel med nødvendige tilganger. Dokumentasjonen er offentlig; Playground krever innlogging. Hele nøkkelen vises bare én gang.
Opprett passord i sikkerhetsinnstillingene til RAS
https://api.realairlinesimulator.com/ras/v1
curl -i -H "Authorization: Bearer $RAS_API_KEY" \
https://api.realairlinesimulator.com/ras/v1/auth/checkIntegrasjonsregler
API-et er skrivebeskyttet. Ikke omgå kvoter, kartlegg andres private objekter, hent konfidensielle data eller potensiell etterspørsel, eller automatiser spillet. Ikke bruk simuleringsdata til virkelig navigasjon. Dette er tekniske regler, ikke et juridisk tilbud.
Autentisering
Bruk Authorization: Bearer med API-nøkkel, ikke spillpassord eller informasjonskapsler. Oppbevar nøkkelen på serveren, aldri i offentlig JavaScript eller URL. Tilganger overstyrer ikke eierskapskontroll. Tilbakekall lekkede nøkler. Også offentlig radar krever nøkkel.
Authorization: Bearer $RAS_API_KEYPriser og budsjetter
Én kreditt koster 0,10 RUB ved kjøp. Vellykkede betalte GET-kall, tomme resultater, bufrede svar og hver side belastes separat. Ved brudd i forbindelsen kan belastningen allerede være gjennomført; ikke gjenta betalte kall automatisk. Budsjetter og reservasjoner begrenser tilgjengelig saldo. Grunnpriser kan endres.
X-Request-ID: …
X-API-Tokens-Charged: 2
X-API-Tokens-Balance: 1898Forespørselsgrenser
Grensene gjelder samtidig: nøkkel 120/min, app 240/min, konto 600/min, IP 300/min. Begrensede modi reduserer kvotene. Ved HTTP 429 følg Retry-After. Radar og markedsdata bufres i cirka 30 sekunder. Playground: 50 forsøk og 100 kreditter i oppgitt kostnad per UTC-døgn, minst 15 sekunder mellom kall.
Paginering
For ID-markører brukes next_cursor som after til null. I kataloger er after en posisjon, ikke ID; start på nytt hvis catalog_version endres. Tavler bruker next_offset; truncated betyr ufullstendige resultater. Behold filtrene mellom sider og fjern duplikater etter leg_id.
Feil
400: parametere; 401: nøkkel; 402: saldo eller budsjett; 403: tilganger; 404: objekt mangler eller er utilgjengelig; 429: grense; 503: tjeneste eller endepunkt utilgjengelig. Rett årsaken før nytt forsøk. Sjekk belastningen først ved betalte kall.
Databetydning
home_icao er registrert base; hub_icao er registrert plassering. flight_id identifiserer flygning, leg_id et flysegment, segment_id en segmentmal. scheduled_arrival er ikke ETA; estimated_time er foreløpig null. Behold bigint-ID-er og desimalbeløp som strenger. GeoJSON: lengdegrad, breddegrad. Radar avhenger av spillserveren; produksjonstest er utsatt.
Kodeeksempler
Eksemplene bruker miljøvariabelen RAS_API_KEY. Bytt eksempel-ID-er med objekter du har tilgang til. Ikke avslør nøkler eller send kall automatisk.
Python 3 (requests)
import os, requests
base = 'https://api.realairlinesimulator.com/ras/v1'
headers = {'Authorization': 'Bearer ' + os.environ['RAS_API_KEY']}
r = requests.get(base + '/wallet/balance', headers=headers,
timeout=12, allow_redirects=False)
if r.status_code != 200:
raise RuntimeError(f'HTTP {r.status_code}, request {r.headers.get("X-Request-ID")}')
print(r.json()['available'])PHP 8 (cURL)
<?php
$key = getenv('RAS_API_KEY');
if (!$key) throw new RuntimeException('RAS_API_KEY is required');
$c = curl_init('https://api.realairlinesimulator.com/ras/v1/auth/check');
curl_setopt_array($c, [CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer '.$key],
CURLOPT_TIMEOUT => 12, CURLOPT_FOLLOWLOCATION => false]);
$body = curl_exec($c);
$status = curl_getinfo($c, CURLINFO_RESPONSE_CODE);
curl_close($c);
if ($status !== 200 || $body === false) throw new RuntimeException('API request failed');
print_r(json_decode($body, true, 512, JSON_THROW_ON_ERROR));API-referanse
Grunnprisene vises. Logg inn for å oppdatere gjeldende priser.
Detaljert kontrakt på engelsk
44 / 44
GET/healthz
Checks the HTTP service, not availability of all game data or YooKassa.
Scope: —
JSON object without data envelope
status, service, version, mode, timestamp
Eksempelforespørsel
Prøvcurl -i 'https://api.realairlinesimulator.com/healthz'Eksempelsvar (illustrative data)
{
"status": "ok",
"service": "ras-api-read",
"version": "0.1.9.1",
"mode": "read",
"timestamp": "2026-11-26T10:00:00Z"
}GET/ras/v1
Name, protocol version, mode and development status.
Scope: —
JSON object without data envelope
name, service, version, mode, status
Eksempelforespørsel
Prøvcurl -i 'https://api.realairlinesimulator.com/ras/v1'Eksempelsvar (illustrative data)
{
"name": "Real Airline Simulator API",
"service": "ras-api-read",
"version": "v1",
"mode": "read",
"status": "development"
}GET/ras/v1/auth/check
Verifies the key and returns key, application and account IDs and scopes. No separate scope.
Scope: —
JSON object without data envelope
authenticated, key_id, application_id, account_id, scopes
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/auth/check'Eksempelsvar (illustrative data)
{
"authenticated": true,
"key_id": "00000000-0000-4000-8000-000000000001",
"application_id": "1",
"account_id": "1",
"scopes": [
"ras:airlines:read"
]
}GET/ras/v1/wallet/balance
balance is the total balance; available accounts for active reservations. No separate scope.
Scope: —
JSON object without data envelope
balance, available
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/wallet/balance'Eksempelsvar (illustrative data)
{
"balance": "1900",
"available": "1850"
}GET/ras/v1/usage/application
Successful paid requests for the application, budgets and forecast. applications, wallet and wallet_days_remaining are null at application level. Scope ras:usage:read or ras:usage:account:read.
Scope: ras:usage:read OR ras:usage:account:read
data object
view, account_id, application_id, timezone, days, from_day, through_day, today_partial, as_of, basis, price_kopecks_per_token, currency, totals, daily, endpoints, applications, applications_truncated, wallet, budgets, forecast
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
daysValgfritt | 7 / 30 · default: 7 | UTC calendar days; today is incomplete. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/usage/application?days=7'Eksempelsvar (illustrative data)
{
"data": {
"view": "application",
"account_id": "1",
"application_id": "2",
"timezone": "UTC",
"days": 7,
"basis": "charged_receipts_only",
"totals": {
"requests": "0",
"tokens": "0",
"replacement_cost_kopecks": "0"
},
"applications": null,
"wallet": null,
"forecast": {
"status": "no_activity",
"sample_days": 7,
"tokens_per_day": null,
"wallet_days_remaining": null
}
}
}GET/ras/v1/usage/account
Statistics across account applications. totals, daily and endpoints contain requests, tokens and replacement_cost_kopecks as strings. applications is capped at 100. wallet.balance/available are strings. Forecast uses seven completed days; no activity yields null forecasts.
Scope: ras:usage:account:read
data object
view, account_id, application_id, timezone, days, from_day, through_day, today_partial, as_of, basis, price_kopecks_per_token, currency, totals, daily, endpoints, applications, applications_truncated, wallet, budgets, forecast
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
daysValgfritt | 7 / 30 · default: 7 | UTC calendar days; today is incomplete. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/usage/account?days=7'Eksempelsvar (illustrative data)
{
"data": {
"view": "account",
"account_id": "1",
"application_id": null,
"timezone": "UTC",
"days": 7,
"basis": "charged_receipts_only",
"totals": {
"requests": "0",
"tokens": "0",
"replacement_cost_kopecks": "0"
},
"applications": [],
"wallet": {
"balance": "1900",
"available": "1850"
},
"forecast": {
"status": "no_activity",
"sample_days": 7,
"tokens_per_day": null,
"wallet_days_remaining": null
}
}
}GET/ras/v1/account/airlines
Your active, non-merged airlines. Start here to obtain IDs for other requests.
Scope: ras:airlines:read
Code: ras.airlines.list
data.items[] + data.next_cursor
id, name, country, country_code, icao_code, hub_icao, status, parent_airline_id, cert_status, cert_deadline_at
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/account/airlines?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/overview
Your airline: core details, certificate, fleet, route and flight counters, rating.
Scope: ras:airlines:read
Code: ras.airlines.overview
data object
id, name, country, country_code, icao_code, hub_icao, status, parent_airline_id, cert_status, cert_deadline_at, fleet_size, routes_count, active_routes_count, flights_count, active_flights_count, rating
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/overview'Eksempelsvar (illustrative data)
{
"data": {
"id": 123,
"name": "Example Air",
"fleet_size": 2,
"routes_count": 1,
"active_routes_count": 1,
"flights_count": 1,
"active_flights_count": 1,
"rating": null
}
}GET/ras/v1/airlines/{id}/ratings
Your ratings. rating may be null; otherwise overall_rating, service_rating, comfort_rating, punctuality_rating, reviews_count and updated_at.
Scope: ras:airlines:read
Code: ras.airlines.ratings
data object
airline_id, rating
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/ratings'Eksempelsvar (illustrative data)
{
"data": {
"airline_id": 123,
"rating": null
}
}GET/ras/v1/public/airlines/{id}
Public profile of an existing airline, including counts and rating; no finances, individual fleet or demand.
Scope: ras:public:read
Code: ras.public.airline
data object
id, name, country, country_code, icao_code, hub_icao, status, fleet_size, routes_count, active_routes_count, flights_count, active_flights_count, rating
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/public/airlines/123'Eksempelsvar (illustrative data)
{
"data": {
"id": 123,
"name": "Example Air",
"fleet_size": 2,
"routes_count": 1,
"rating": {
"overall_rating": null,
"reviews_count": null
}
}
}GET/ras/v1/holdings/{id}/overview
Parent airline ID. Returns it and direct subsidiaries of the same owner, not a recursive tree. Up to 501 records; check truncated.
Scope: ras:airlines:read
Code: ras.holding.overview
data object
root_airline_id, truncated, airlines
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Parent airline ID; use an accessible ID. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/holdings/123/overview'Eksempelsvar (illustrative data)
{
"data": {
"root_airline_id": 123,
"truncated": false,
"airlines": [
{
"id": 123,
"name": "Example Air"
}
]
}
}GET/ras/v1/account/snapshot
Account resources and up to 501 owned airlines with ratings and revenue indicators. Do not sum the shared balance across airlines.
Scope: ras:snapshot:read
Code: ras.account.snapshot
data object
as_of, airline_limit, resources, airlines
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/account/snapshot'Eksempelsvar (illustrative data)
{
"data": {
"as_of": "2026-11-26T10:00:00Z",
"airline_limit": 501,
"airlines": []
}
}GET/ras/v1/airlines/{id}/finance
Daily revenue, sum of weekly_revenue for active flights, today's revenue/expenses/profit and codeshare distribution are distinct metrics.
Scope: ras:finance:read
Code: ras.airline.finance
data object
daily, weekly, today_revenue, today_expenses, today_profit, updated_at, codeshare
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/finance'Eksempelsvar (illustrative data)
{
"data": {
"daily": "100000.00",
"weekly": "700000.00",
"today_revenue": "25000.00",
"today_expenses": "12000.00",
"today_profit": "13000.00",
"updated_at": "2026-11-26T10:00:00Z",
"codeshare": {
"operator_daily": "0",
"partner_daily": "0"
}
}
}GET/ras/v1/airlines/{id}/fleet/detail
Owned aircraft. home_icao is the registered base; hub_icao is the recorded game location, not airborne coordinates.
Scope: ras:aircraft:read
Code: ras.fleet.detail
data.items[] + data.next_cursor
id, airline_id, model, registration, status, total_seats, total_hours, hub_icao, home_icao, is_cargo, is_parked, custom_name, engine, engine_id, wingtip, winglet_type, fuel_modifier, purchase_price, aircraft_role, active_lease_contract_id
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/fleet/detail?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/fleet/summary
Owned aircraft grouped by model, up to 1001 groups. models[] includes model, count, configured_seats, purchase_value (string), parked_count, cargo_count. Not actual seats available on a specific flight.
Scope: ras:aircraft:read
Code: ras.fleet.summary
data object
models
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/fleet/summary'Eksempelsvar (illustrative data)
{
"data": {
"models": [
{
"model": "b737-800",
"count": 2,
"configured_seats": 360,
"purchase_value": "90000000",
"parked_count": 1,
"cargo_count": 0
}
]
}
}GET/ras/v1/airlines/{id}/hubs
Owned airline hubs. stored_monthly_flights is a stored game metric; schedule_templates counts associated templates, not actual departures in a calendar month.
Scope: ras:airlines:read
Code: ras.hubs.list
data.items[] + data.next_cursor
id, icao, city, country, is_primary, stored_monthly_flights, schedule_templates
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/hubs?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/routes
Existing owned routes. stops[]: seq, icao, stop_type. schedule_templates counts flight templates, not departures. Does not search potential demand.
Scope: ras:flights:read
Code: ras.routes.list
data.items[] + data.next_cursor
id, origin_icao, destination_icao, status, distance_km, distance_nm, route_type, is_loop, stops, schedule_templates
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/routes?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/flights/{id}/segments
Owned flight segment templates by flight_id, not leg_id. id is a flight_segments record ID, seq is sequence, tech_stops are technical stops; ticket_price_* are configured fares, not demand. Cursor uses id, not seq.
Scope: ras:flights:read
Code: ras.flights.segments
data.items[] + data.next_cursor
id, flight_id, seq, origin_icao, destination_icao, distance_km, flown_km, tech_stops, duration_h, departure_day, departure_time, ticket_price_economy, ticket_price_premium_economy, ticket_price_business, ticket_price_premium_business, ticket_price_first
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Flight ID (flight_id); use an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/flights/123/segments?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/flights/airborne
Owned flight legs with airborne status. Use radar for public coordinates.
Scope: ras:flights:read
Code: ras.legs.airborne
data.items[] + data.next_cursor
id, flight_id, leg_type, origin_icao, destination_icao, scheduled_departure, scheduled_arrival, actual_departure, actual_arrival, status, flight_type, seq, segment_id, cancelled_at, aircraft_id, flight_number, is_ferry, ferry_purpose, progress, actual_delay_seconds
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/flights/airborne?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/flights/history
Completed and cancelled legs; date range uses scheduled departure, not record creation time.
Scope: ras:flights:read
Code: ras.legs.history
data.items[] + data.next_cursor
id, flight_id, leg_type, origin_icao, destination_icao, scheduled_departure, scheduled_arrival, actual_departure, actual_arrival, status, flight_type, seq, segment_id, cancelled_at, aircraft_id, flight_number, is_ferry, ferry_purpose, progress, actual_delay_seconds
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
daysValgfritt | 1…30 · default: 7 | Period in days. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/flights/history?after=0&limit=50&days=7'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/flights/ferry
Owned ferry legs in scheduled, airborne, mro_hold, crew_hold or slot_hold status.
Scope: ras:flights:read
Code: ras.legs.ferry
data.items[] + data.next_cursor
id, flight_id, leg_type, origin_icao, destination_icao, scheduled_departure, scheduled_arrival, actual_departure, actual_arrival, status, flight_type, seq, segment_id, cancelled_at, aircraft_id, flight_number, is_ferry, ferry_purpose, progress, actual_delay_seconds
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/flights/ferry?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/flights/delays
Legs past scheduled departure: cancellations, actual delays, or not yet departed scheduled/hold legs. actual_delay_seconds is actual departure delay and may be null.
Scope: ras:flights:read
Code: ras.legs.delays
data.items[] + data.next_cursor
id, flight_id, leg_type, origin_icao, destination_icao, scheduled_departure, scheduled_arrival, actual_departure, actual_arrival, status, flight_type, seq, segment_id, cancelled_at, aircraft_id, flight_number, is_ferry, ferry_purpose, progress, actual_delay_seconds
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
daysValgfritt | 1…30 · default: 7 | Period in days. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/flights/delays?after=0&limit=50&days=7'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/flights/operations
Only owned airborne/completed legs with actual departure within days. Actual pax_y/w/c/j/f, pax_count and cargo_kg refer to departed legs, not demand or future bookings.
Scope: ras:flights:read
Code: ras.legs.operations
data.items[] + data.next_cursor
id, flight_id, leg_type, origin_icao, destination_icao, scheduled_departure, scheduled_arrival, actual_departure, actual_arrival, status, flight_type, seq, segment_id, cancelled_at, aircraft_id, flight_number, is_ferry, ferry_purpose, progress, actual_delay_seconds, pax_y, pax_w, pax_c, pax_j, pax_f, pax_count, cargo_kg
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
daysValgfritt | 1…30 · default: 7 | Period in days. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/flights/operations?after=0&limit=50&days=7'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/flights/finance
Owned airborne/completed legs with actual departure within the period. Revenue, expense, fuel and CO₂; not a future revenue forecast.
Scope: ras:finance:read
Code: ras.legs.finance
data.items[] + data.next_cursor
id, flight_id, revenue, fuel_cost, airport_fees, co2_used, ancillary_revenue, en_route_fee, co2_penalty, fuel_used_kg, actual_departure, actual_arrival
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
daysValgfritt | 1…30 · default: 7 | Period in days. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/flights/finance?after=0&limit=50&days=7'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/account/ledger
Game account money movements. id and ref_id are bigint strings; amount and balance_after are decimal strings. Not API-credit purchases.
Scope: ras:finance:read
Code: ras.ledger.entries
data.items[] + data.next_cursor
id, airline_id, amount, balance_after, category, ref_type, ref_id, created_at
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
afterValgfritt | ^(0|[1-9][0-9]{0,18})$ · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
daysValgfritt | 1…30 · default: 7 | Period in days. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/account/ledger?after=0&limit=50&days=7'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/account/ledger/summary
Revenue, expense and net by category; opening_balance excluded. categories[]: category, income, expense, net (decimal strings), entries. expense is positive; net is signed.
Scope: ras:finance:read
Code: ras.ledger.summary
data object
days, from, to, categories
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
daysValgfritt | 1…30 · default: 7 | Period in days. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/account/ledger/summary?days=7'Eksempelsvar (illustrative data)
{
"data": {
"days": 7,
"from": "2026-11-19T10:00:00Z",
"to": "2026-11-26T10:00:00Z",
"categories": []
}
}GET/ras/v1/account/notifications
Metadata of owned notifications over the last seven days, including is_read. Reading does not mark them read.
Scope: ras:notifications:read
Code: ras.notifications.list
data.items[] + data.next_cursor
id, type, flight_id, is_read, created_at
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/account/notifications?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/antitrust/warnings
Owned warnings within the warned_at range. Does not expose market median demand.
Scope: ras:compliance:read
Code: ras.antitrust.warnings
data.items[] + data.next_cursor
id, airline_id, flight_id, rule_id, price_class, origin_icao, destination_icao, violation_price, warned_at, deadline, status, fine_applied, fined_at, resolved_at
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
daysValgfritt | 1…30 · default: 7 | Period in days. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/antitrust/warnings?after=0&limit=50&days=7'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/antitrust/fines
Owned fines by fined_at; id and cursor may be bigint strings.
Scope: ras:compliance:read
Code: ras.antitrust.fines
data.items[] + data.next_cursor
id, airline_id, flight_id, rule_id, amount, fined_at
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | ^(0|[1-9][0-9]{0,18})$ · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
daysValgfritt | 1…30 · default: 7 | Period in days. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/antitrust/fines?after=0&limit=50&days=7'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/airlines/{id}/taxes
Owned declarations, amounts, deadlines and statuses. No payment operation.
Scope: ras:finance:read
Code: ras.taxes.list
data.items[] + data.next_cursor
id, airline_id, period, deadline, status, total_tax, penalty_accrued, paid_amount, paid_at
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Airline ID; replace the example with an accessible ID. |
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/airlines/123/taxes?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null
}
}GET/ras/v1/market/history
Fuel and CO₂ allowance prices. days=1 is minute aggregation; days=14 is daily. At most 1500 points; no demand volume.
Scope: ras:market:read
Code: ras.market.history
data object
days, points
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
daysValgfritt | 1 / 14 · default: 1 | 1: minute aggregation; 14: daily aggregation. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/market/history?days=1'Eksempelsvar (illustrative data)
{
"data": {
"days": 1,
"points": [
{
"recorded_at": "2026-11-26T09:59:00Z",
"fuel_price": "1.2500",
"quota_price": "0.3000"
}
]
}
}GET/ras/v1/market/current
Calculated fuel and CO₂ allowance prices and as_of. Cached up to 30 seconds; not a guaranteed future purchase price.
Scope: ras:market:read
Code: ras.market.current
data object
as_of, fuel_price, quota_price
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/market/current'Eksempelsvar (illustrative data)
{
"data": {
"as_of": "2026-11-26T10:00:00Z",
"fuel_price": "1.2500",
"quota_price": "0.3000"
}
}GET/ras/v1/catalog/airports/{code}
Lookup by catalog code/ICAO or unambiguous IATA, case insensitive. infrastructure includes runways, concurrency and slot throughput; missing values may be null.
Scope: ras:airports:read
Code: ras.airports.get
data object
id, name, icao, iata, icao_class, country, city, lat, lon, lng, catering, fueling, parking_stand, parking_gate, cleanup, gpu, acu, infrastructure
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
codePåkrevd | ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$ | Catalog code, 1–64 ASCII characters. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/catalog/airports/UUEE'Eksempelsvar (illustrative data)
{
"data": {
"icao": "UUEE",
"name": "Example airport",
"infrastructure": {
"runways": null,
"simultaneous": null,
"slot_level": null,
"max_moves_per_hour": null
}
}
}GET/ras/v1/catalog/airports
Catalog projection: basic details and permitted characteristics. No passenger demand coefficients.
Scope: ras:airports:read
Code: ras.catalog.airports
data.items[] + data.next_cursor + catalog_version
id, name, icao, iata, icao_class, country, city, lat, lon, lng, catering, fueling, parking_stand, parking_gate, cleanup, gpu, acu
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
afterValgfritt | 0…2147483647 · default: 0 | Catalog position (not an ID). |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/catalog/airports?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null,
"catalog_version": "1764000000000"
}
}GET/ras/v1/catalog/aircraft
Permitted model characteristics: capacity, dimensions, engines, range, maintenance and other reference fields. Not aircraft shop inventory.
Scope: ras:aircraft:read
Code: ras.catalog.aircraft
data.items[] + data.next_cursor + catalog_version
id, icao, name, class, maxpax, layout, layout_business, layout_first, body_type, maxcargo, long, mtow, engines_general, additional_engines, wingtip_type, range, speed, fuel_burn_hourly, co2_burn_hourly, maintenance_ground, a_check_hours, a_check_duration, b_check_hours, b_check_duration, c_check_hours, c_check_duration, d_check_hours, d_check_duration, wingspan, length, height, cost, type, captain, second, navigator, engineer, attendants, manufacturer_id, donate
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
afterValgfritt | 0…2147483647 · default: 0 | Catalog position (not an ID). |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/catalog/aircraft?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null,
"catalog_version": "1764000000000"
}
}GET/ras/v1/catalog/aircraft/{code}
Catalog model code/ID, not individual aircraft ID; catalog fields may be missing.
Scope: ras:aircraft:read
Code: ras.catalog.model
data object
id, icao, name, class, maxpax, layout, layout_business, layout_first, body_type, maxcargo, long, mtow, engines_general, additional_engines, wingtip_type, range, speed, fuel_burn_hourly, co2_burn_hourly, maintenance_ground, a_check_hours, a_check_duration, b_check_hours, b_check_duration, c_check_hours, c_check_duration, d_check_hours, d_check_duration, wingspan, length, height, cost, type, captain, second, navigator, engineer, attendants, manufacturer_id, donate
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
codePåkrevd | ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$ | Catalog code, 1–64 ASCII characters. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/catalog/aircraft/concorde'Eksempelsvar (illustrative data)
{
"data": {
"id": "concorde",
"name": "Concorde"
}
}GET/ras/v1/catalog/engines
Catalog IDs, names and efficiency coefficients. Original field spellings fuel_efficenty and co2_efficenty are retained.
Scope: ras:aircraft:read
Code: ras.catalog.engines
data.items[] + data.next_cursor + catalog_version
engine_id, engine_name, fuel_efficenty, co2_efficenty
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
afterValgfritt | 0…2147483647 · default: 0 | Catalog position (not an ID). |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/catalog/engines?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null,
"catalog_version": "1764000000000"
}
}GET/ras/v1/catalog/manufacturers
Reference IDs, names, country, active and group_id.
Scope: ras:aircraft:read
Code: ras.catalog.manufacturers
data.items[] + data.next_cursor + catalog_version
id, name, country, active, group_id
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
afterValgfritt | 0…2147483647 · default: 0 | Catalog position (not an ID). |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/catalog/manufacturers?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"items": [],
"next_cursor": null,
"catalog_version": "1764000000000"
}
}GET/ras/v1/radar/airborne
Public game positions, heading and available metadata. Snapshot cached up to 30 seconds; as_of is API snapshot acquisition time. Cursor uses leg_id, not flight_id.
Scope: ras:public:read
Code: ras.radar.airborne
data.items[] + data.next_cursor + as_of
leg_id, flight_id, airline_id, flight_number, is_ferry, flight_type, registration, model, lat, lon, alt_ft, heading, progress, dep_runway, arr_runway, origin, destination, scheduled_departure, scheduled_arrival, airline_name, brand_name
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
afterValgfritt | 0…2147483647 · default: 0 | Cursor from the previous page; 0 for the first. |
limitValgfritt | 1…100 · default: 50 | Records per page. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/radar/airborne?after=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"as_of": "2026-11-26T10:00:00Z",
"items": [],
"next_cursor": null
}
}GET/ras/v1/radar/airborne/{id}
Active leg_id from the radar snapshot. It may return 404 if the flight disappears from that snapshot. Availability after landing is not guaranteed.
Scope: ras:public:read
Code: ras.radar.airborne.get
data object
as_of, leg_id, flight_id, airline_id, flight_number, is_ferry, flight_type, registration, model, lat, lon, alt_ft, heading, progress, dep_runway, arr_runway, origin, destination, scheduled_departure, scheduled_arrival, airline_name, brand_name
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Flight leg ID (leg_id); use an accessible ID. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/radar/airborne/123'Eksempelsvar (illustrative data)
{
"data": {
"as_of": "2026-11-26T10:00:00Z",
"leg_id": 123,
"lat": 55.0,
"lon": 37.0,
"heading": 90,
"alt_ft": 33000
}
}GET/ras/v1/radar/route/{id}
Only a leg from the current snapshot. geometry is a GeoJSON LineString, coordinates [longitude, latitude], 2 to 5000 points. SID/STAR not guaranteed. Depends on game server.
Scope: ras:public:read
Code: ras.radar.route
data object
leg_id, as_of, geometry
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
idPåkrevd | 1…2147483647 | Flight leg ID (leg_id); use an accessible ID. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/radar/route/123'Eksempelsvar (illustrative data)
{
"data": {
"leg_id": 123,
"as_of": "2026-11-26T10:00:00Z",
"geometry": {
"type": "LineString",
"coordinates": [
[
37.4,
55.97
],
[
30.26,
59.8
]
]
}
}
}GET/ras/v1/radar/arrivals/{code}
Public legs within −2 to +24 hours by scheduled_arrival, sorted by scheduled time and ID. estimated_time always null. Airport code resolved through the catalog.
Scope: ras:public:read
Code: ras.radar.arrivals
data.airport, as_of, window_start, window_end, arrivals/departures (items, next_offset, truncated); unselected side is null
leg_id, flight_id, airline_id, airline_name, airline_code, flight_number, aircraft_id, registration, model, origin, destination, scheduled_departure, scheduled_arrival, actual_departure, actual_arrival, estimated_time, status, flight_type, is_ferry
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
codePåkrevd | ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$ | Catalog code, 1–64 ASCII characters. |
offsetValgfritt | 0…1000 · default: 0 | Airport board list offset. |
limitValgfritt | 1…100 · default: 50 | Records per side of the board. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/radar/arrivals/UUEE?offset=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"airport": "UUEE",
"as_of": "2026-11-26T10:00:00Z",
"window_start": "2026-11-26T08:00:00Z",
"window_end": "2026-11-27T10:00:00Z",
"arrivals": {
"items": [],
"next_offset": null,
"truncated": false
},
"departures": null
}
}GET/ras/v1/radar/departures/{code}
Window −2 to +24 hours by scheduled_departure, sorted by scheduled time and ID. estimated_time always null. Airport code resolved through the catalog.
Scope: ras:public:read
Code: ras.radar.departures
data.airport, as_of, window_start, window_end, arrivals/departures (items, next_offset, truncated); unselected side is null
leg_id, flight_id, airline_id, airline_name, airline_code, flight_number, aircraft_id, registration, model, origin, destination, scheduled_departure, scheduled_arrival, actual_departure, actual_arrival, estimated_time, status, flight_type, is_ferry
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
codePåkrevd | ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$ | Catalog code, 1–64 ASCII characters. |
offsetValgfritt | 0…1000 · default: 0 | Airport board list offset. |
limitValgfritt | 1…100 · default: 50 | Records per side of the board. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/radar/departures/UUEE?offset=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"airport": "UUEE",
"as_of": "2026-11-26T10:00:00Z",
"window_start": "2026-11-26T08:00:00Z",
"window_end": "2026-11-27T10:00:00Z",
"arrivals": null,
"departures": {
"items": [],
"next_offset": null,
"truncated": false
}
}
}GET/ras/v1/radar/board/{code}
Both boards. offset and limit apply independently to each list; if next_offset differs, continue with separate endpoints. estimated_time always null. Airport code resolved through the catalog.
Scope: ras:public:read
Code: ras.radar.board
data.airport, as_of, window_start, window_end, arrivals/departures (items, next_offset, truncated); unselected side is null
leg_id, flight_id, airline_id, airline_name, airline_code, flight_number, aircraft_id, registration, model, origin, destination, scheduled_departure, scheduled_arrival, actual_departure, actual_arrival, estimated_time, status, flight_type, is_ferry
Parametere
| Navn | Verdi | Parametere |
|---|---|---|
codePåkrevd | ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$ | Catalog code, 1–64 ASCII characters. |
offsetValgfritt | 0…1000 · default: 0 | Airport board list offset. |
limitValgfritt | 1…100 · default: 50 | Records per side of the board. |
Eksempelforespørsel
Prøvcurl -i -H "Authorization: Bearer $RAS_API_KEY" 'https://api.realairlinesimulator.com/ras/v1/radar/board/UUEE?offset=0&limit=50'Eksempelsvar (illustrative data)
{
"data": {
"airport": "UUEE",
"as_of": "2026-11-26T10:00:00Z",
"window_start": "2026-11-26T08:00:00Z",
"window_end": "2026-11-27T10:00:00Z",
"arrivals": {
"items": [],
"next_offset": null,
"truncated": false
},
"departures": {
"items": [],
"next_offset": null,
"truncated": false
}
}
}Endringslogg
V008–V009.1 · Read API / Analytics / RadarV010–V013.2 · Console / Billing / AdminV014–V014.2 · Docs / PlaygroundV015–V015.1 · Monitoring / Payments / Registration bonusV016 · Account SecurityV016.1 · UI / i18n / SEO