Naar de inhoud
GET /v1/authors

Author directory with quote counts

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/quotes-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "count": 50,
        "total": 675,
        "authors": [
            {
                "author": "Buddha",
                "quotes": 56
            },
            {
                "author": "Byron Pulsifer",
                "quotes": 41
            },
            {
                "author": "Confucius",
                "quotes": 37
            },
            {
                "author": "Ralph Emerson",
                "quotes": 36
            },
            {
                "author": "Lao Tzu",
                "quotes": 35
            },
            {
                "author": "Richard Bach",
                "quotes": 32
            },
            {
                "author": "Albert Einstein",
                "quotes": 27
            },
            {
                "author": "Wayne Dyer",
                "quotes": 25
            },
            {
                "author": "Napoleon Hill",
                "quotes": 25
            },
            {
                "author": "Dalai Lama",
                "quotes": 23
            },
            {
                "author": "Epictetus",
                "quotes": 21
            },
            {
                "author": "Abraham Lincoln",
                "quotes": 17
            },
            {
                "author": "Johann Wolfgang von Goethe",
                "quotes": 16
            },
            {
                "author": "Marcus Aurelius",
                "quotes": 16
            },
            {
                "author": "Carl Jung",
                "quotes": 14
            },
            {
                "author": "Tony Robbins",
                "quotes": 14
            },
            {
                "author": "Bruce Lee",
                "quotes": 14
            },
            {
                "author": "William Shakespeare",
                "quotes": 13
            },
            {
                "author": "Aristotle",
                "quotes": 12
            },
            {
                "author": "Winston Churchill",
                "quotes": 12
            },
            {
                "author": "Benjamin Disraeli",
                "quotes": 11
            },
            {
                "author": "Seneca",
                "quotes": 10
            },
            {
                "author": "Thich Nhat Hanh",
                "quotes": 10
            },
            {
                "author": "Mark Twain",
                "quotes": 10
            },
            {
                "author": "Mother Teresa",
                "quotes": 10
            },
            {
                "author": "Eleanor Roosevelt",
                "quotes": 9
            },
            {
                "author": "Helen Keller",
                "quotes": 9
            },
            {
                "author": "Oprah Winfrey",
                "quotes": 9
            },
            {
                "author": "Chinese proverb",
                "quotes": 8
            },
     
…