The Book Market

Sell books from your website

Add a Buy button, read the catalog, or give your AI the instructions to build your author website.

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.

Sell your book from any website. The Book Market handles checkout, sales tax, delivery and the reader's library; you keep 90%.

The 1-minute Buy button

Already selling here? Copy your book's buy link and paste it into your site's button. It opens Book Market checkout. Readers don't need an account to buy.

<a href="https://thebookmarket.com/checkout/YOUR-AUTHOR-SLUG/YOUR-BOOK-SLUG">Buy my ebook</a>

Replace both uppercase placeholders with your published book's slugs. The catalog API returns this link as buy_url. Only show a Buy button when availability is on_sale and buy_url is not null.

Start with the quickstart. Listed costs $5/month. Setup is free during your 7-day trial; activate a plan before selling. The platform fee is 10%; you keep 90% of the sale price after discounts, before sales tax. Payouts go through Stripe Connect.

The API

Read public book details and an author's available books without an API key. Use the returned title, price and buy link to build your own book card.

For AI agents

Give your agent this prompt:

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

Read the agent instructions, get the Agent Skill, or start at llms.txt. Every page has a Markdown version and answers Accept: text/markdown.

Agent-created drafts, the embed and the MCP connector are coming soon. Today, use public catalog reads and ordinary buy links.

For authors

Prefer a walkthrough without code? Sell ebooks from your website, learn about DRM-free ebooks, or compare ways to sell.