Vai al contenuto
GET /v1/search

Search by name with category / subset / weight / variable filters

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/fonts-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/fonts-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fonts-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fonts-api/v1/search");
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/search",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "count": 20,
        "limit": 20,
        "query": null,
        "total": 348,
        "offset": 0,
        "filters": {
            "subset": null,
            "weight": null,
            "category": "serif",
            "variable": null
        },
        "results": [
            {
                "family": "Abhaya Libre",
                "italic": false,
                "css_url": "https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&display=swap",
                "weights": [
                    400,
                    500,
                    600,
                    700,
                    800
                ],
                "category": "Serif",
                "variable": false,
                "popularity": 396
            },
            {
                "family": "Abyssinica SIL",
                "italic": false,
                "css_url": "https://fonts.googleapis.com/css2?family=Abyssinica+SIL:wght@400&display=swap",
                "weights": [
                    400
                ],
                "category": "Serif",
                "variable": false,
                "popularity": 1068
            },
            {
                "family": "Adamina",
                "italic": false,
                "css_url": "https://fonts.googleapis.com/css2?family=Adamina:wght@400&display=swap",
                "weights": [
                    400
                ],
                "category": "Serif",
                "variable": false,
                "popularity": 511
            },
            {
                "family": "Alegreya",
                "italic": true,
                "css_url": "https://fonts.googleapis.com/css2?family=Alegreya:wght@400;500;600;700;800;900&display=swap",
                "weights": [
                    400,
                    500,
                    600,
                    700,
                    800,
                    900
                ],
                "category": "Serif",
                "variable": true,
                "popularity": 271
            },
            {
                "family": "Alegreya SC",
                "italic": true,
                "css_url": "https://fonts.googleapis.com/css2?family=Alegreya+SC:wght@400;500;700;800;900&display=swap",
                "weights": [
                    400,
                    500,
                    700,
                    800,
                    900
                ],
                "category": "Serif",
                "variable": false,
                "popularity": 716
            },
            {
                "family": "Aleo",
                "italic": true,
                "css_url": "https://fonts.googleapis.com/css2?family=Aleo:wght@100;200;300;400;500;600;700;800;900&display=swap",
                "weights": [
                    100,
                    200,
                    300,
                    400,
                    500,
                    600,
                 
…