Skip to content
GET /v1/meta

Usage notes

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/wikisource-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Wikisource is Wikimedia's free digital library of original source texts — classic literature, poems and plays, historical speeches, treaties and constitutions, religious and philosophical works, court decisions, essays and more, all public-domain or freely licensed. /v1/search?q=Gettysburg Address = search the library, returning matching work/page titles with a snippet and word count; /v1/work?title=Gettysburg Address = a work's metadata (short description, a text preview, total character length and URL); /v1/text?title=Gettysburg Address = the full plain text of a work (capped at 60,000 characters, with a truncated flag when longer). Titles are Wikisource page names — many works are split into sub-pages or have multiple versions, so use /v1/search to find the exact page. Content is public domain or CC BY-SA. Distinct from book-metadata catalogues and encyclopaedias — this is the actual full text of primary sources and classic works. For free textbooks use the Wikibooks API, for the encyclopaedia the Wikipedia API.",
        "source": "Wikisource — the free library of source texts (en.wikisource.org, a Wikimedia project)",
        "endpoints": [
            "/v1/search",
            "/v1/work",
            "/v1/text",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T16:23:36.044Z",
        "request_id": "8effa824-0931-40d0-b05a-4cdfd86df34f"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}