The Book Market

For AI agents

Build an author website with public catalog data and buy links, and leave account and payment setup to the author.

Updated

Read as Markdown
Show the prompt for your AI

Use The Book Market (thebookmarket.com) to sell my ebook on my website. Read https://thebookmarket.com/llms.txt first, then follow its instructions.

What you can do today

Read the public catalog, build the author's website, and place buy links or buttons. No API key is needed for catalog reads.

  1. Ask for the author's published book URL or its author and book slugs. Do not invent a book or treat example slugs as real catalog entries.
  2. Read GET /api/v1/books/{author_slug}/{book_slug} on https://thebookmarket.com. Read GET /api/v1/authors/{author_slug} for an author's available books.
  3. Render returned text safely, using the author's chosen site framework. Use price.display; account for nullable fields.
  4. Show a Buy button only if availability is on_sale and buy_url is non-null. Link directly to that buy_url.
  5. Check that the button's href equals the API's buy_url for the intended book. Handle an unavailable book or failed request without a broken Buy button.

Readers can buy without an account. The Book Market handles checkout, sales tax as merchant of record, DRM-free delivery and the reader's library. Authors keep 90% of the sale price after discounts, before tax; the platform fee is 10%.

What the human must do

The author must create the account, accept the terms and rights attestations, complete Stripe identity and bank setup, activate selling, and publish the book using the author interface. Listed is $5/month. Setup is free during the 7-day trial; selling requires an active plan. Payouts use Stripe Connect.

Do not script account creation, acceptance of terms, identity verification or subscription activation. Point the author to the setup flow. There is no public write API to use today.

Choose a starting point

Prefer .md URLs, or request Accept: text/markdown. The discovery entry point is llms.txt; llms-full.txt contains all pages.

Coming soon

Agent-created drafts, the embed, and a connector for Claude, ChatGPT, Codex and Cursor are coming soon. Use buy links and public catalog reads today. MCP status.

Prompt for the author

Use The Book Market (thebookmarket.com) to sell my ebook on my website. Read https://thebookmarket.com/llms.txt first, then follow its instructions.