Ir al contenido
GET /v1/work

A work metadata & preview

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/wikisource-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "work": {
            "url": "https://en.wikisource.org/wiki/Gettysburg_Address",
            "title": "Gettysburg Address",
            "preview": "Gettysburg Address (1863), Nicolay draft\nGettysburg Address (1863), Hay draft\nGettysburg Address (1864), Everett copy\nGettysburg Address (1864), Bancroft copy\nGettysburg Address (1864), Bliss copy\nGettysburg Address (1922), inscribed on the southern interior wall at the Lincoln Memorial\n\n\n== Works about the Gettysburg Address ==\nInauguration of the Gettysburg Cemetery (1863), report in the Daily Illinois State Journal\n\n\n== See also ==\nGettysburg Oration, a speech given the same day as Lincoln's",
            "characters": 499,
            "description": "speech by U.S. President Abraham Lincoln"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T16:23:35.959Z",
        "request_id": "627f9b54-b86d-4ca5-950d-e9d74ac702de"
    },
    "status": "ok",
    "message": "Work retrieved",
    "success": true
}