Education
Al-Maktaba Al-Shamela logo

Al-Maktaba Al-Shamela API

shamela.ws

Al-Maktaba Al-Shamela - Arabic classical library, categories, authors, and text.

Actions
4
Category
Education
Login
Not required
Output
JSON

Call the Al-Maktaba Al-Shamela API

Submit a task, then poll the job until it settles. This example runs act_shamela_ws_book_detail_ssr.

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_shamela_ws_book_detail_ssr",
    "params": {
      "book_id": "37540"
    }
  }'

4 actions on shamela.ws

Read

  • Book Details

    act_shamela_ws_book_detail_ssrread1 credit / call

    Returns book metadata including title, authors, publisher, and table of contents.

    book_id
    string · required
  • Book Section Content

    act_shamela_ws_book_section_contentread1 credit / call

    Returns a book section's title and full body text.

    book_id
    string · required
    section_id
    string · required
  • Category Book Listing

    act_shamela_ws_category_book_listingread1 credit / call

    Returns books in a category with titles, authors, and descriptions.

    category_id
    string · required
  • Library Portal

    act_shamela_ws_homepage_library_portalread1 credit / call

    Returns the library portal with stats, categories, and featured books.

Al-Maktaba Al-Shamela API questions

Is there an API for Al-Maktaba Al-Shamela?
Al-Maktaba Al-Shamela does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for shamela.ws. 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 Al-Maktaba Al-Shamela 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 shamela.ws changes its markup, Anakin updates the action.
Do I need a Al-Maktaba Al-Shamela account?
No. Every Al-Maktaba Al-Shamela action listed here runs anonymously — no account and no credentials required.
What does the Al-Maktaba Al-Shamela 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

All Education sites