{"api":{"id":"api_d164c34f9ec8388e8e433adb","slug":"wikisource-texts","name":"Wikisource Text Search API","description":"Search English Wikisource, the library of public-domain and freely licensed texts: page title, page link, word count, page size, a short matching snippet and last edit time. For finding source texts without learning MediaWiki search parameters.","kind":"ready_made","visibility":"public","domain":"en.wikisource.org","source_url":"https://en.wikisource.org/w/api.php","category":"media","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":7,"created_at":"2026-12-06T04:45:48.411Z","updated_at":"2026-12-06T04:45:48.411Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Wikisource page id.","required":true,"coverage":1,"example":"4031"},{"name":"title","type":"string","description":"Page title.","required":false,"coverage":1,"example":"The Raven"},{"name":"url","type":"url","description":"The page on Wikisource.","required":false,"coverage":1,"example":"https://en.wikisource.org/wiki/The_Raven"},{"name":"word_count","type":"integer","description":"Words on the page.","required":false,"coverage":1,"example":100},{"name":"size_bytes","type":"integer","description":"Size of the page source in bytes.","required":false,"coverage":1,"example":1099},{"name":"snippet","type":"string","description":"Short passage around the match, as plain text.","required":false,"coverage":1,"example":"Works entitled The Raven 4031The Raven The Raven may refer to: \"The Raven \" (1798), a poem by Samuel Taylor Coleridge.…"},{"name":"updated_at","type":"datetime","description":"When the page was last edited (UTC).","required":false,"coverage":1,"example":"2025-10-07T22:15:17.000Z"}],"inputs":[{"name":"query","type":"string","description":"Search words, such as raven or declaration of independence.","example":"raven","required":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"id":{"description":"Wikisource page id.","type":"string"},"size_bytes":{"description":"Size of the page source in bytes.","type":"integer"},"snippet":{"description":"Short passage around the match, as plain text.","type":"string"},"title":{"description":"Page title.","type":"string"},"updated_at":{"description":"When the page was last edited (UTC).","format":"date-time","type":"string"},"url":{"description":"The page on Wikisource.","format":"uri","type":"string"},"word_count":{"description":"Words on the page.","type":"integer"}},"required":["id"],"title":"Wikisource Text Search API","type":"object"},"samples":[{"id":"4031","title":"The Raven","url":"https://en.wikisource.org/wiki/The_Raven","word_count":100,"size_bytes":1099,"snippet":"Works entitled The Raven 4031The Raven The Raven may refer to: \"The Raven \" (1798), a poem by Samuel Taylor Coleridge. \"The Raven \" (1812), a fairy tale","updated_at":"2025-10-07T22:15:17.000Z"},{"id":"86979","title":"The Raven (Poe)","url":"https://en.wikisource.org/wiki/The_Raven_(Poe)","word_count":160,"size_bytes":2154,"snippet":"titles, see The Raven . Versions of The Raven by Edgar Allan Poe 86979The Raven Edgar Allan Poe Versions of The Raven include: \"The Raven \" (by \"——— Quarles\")","updated_at":"2025-02-02T15:59:29.000Z"},{"id":"3290159","title":"The Raven (Coleridge)","url":"https://en.wikisource.org/wiki/The_Raven_(Coleridge)","word_count":31,"size_bytes":406,"snippet":"see The Raven . Versions of The Raven by Samuel Taylor Coleridge 3290159The Raven Samuel Taylor Coleridge Versions of The Raven include: \"The Raven \" in Sibylline","updated_at":"2023-08-13T22:09:53.000Z"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"id":1,"size_bytes":1,"snippet":1,"title":1,"updated_at":1,"url":1,"word_count":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_d164c34f9ec8388e8e433adb/run","openapi":"https://pullrow.dev/v1/apis/api_d164c34f9ec8388e8e433adb/openapi.json","contract":"https://pullrow.dev/v1/apis/api_d164c34f9ec8388e8e433adb/contract.json","page":"https://pullrow.dev/catalog/wikisource-texts"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Metadata and a short snippet only; the full text is not returned. Open each page link for the text.","Matches are in Wikisource's own relevance order. A search returns at most 10,000 pages in total, and stops there.","Results include disambiguation and author index pages as well as texts; their word counts are small.","Wikisource content is public domain or CC BY-SA 4.0: credit Wikisource and the page's authors when you reuse it. The site asks automated callers to go one request at a time, which this API follows."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"Wikisource page ID","description":"","group":"Technical","shown":false,"written":false},{"name":"title","label":"Page title","description":"","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"The page on Wikisource.","group":"Links","shown":true,"written":false},{"name":"word_count","label":"Word count","description":"Words on the page.","group":"Basics","shown":true,"written":false},{"name":"size_bytes","label":"Size bytes","description":"Size of the page source in bytes.","group":"Basics","shown":true,"written":false},{"name":"snippet","label":"Snippet","description":"Short passage around the match, as plain text.","group":"Basics","shown":true,"written":false},{"name":"updated_at","label":"Updated","description":"When the page was last edited (UTC).","group":"Dates","shown":true,"written":false}],"inputs":[{"name":"query","label":"Query","help":"Search words, such as raven or declaration of independence.","example":"raven","written":false}]}},"incidents":[]}