API · /wikisource-api

Wikisource API

healthy 4,672 Subscribers

Wikisource as an API — the Wikimedia free digital library of original source texts. Wikisource collects public-domain and freely-licensed primary texts: classic literature, poetry and plays, historical speeches, treaties and constitutions, religious and philosophical works, landmark court decisions, essays, letters and more, faithfully transcribed. This API wraps the official Wikisource MediaWiki service into clean JSON. /v1/search?q=Gettysburg Address searches the library and returns matching work and page titles with a text snippet and word count. /v1/work?title=Gettysburg Address returns a work's metadata — a short description, a text preview, the total character length and the canonical URL. /v1/text?title=Gettysburg Address (Bliss copy) returns the full plain text of a work (rendered and cleaned from the wiki source, capped at 60,000 characters with a truncated flag when longer) — the actual readable document, including transcribed works that template-based pages assemble. Many works are split into sub-pages or exist in several versions, so use /v1/search to find the exact page title first. Ideal for digital-humanities and literature apps, e-reading and quotation tools, NLP corpora of historical texts, and education. 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.

api.oanor.com/wikisource-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/wikisource-api/openapi.json
/api/wikisource-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
248 ms
Server probes · 24h
Subscribers
4,672
active
Total calls
8
last 7 days
status Full status page → · 12 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 3,600 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 3600 calls/month
  • 2 req/sec
  • Search, metadata & full text
  • No credit card
Sign in to subscribe

Starter

€5.50 /month

  • 53,000 calls / month
  • 5 requests / second
  • Hard cap (429 above quota, no overage)
  • 53k calls/month
  • 5 req/sec
  • Full work text
  • Email support
Sign in to subscribe

Pro

€17.00 /month

  • 218,000 calls / month
  • 12 requests / second
  • Hard cap (429 above quota, no overage)
  • 218k calls/month
  • 12 req/sec
  • Corpora & literature apps
  • Priority support
Sign in to subscribe

Mega

€48.00 /month

  • 755,000 calls / month
  • 35 requests / second
  • Hard cap (429 above quota, no overage)
  • 755k calls/month
  • 35 req/sec
  • High-volume text mining
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Europe PMC API

Europe PMC as an API, powered by EMBL-EBI — an open repository of biomedical and life-sciences literature covering 45 million+ abstracts and 9 million+ full-text articles drawn from PubMed, PubMed Central, preprint servers (bioRxiv and medRxiv), patents and Agricola. Search the literature with rich field syntax (by author, title, journal, MeSH term, publication year or open-access status), ordering results by relevance, date or citation count, and optionally restricting to preprints only; read an article's full metadata and abstract — its authors, journal, volume and pages, DOI, PubMed and PMC identifiers, MeSH terms, keywords, funding grants and links to the free full text; and walk the citation network in both directions: the articles that cite a given paper, and the works that paper itself references. Together these let you measure scholarly impact, build citation graphs, track a research topic across preprints and peer-reviewed papers, and feed evidence into bibliometric, systematic-review and research-intelligence tools. Article identifiers are PubMed ids (numeric), PMC ids (PMC…) or preprint ids (PPR…); the source defaults to PubMed (MED). Data from EMBL-EBI Europe PMC.

api.oanor.com/europepmc-api

Poetry API

A corpus of 2,500+ classic public-domain poems by 127 authors (Shakespeare, Keats, Dickinson, Whitman, Poe, Frost and many more), via the PoetryDB collection. Look up a poem by title or id and get its full text, line by line; browse every poem by an author (or list all authors); full-text search across titles, authors and lines; or fetch a random poem (optionally by author or capped to a number of lines, perfect for a poem-of-the-day). Ideal for literary apps, education, writing tools, daily-poem widgets and creative projects.

api.oanor.com/poetry-api

Books API

Search millions of books, look up editions by ISBN-10/13 and find authors — with covers, publish years, publishers, page counts and subjects. Powered by Open Library (Internet Archive).

api.oanor.com/books-api

Internet Archive API

The Internet Archive as an API — the non-profit digital library of over 40 million freely accessible items: books and texts, audio and live-music concerts, films and video, software, images and archived web pages. Search the entire archive by keyword with full Lucene field syntax (by creator, title, subject, collection and more), filter by media type (texts, audio, movies, image, software, web, live concerts) and sort by downloads, date or trending popularity, getting each item's identifier, title, creator, media type, year, download count and collections; read an item's full metadata including its description, creators, subjects, language, collections, publisher, license, dates and total size; list an item's downloadable files with their format, size, length and a direct download URL; and look up the closest Wayback Machine snapshot of any web page — the archived flag, the snapshot date and HTTP status, and the web.archive.org link, optionally near a target timestamp. Ideal for research, digital preservation, media discovery, dataset building, link-rot recovery and apps that surface public-domain and openly-licensed culture. Data from the Internet Archive (archive.org).

api.oanor.com/archive-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Wikisource API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Wikisource API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Wikisource API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Wikisource API cost?
Wikisource API has a free tier with 100 calls / month. Paid plans start at €5.50 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Wikisource API GDPR-compliant?
All requests to Wikisource API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/wikisource-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/wikisource-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/wikisource-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/wikisource-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.