/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/titlecase-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/titlecase-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/titlecase-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/titlecase-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}