{"openapi":"3.1.0","info":{"title":"Title Case API","version":"1.0.0","description":"Convert a heading to proper headline (title) case the way editors do — not a naive capitalise-every-word. It capitalises the first and last words and all the major words, while keeping articles (a, an, the), coordinating conjunctions (and, but, or…) and prepositions lowercase, and always capitalises the word right after a colon. Choose AP style (lowercases short prepositions, capitalises longer ones) or Chicago style (lowercases prepositions of any length). Hyphenated compounds such as well-known and state-of-the-art are handled correctly. Perfect for article and blog titles, headings, SEO meta titles, product and section names, and CMS tooling. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. Distinct from a plain title/sentence case converter, which capitalises every word.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/titlecase-api","description":"oanor gateway"}],"tags":[{"name":"Title Case"},{"name":"Reference"},{"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/titlecase":{"get":{"operationId":"get_v1_titlecase","tags":["Title Case"],"summary":"Title-case a heading","description":"","parameters":[{"name":"text","in":"query","required":true,"description":"The heading","schema":{"type":"string"},"example":"the lord of the rings: the two towers"},{"name":"style","in":"query","required":false,"description":"ap|chicago (default ap)","schema":{"type":"string"},"example":"ap"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"input":"the lord of the rings: the two towers","style":"ap","result":"The Lord of the Rings: The Two Towers"},"meta":{"timestamp":"2026-06-03T09:25:10.020Z","request_id":"241d8a4b-7c3d-4a32-b68c-1e3cde3873fa"},"status":"ok","message":"Title-case a heading","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/styles":{"get":{"operationId":"get_v1_styles","tags":["Reference"],"summary":"Style minor-word lists","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"styles":[{"name":"ap","note":"Associated Press — lowercases articles, conjunctions and short prepositions.","minor_words":["a","an","and","as","at","but","by","for","if","in","into","is","nor","of","off","on","or","out","per","so","the","to","up","v","via","vs","yet"]},{"name":"chicago","note":"Chicago Manual of Style — also lowercases longer prepositions.","minor_words":["a","about","above","across","after","against","along","amid","among","an","and","around","as","at","before","behind","below","beneath","beside","between","beyond","but","by","despite","down","during","except","for","from","if","in","inside","into","is","like","near","nor","of","off","on","onto","or","out","over","per","since","so","than","the","through","throughout","till","to","toward","under","until","unto","up","upon","v","via","vs","with","within","without","yet"]}]},"meta":{"timestamp":"2026-06-03T09:25:10.122Z","request_id":"2190143a-a841-4469-8665-707d2660d7b9"},"status":"ok","message":"Style minor-word lists","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":{"name":"Title Case API","notes":"The first word, the last word and the word after a colon are always capitalised. Nothing is stored.","version":"v1","endpoints":[{"path":"/v1/titlecase","params":{"text":"the heading (required)","style":"ap|chicago (default ap)"},"returns":"the title-cased text"},{"path":"/v1/styles","params":[],"returns":"the minor-word lists for each style"},{"path":"/v1/meta","params":[],"returns":"this document"}],"description":"Convert a heading to proper headline (title) case in AP or Chicago style — capitalising the first and last words and all major words, while keeping articles, conjunctions and prepositions lowercase (unless first/last or after a colon). Handles hyphenated compounds. This is real editorial title case, not a naive capitalise-every-word. Pure local, no key."},"meta":{"timestamp":"2026-06-03T09:25:10.224Z","request_id":"e7721c46-7f54-460c-bc63-4807daf5669f"},"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":1175,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":215,"monthly_call_quota":10150,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2205,"monthly_call_quota":152500,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":6005,"monthly_call_quota":805000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/titlecase-api"}