Wikibooks API
wikibooks.org
Wikibooks - open textbooks, subjects, and book chapters.
- Actions
- 10
- Category
- Education
- Login
- Not required
- Output
- JSON
Call the Wikibooks API
Submit a task, then poll the job until it settles. This example runs act_wikibooks_org_book_detail.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_wikibooks_org_book_detail",
"params": {
"book_title": "Calculus"
}
}'10 actions on wikibooks.org
Read
Book Details
act_wikibooks_org_book_detailread1 credit / callReturns a book's title, summary, chapters, and metadata for a given book title.
- book_title
- string · required
Book Details
act_wikibooks_org_book_detail_formal_logicread1 credit / callReturns a book's title, summary, chapters, and metadata for a given book title.
- book_title
- string · required
Category Listing
act_wikibooks_org_category_listingread2 credits / callReturns pages within a category, each with title and URL.
- category_slug
- string · required
Category Listing Paginated
act_wikibooks_org_category_listing_ajaxread2 credits / callReturns the next page of category members using a pagination cursor.
- category_slug
- string · required
- pagefrom
- string · required
Chapter Content
act_wikibooks_org_chapter_contentread1 credit / callReturns a chapter's body content, table of contents, and metadata for a given chapter title.
- chapter_title
- string · required
Chapter Content
act_wikibooks_org_chapter_content_formal_logic_setsread1 credit / callReturns a chapter's body content, table of contents, and metadata for a given chapter title.
- chapter_title
- string · required
Department Portal
act_wikibooks_org_department_portalread1 credit / callReturns books and shelves within a subject department with titles and URLs.
- department_slug
- string · required
Main Portal
act_wikibooks_org_homepage_portalread1 credit / callReturns the main portal's featured books and navigation links with titles and URLs.
Recipe Page
act_wikibooks_org_recipe_pageread1 credit / callReturns a cookbook recipe's name, ingredients, steps, tags, and metadata.
- page_title
- string · required
Search Title Suggestions
act_wikibooks_org_search_title_suggestionsread2 credits / callSearches book titles and returns matching pages with titles, excerpts, and thumbnails.
- search_query
- string · required
- limit
- integer
Wikibooks API questions
- Is there an API for Wikibooks?
- Wikibooks does not offer a public data API for this, but Anakin Wire provides 10 maintained endpoints for wikibooks.org. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Wikibooks data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when wikibooks.org changes its markup, Anakin updates the action.
- Do I need a Wikibooks account?
- No. Every Wikibooks action listed here runs anonymously — no account and no credentials required.
- What does the Wikibooks API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Education APIs
Al-Maktaba Al-Shamela
Al-Maktaba Al-Shamela - Arabic classical library, categories, authors, and text.
Bartleby
Bartleby - example essays and study topics by subject.
Class Central
Class Central - online courses by subject, details, and learner reviews.
CMU Open Learning Initiative
CMU Open Learning Initiative - free courses by subject and category.
Coursera
Coursera - courses, specializations, certificates, pricing, and reviews.
Duden
Duden - German dictionary entries, spelling, grammar, and book shop.