/v1/font
A single font family (weights, axes, subsets, CSS url)
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/fonts-api/v1/font" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fonts-api/v1/font", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fonts-api/v1/font");
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/fonts-api/v1/font",
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": {
"axes": [
{
"max": 100,
"min": 75,
"tag": "wdth",
"default": 100
},
{
"max": 900,
"min": 100,
"tag": "wght",
"default": 400
}
],
"family": "Roboto",
"italic": true,
"stroke": "Sans Serif",
"css_url": "https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;600;700;800;900&display=swap",
"subsets": [
"menu",
"cyrillic",
"cyrillic-ext",
"greek",
"greek-ext",
"latin",
"latin-ext",
"math",
"symbols",
"vietnamese"
],
"weights": [
100,
200,
300,
400,
500,
600,
700,
800,
900
],
"category": "Sans Serif",
"trending": 1033,
"variable": true,
"designers": [
"Christian Robertson",
"ParaType",
"Font Bureau"
],
"date_added": "2013-01-08",
"popularity": 2,
"open_source": true,
"last_modified": "2026-02-19",
"classifications": []
},
"meta": {
"timestamp": "2026-05-31T04:30:17.060Z",
"request_id": "205e11c4-975e-45bc-9c99-3163d1c9eaa5"
},
"status": "ok",
"message": "Font retrieved",
"success": true
}