Discover/Rokomari API
live

Rokomari APIrokomari.com

Access Rokomari.com book data via API: search titles, get book details, browse categories, fetch quick deals, and retrieve bestseller award winners.

Endpoint health
verified 2d ago
list_categories
search_books
get_book_details
get_bestseller_award_page
get_books_by_category
6/6 passing latest checkself-healing
Endpoints
6
Updated
26d ago

What is the Rokomari API?

The Rokomari.com API provides 6 endpoints for querying Bangladesh's largest online bookstore, covering book search, detailed metadata, category browsing, quick deals, and bestseller award winners. The search_books endpoint returns up to 60 results per page with title, author, offer price, regular price, and a slug you can pass directly into get_book_details for full specifications, ratings, and a text summary.

Try it
Page number for pagination (1-based)
Search keyword (supports English and Bengali text)
api.parse.bot/scraper/4bcf1cd4-c566-4d3a-a1f0-dc54e658ea15/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/4bcf1cd4-c566-4d3a-a1f0-dc54e658ea15/search_books?page=1&query=Python' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace rokomari-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.rokomari_book_store_api import Rokomari, BookSummary, Book, Category, Deal, AwardWinner

rokomari = Rokomari()

# Search for books
for book in rokomari.booksummaries.search(query="Python", limit=5):
    print(book.title, book.author, book.offer_price)

    # Drill into details for the first result
    detail = book.details()
    print(detail.title, detail.author, detail.summary)
    print(detail.specifications)
    print(detail.rating.average, detail.rating.total)
    break

# Browse categories and their books
for category in rokomari.categories.list(limit=3):
    print(category.id, category.name, category.slug)

# Use constructible category to get books directly
math = rokomari.category(id="2427")
for book in math.books(slug="math-olympiad", limit=5):
    print(book.title, book.author, book.offer_price)

# List deals
for deal in rokomari.deals.list(limit=3):
    print(deal.title, deal.price, deal.mrp, deal.discount_percentage, deal.in_stock)

# List award winners
for winner in rokomari.awardwinners.list(limit=5):
    print(winner.author, winner.author_id)
All endpoints · 6 totalmissing one? ·

Full-text search across all books on Rokomari.com. Returns paginated results (60 per page) matching the query against titles and authors. Supports both English and Bengali text queries. Each result includes pricing and a slug+id pair for drilling into details via get_book_details.

Input
ParamTypeDescription
pageintegerPage number for pagination (1-based)
queryrequiredstringSearch keyword (supports English and Bengali text)
Response
{
  "type": "object",
  "fields": {
    "page": "integer - current page number",
    "items": "array of book objects with id, slug, title, author, offer_price, regular_price, url",
    "query": "string - the search query used",
    "total_results": "integer - total number of matching results"
  },
  "sample": {
    "data": {
      "page": 1,
      "items": [
        {
          "id": "161870",
          "url": "https://www.rokomari.com/book/161870/python-diye-programing-shekha-1st-theke-4th-part-rokomari-collection",
          "slug": "python-diye-programing-shekha-1st-theke-4th-part-rokomari-collection",
          "title": "পাইথন দিয়ে প্রোগ্রামিং শেখা",
          "author": "তামিম শাহরিয়ার সুবিন",
          "offer_price": "1106",
          "regular_price": "1250"
        }
      ],
      "query": "Python",
      "total_results": 138
    },
    "status": "success"
  }
}

About the Rokomari API

Search and Book Detail

The search_books endpoint accepts a query string (English or Bengali) and an optional page integer, returning paginated results of 60 items per page. Each item in the items array carries an id, slug, title, author, offer_price, regular_price, and a direct url. Pass any id and slug pair to get_book_details to retrieve the full record: a specifications object with key-value pairs covering Publisher, ISBN, Edition, Pages, and more; a summary text block; a rating object with average and total fields; and both price fields alongside a discount string.

Categories and Browse

The list_categories endpoint returns all available categories, each with an id, slug, name, and url. Use the category_id (required) and optionally the slug with get_books_by_category to page through titles in that category. The response mirrors the search shape — id, slug, title, author, offer_price, regular_price, and url — alongside the category_id and current page.

Deals and Awards

