Vai al contenuto
GET /v1/font

A single font family (weights, axes, subsets, CSS url)

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/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_..."}
)

Risposta di esempio

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

{
    "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
}