Greenlit Books API
Public read-only JSON API for the Greenlit Books catalog: practical books on working with AI, all live on Amazon and free to read with Kindle Unlimited. Every…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Public read-only JSON API for the Greenlit Books catalog: practical books on working with AI, all live on Amazon and free to read with Kindle Unlimited. Every endpoint is a plain HTTP GET returning pretty-printed JSON with a meta envelope. Amazon links are clean /dp/ URLs. The catalog intentionally omits publication dates, page counts, and ISBNs because it carries no verified source for them; nothing is invented. Human documentation: https://greenlitbooks.com/developers
Endpoints 16
- GETAPI index: the list of endpoints
/ - GETAll live books, with optional series and audience filters
/booksEvery live book as structured JSON, in curated series order and reading order within each series. Small enough (fewer than 100 records) that there is no… - GETOne book in full
/books/:slugThe full record for one book: metadata, chapter list, total word count, free-excerpt availability, and related reading (guide hub, field notes, compare pages,… - GETAll series, plus imprints
/seriesEvery series with its ordered book list, plus an imprints aggregate. Imprints are a separate axis: one imprint can span several series and has no page of its… - GETOne series with its books in reading order
/series/:slug - GETThe one named question each book answers
/conceptsEach book answers one named question (its concept). This lists them all with short answers and links to the citable concept pages and their markdown twins. - GETThe claim ledger: every quotable claim with its basis and sources
/claimsOne export of the whole claim ledger. Each claim carries a stable citation URL pointing at the exact fragment on the book page, whether the sentence is the… - GETFind the claim that bears on what you are about to assert
/claims/search?q=long context accuracyRanked search over the claim ledger: the claim sentences themselves, the titles of their sources, what each source establishes, and the book titles, matched… - GETThe finished citation for any url on this site
/cite?url=https://greenlitbooks.com/book/blast-radius#claim-1Pass the url of the exact thing you are quoting, fragment and all, and get the citation for that fragment in prose and in BibTeX, both carrying the url inside… - GETCurated topics mapped to the books that cover them
/topicsA curated topic layer: each topic carries the phrases people use for it, a short description, and the books, guide, and series that cover it. Use this to… - GETRanked catalog search
/search?q=agent reliabilityField-weighted full-text search over titles, subtitles, named concepts, concept questions and answers, descriptions, series names, and chapter titles. Results… - GETThe whole catalog in one response
/catalogOne-shot dump for agents that prefer a single ingestion: every book at detail depth plus series, imprints, and concepts. - GETThe glossary: every coined term with its verbatim definition
/termsTerms the Greenlit books coin, or industry terms whose AI-agent definition a book supplies. Each entry carries the book's own definition sentence (verified… - GETOne glossary term by slug or alias
/terms/:slug - GETSearch the whole site: safety verdicts, field notes, guides and books
/pages?q=is cursor safeRanked search over every page on the site, including the safety verdicts on AI agents, MCP servers and coding tools. Distinctive words in the query decide the… - GETThe full text of one page
/pages/doc?id=note:is-cursor-safeThe page behind a /pages result as markdown, with its canonical URL and dates.
API details
- Base URL
https://greenlitbooks.com/api/v1- Authentication
- None declared in the description
- Operations
- 16 operations on 16 pathsGET 16
- Response formats
application/json- Description format
- OpenAPI 3.1.0, API version
1.2.0 - Links
- Documentation · OpenAPI document · Support
How to test the Greenlit Books API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Greenlit Books API collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “API index: the list of endpoints” (GET /), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Greenlit Books API?
Public read-only JSON API for the Greenlit Books catalog: practical books on working with AI, all live on Amazon and free to read with Kindle Unlimited. Every… It is listed under Media & content and has 16 endpoints.
Who publishes the Greenlit Books API?
It is listed from Greenlit Books's public API description (an OpenAPI document), not published by Greenlit Books on Swastik Codes. Anyone who controls greenlitbooks.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Greenlit Books API?
Requests go to https://greenlitbooks.com/api/v1. Endpoint paths are added to this base URL.
How do I authenticate with the Greenlit Books API?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the Greenlit Books API have?
16 operations on 16 paths (16 GET).
Is forking the Greenlit Books API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.