/v1/popular
Most popular families
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/popular" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fonts-api/v1/popular", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fonts-api/v1/popular");
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/popular",
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": {
"count": 25,
"results": [
{
"family": "Roboto",
"italic": true,
"css_url": "https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;600;700;800;900&display=swap",
"weights": [
100,
200,
300,
400,
500,
600,
700,
800,
900
],
"category": "Sans Serif",
"variable": true,
"popularity": 2
},
{
"family": "Open Sans",
"italic": true,
"css_url": "https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap",
"weights": [
300,
400,
500,
600,
700,
800
],
"category": "Sans Serif",
"variable": true,
"popularity": 3
},
{
"family": "Google Sans",
"italic": true,
"css_url": "https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;600;700&display=swap",
"weights": [
400,
500,
600,
700
],
"category": "Sans Serif",
"variable": true,
"popularity": 4
},
{
"family": "Inter",
"italic": true,
"css_url": "https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap",
"weights": [
100,
200,
300,
400,
500,
600,
700,
800,
900
],
"category": "Sans Serif",
"variable": true,
"popularity": 5
},
{
"family": "Montserrat",
"italic": true,
"css_url": "https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap",
"weights": [
100,
200,
300,
400,
500,
600,
700,
800,
900
],
"category": "Sans Serif",
"variable": true,
"popularity": 6
},
{
"family": "Poppins",
"italic": true,
"css_url
…