/v1/work
A work metadata & preview
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
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_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"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
}