{"openapi":"3.1.0","info":{"title":"Window Tint API","version":"1.0.0","description":"Window-tint maths as an API, computed locally and deterministically — the net VLT numbers an installer or car owner picks a film by. The catch with tint is that visible light transmission multiplies through layers: factory automotive glass already passes only about 70–80 % of light, so a film’s rated VLT is not what you end up with. The vlt endpoint multiplies it out — net % = the product of each layer’s VLT ÷ 100 — so a 35 % film on 78 % factory glass nets 27.3 %, a 5 % limo film on the same glass nets 3.9 %, and you can stack several layers in one call; it also describes how dark that looks, from near-clear down to blackout. The required endpoint runs it backwards: to land on a target net VLT through known glass you need a film of target ÷ glass × 100, so hitting a 35 % net on 78 % glass takes a 44.9 % film — and it flags the impossible case where the target is lighter than the bare glass already allows. Everything is computed locally and deterministically, so it is instant and private. Ideal for auto-tint, detailing, glass and automotive app developers, film-selection and compliance tools, and shop software. Pure local computation — no key, no third-party service, instant. Legal limits vary by jurisdiction — check local law. Live, nothing stored. 2 compute endpoints.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/windowtint-api","description":"oanor gateway"}],"tags":[{"name":"Tint"},{"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/required":{"get":{"operationId":"get_v1_required","tags":["Tint"],"summary":"Required film VLT","description":"","parameters":[{"name":"target_vlt","in":"query","required":true,"description":"Target net VLT %","schema":{"type":"string"},"example":"35"},{"name":"glass_vlt","in":"query","required":false,"description":"Factory glass VLT % (default 78)","schema":{"type":"string"},"example":"78"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Required film VLT = target net ÷ glass VLT × 100. Round to a real film grade (5, 20, 35, 50, 70 %). Buy slightly lighter than your legal limit, since installers measure the net result.","inputs":{"glass_vlt":78,"target_vlt":35},"achievable":true,"required_film_vlt_percent":44.87},"meta":{"timestamp":"2026-06-06T07:13:55.882Z","request_id":"e5514732-db91-4ab0-bb3b-6469c8bbebcd"},"status":"ok","message":"Required film VLT","success":true}}}},"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/vlt":{"get":{"operationId":"get_v1_vlt","tags":["Tint"],"summary":"Net VLT through layers","description":"","parameters":[{"name":"film_vlt","in":"query","required":false,"description":"Film VLT %","schema":{"type":"string"},"example":"35"},{"name":"glass_vlt","in":"query","required":false,"description":"Factory glass VLT % (default 100)","schema":{"type":"string"},"example":"78"},{"name":"layers","in":"query","required":false,"description":"Comma list of VLT % for stacked layers","schema":{"type":"string"},"example":"35,78"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"VLT multiplies through layers: net % = product of each layer's VLT ÷ 100. Tint film is rated on its own, but factory glass already blocks some light (around 70–80 % VLT), so the net result on the car is darker than the film's number. Lower VLT = darker.","inputs":{"layers":[35,78]},"appearance":"dark","net_vlt_percent":27.3},"meta":{"timestamp":"2026-06-06T07:13:55.974Z","request_id":"9353c9fe-8fb1-44e0-9aa7-79a5958d1a05"},"status":"ok","message":"Net VLT","success":true}}}},"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","content":{"application/json":{"example":{"data":{"notes":"VLT is the percent of visible light that passes through. Layers multiply: net = product of (layer ÷ 100). Factory glass is ~70–80 % VLT. Lower % is darker. Legal minimums vary by jurisdiction and window — check local law.","service":"windowtint-api","endpoints":{"GET /v1/vlt":"Net visible light transmission from film + glass (or a list of layers).","GET /v1/meta":"This document.","GET /v1/required":"Film VLT needed to reach a target net VLT through known glass."},"description":"Window-tint maths: net VLT when layers stack, and the film VLT needed to hit a target net VLT."},"meta":{"timestamp":"2026-06-06T07:13:56.047Z","request_id":"5b3090cb-f906-4c0a-a7ad-aadeae4747b4"},"status":"ok","message":"Meta","success":true}}}},"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":6480,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":427,"monthly_call_quota":54200,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1195,"monthly_call_quota":225500,"rps_limit":15,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":3830,"monthly_call_quota":1312000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/windowtint-api"}