The get_quick_deals endpoint returns the active promotions on Rokomari, including price, mrp, discount_percentage, deal_price, deal_quantity, and sold_quantity for each deal item, plus an image URL and a link to the full deals page. The get_bestseller_award_page endpoint returns the page title and a winners array where each entry includes the author name, author_id, author_slug, and a profile url — useful for building curated author lists or award tracking features.

Reliability & maintenanceVerified

The Rokomari API is a managed, monitored endpoint for rokomari.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when rokomari.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official rokomari.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2d ago
Latest check
6/6 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a Bengali-language book discovery app using search_books with native Bengali query strings.
  • Track price differences between offer_price and regular_price across categories to surface the deepest discounts.
  • Aggregate book specifications fields (ISBN, Publisher, Pages) into a structured library catalog.
  • Monitor get_quick_deals on a schedule to alert users when new time-limited promotions appear.
  • Compile a bestseller author directory from get_bestseller_award_page winners with links to their profiles.
  • Build a category-level reading list browser using list_categories and get_books_by_category with pagination.
  • Enrich a book recommendation engine with rating.average and rating.total fields from get_book_details.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Rokomari.com have an official public developer API?+
Rokomari.com does not publish an official public developer API or documented REST endpoints for third-party use. This Parse API provides structured access to book, category, deal, and award data from the platform.
What does `get_book_details` return beyond what `search_books` includes?+
The get_book_details endpoint adds a specifications object (Publisher, ISBN, Edition, Pages, and similar fields), a summary text description, and a rating object with average score and total count — none of which appear in the search_books response. Both endpoints share offer_price, regular_price, title, author, id, and slug.
Does `search_books` return all results at once?+
No. Results are paginated server-side at 60 items per page. The response includes a total_results integer so you can calculate how many pages to request. Use the page parameter to walk through subsequent pages.
Does the API expose customer reviews or individual user review text?+
Not currently. The API surfaces aggregate ratings (rating.average and rating.total) from get_book_details, but individual review text, reviewer names, and review dates are not included in any endpoint response. You can fork this API on Parse and revise it to add an endpoint that retrieves individual review content.
Can I look up an author's full profile or bibliography directly?+
Not currently. The get_bestseller_award_page endpoint returns award-winning author names, IDs, slugs, and profile URLs, but there is no dedicated author-profile or author-bibliography endpoint. You can fork this API on Parse and revise it to add an author detail endpoint using those slugs.
Page content last updated . Spec covers 6 endpoints from rokomari.com.
Related APIs in EcommerceSee all →
kobo.com API
Search and browse millions of eBooks and audiobooks from Kobo, discover bestsellers and daily deals across different categories, and get detailed information about specific books and authors. Find free eBooks, explore category collections, and use autocomplete to quickly locate titles that interest you.
booksrun.com API
Search millions of books and get instant buyback quotes on BooksRun. Browse bestsellers and categories, view detailed book information, and check condition guidelines to understand buyback prices and acceptance criteria.
barnesandnoble.com API
Search for books and discover detailed information including metadata, pricing, and customer reviews from Barnes & Noble's catalog. Browse bestsellers by category and access comprehensive book details to find your next read or compare prices and ratings.
bookshop.org API
Search for books by keyword or category, view detailed information like metadata and pricing, discover curated reading lists, and find independent bookstores near you on Bookshop.org. Filter results by format and browse new releases to discover your next read.
abebooks.com API
Search for books by title or ISBN, view detailed listing information, and discover available sellers offering new and used copies. Find the best deals by comparing prices across multiple sellers and browsing their inventory.
alibris.com API
Search for books and retrieve seller listings from Alibris. Access detailed book information including title, author, condition, pricing, and seller data across the platform.
booksamillion.com API
Access Books-A-Million's catalog to retrieve bestseller lists across fiction, nonfiction, manga, YA, and kids' categories, fetch detailed book information and customer reviews, search books by keyword, and look up nearby store locations. Returns structured data including titles, authors, pricing, availability, cover images, and paginated review content.
bookwalker.jp API
Search and browse Japanese ebooks including manga and light novels on BookWalker Japan, with access to book details, rankings, category listings, and autocomplete suggestions. Discover new titles through curated rankings and explore the full catalog by category.