{"openapi":"3.1.0","info":{"title":"Turbocharger Boost API","version":"1.0.0","description":"Turbocharger and boost engineering maths as an API, computed locally and deterministically — the pressure-ratio, charge-air and airflow numbers a tuner, engine builder or motorsport engineer sizes forced induction with. The pressure-ratio endpoint gives the compressor pressure ratio = absolute manifold pressure ÷ ambient = (atmospheric + boost) ÷ atmospheric, so 10 psi at sea level is a 1.68 ratio — the x-axis of every compressor map, which climbs at altitude where ambient pressure is lower. The charge-air endpoint shows why an intercooler matters: compressing air heats it (T₂ = T₁ × (1 + (PR^0.2857 − 1)/efficiency)), and hot air is less dense, so the real gain is the charge density ratio = pressure ratio × (T₁/T_charge), not the pressure ratio alone — 10 psi at 70 % compressor efficiency makes ~93 °C and a 1.37 density ratio with no intercooler, rising toward 1.6 once an intercooler claws back the heat, and the estimated power gain tracks the density. The airflow endpoint gives the engine mass airflow ≈ displacement × (rpm/2) × volumetric efficiency × charge density, in lb/min — the y-axis of the compressor map you plot against the pressure ratio to land in the efficient island and avoid surge or choke. Everything is computed locally and deterministically, so it is instant and private. Ideal for engine-tuning and turbo-sizing tools, dyno and data-logging apps, and motorsport calculators. Pure local computation — no key, no third-party service, instant. Sizing estimates — verify on a dyno. 3 compute endpoints. For engine displacement and compression use an engine API; for shop compressed air a compressor API.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/turbo-api","description":"oanor gateway"}],"tags":[{"name":"Turbo"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/airflow":{"get":{"operationId":"get_v1_airflow","tags":["Turbo"],"summary":"Engine mass airflow","description":"","parameters":[{"name":"displacement_l","in":"query","required":true,"description":"Engine displacement (L)","schema":{"type":"string"},"example":"2.0"},{"name":"rpm","in":"query","required":true,"description":"Engine speed (rpm)","schema":{"type":"string"},"example":"6000"},{"name":"ve_pct","in":"query","required":false,"description":"Volumetric efficiency % (default 95)","schema":{"type":"string"},"example":"95"},{"name":"boost_psi","in":"query","required":false,"description":"Boost pressure (psi, default 0)","schema":{"type":"string"},"example":"15"},{"name":"atmospheric_psi","in":"query","required":false,"description":"Ambient pressure (psi, default 14.7)","schema":{"type":"string"},"example":"14.7"},{"name":"inlet_temp_c","in":"query","required":false,"description":"Charge temp (°C, default 25)","schema":{"type":"string"},"example":"25"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/charge-air":{"get":{"operationId":"get_v1_charge_air","tags":["Turbo"],"summary":"Charge-air temperature and density gain","description":"","parameters":[{"name":"inlet_temp_c","in":"query","required":true,"description":"Compressor inlet temp (°C)","schema":{"type":"string"},"example":"25"},{"name":"boost_psi","in":"query","required":true,"description":"Boost pressure (psi, gauge)","schema":{"type":"string"},"example":"10"},{"name":"atmospheric_psi","in":"query","required":false,"description":"Ambient pressure (psi, default 14.7)","schema":{"type":"string"},"example":"14.7"},{"name":"compressor_efficiency_pct","in":"query","required":false,"description":"Compressor efficiency % (default 70)","schema":{"type":"string"},"example":"70"},{"name":"intercooler_efficiency_pct","in":"query","required":false,"description":"Intercooler efficiency % (default 0)","schema":{"type":"string"},"example":"75"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/pressure-ratio":{"get":{"operationId":"get_v1_pressure_ratio","tags":["Turbo"],"summary":"Pressure ratio from boost","description":"","parameters":[{"name":"boost_psi","in":"query","required":true,"description":"Boost pressure (psi, gauge)","schema":{"type":"string"},"example":"10"},{"name":"atmospheric_psi","in":"query","required":false,"description":"Ambient pressure (psi, default 14.7)","schema":{"type":"string"},"example":"14.7"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":6400,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1010,"monthly_call_quota":72000,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3220,"monthly_call_quota":300000,"rps_limit":15,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":9700,"monthly_call_quota":1430000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/turbo-api"}