# The Book Market > Sell ebooks from any website. 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%. ## Instructions for AI agents Build the author’s site using the public catalog and ordinary Buy links today. The human must create the account, accept the terms, connect Stripe for identity and bank details, and activate selling (Listed is $5/month). Setup is free during the 7-day trial; selling needs an active plan. Read the book from GET /api/v1/books/{author_slug}/{book_slug}. Link a Buy button to its buy_url only when availability is on_sale and buy_url is non-null. Readers can buy without an account. Prefer the .md docs below, or request Accept: text/markdown. Agent-created drafts, the embed and the MCP connector are coming soon. Do not invent write endpoints or automate the human steps. ## About The Book Market (as of October 2026) The Book Market is an online bookstore where independent authors sell DRM-free ebooks directly to readers. Authors pay $5 a month to be on sale, keep 90% of every sale, and get the email addresses of readers who opt in. We handle checkout, US sales tax and delivery by email to Kindle and Kobo. - Readers: https://thebookmarket.com/for-readers — DRM-free ebooks you keep; ePub, Mobi and PDF; send to Kindle or Kobo. - Authors: https://thebookmarket.com/for-authors — sell an ebook, keep 90%, keep the reader list. Compared with Amazon KDP on that page. - Pricing: https://thebookmarket.com/pricing — $5 a month (Listed) or $20 a month (Sender), plus 10% of each sale. - Questions: https://thebookmarket.com/faq - Books: https://thebookmarket.com/browse — new releases, free reads and this month's most-read titles. ## Docs - [Sell books from your website](https://thebookmarket.com/developers/index.md): Add a Buy button, read the catalog, or give your AI the instructions to build your author website. - [Your first Buy button](https://thebookmarket.com/developers/quickstart.md): Publish your ebook, activate selling, and put its buy link on your own website. - [Catalog API reference](https://thebookmarket.com/developers/api.md): Public book and author reads, buy links, JSON objects, errors, CORS, caching and rate limits. - [Plain HTML and JavaScript](https://thebookmarket.com/developers/html.md): Add an ordinary buy link or build a book card with a public catalog request. - [Next.js and React](https://thebookmarket.com/developers/nextjs.md): Fetch a public book in a React component and link to its checkout URL. - [Astro](https://thebookmarket.com/developers/astro.md): Render a book on the server with the public catalog and an ordinary checkout link. - [WordPress](https://thebookmarket.com/developers/wordpress.md): Put a Book Market buy link in a Custom HTML block or a normal button. - [Squarespace and Wix](https://thebookmarket.com/developers/squarespace-wix.md): Use a normal button link, or paste HTML into a code block where your editor permits it. - [Substack](https://thebookmarket.com/developers/substack.md): Link readers from your post or page to your book's checkout. - [For AI agents](https://thebookmarket.com/developers/for-ai-agents.md): Build an author website with public catalog data and buy links, and leave account and payment setup to the author. - [MCP connector — coming soon](https://thebookmarket.com/developers/mcp.md): The connector for Claude, ChatGPT, Codex and Cursor is coming soon. Use the public catalog and buy links today. - [The Book Market Agent Skill](https://thebookmarket.com/developers/skill.md): Give a coding agent the instructions for selling an ebook from an author website. ## Guides - [Guides for authors](https://thebookmarket.com/guides/index.md): Plain-language help for selling ebooks from your own website and delivering books readers can keep. - [Sell ebooks from your own website](https://thebookmarket.com/guides/sell-ebooks-from-your-website.md): Keep your author website and add a buy link. The Book Market handles checkout, sales tax and ebook delivery. - [DRM-free ebooks readers can keep](https://thebookmarket.com/guides/drm-free-ebooks.md): Understand ebook formats, re-downloads, and sending a book to Kindle or Kobo. - [Ways to sell ebooks from your website](https://thebookmarket.com/guides/ways-to-sell-ebooks.md): Compare the jobs your setup needs to do, from taking payment to delivering files and collecting reader opt-ins. --- # Sell books from your website Source: https://thebookmarket.com/developers/index.md Updated: 2026-10-02 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. ```html Buy my ebook ``` 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](/developers/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. - [Catalog API reference](/developers/api) - [Plain HTML and JavaScript](/developers/html) - [Next.js and React](/developers/nextjs) - [Astro](/developers/astro) - [WordPress](/developers/wordpress) - [Squarespace and Wix](/developers/squarespace-wix) - [Substack](/developers/substack) ## 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](/developers/for-ai-agents), [get the Agent Skill](/developers/skill), or start at [llms.txt](/llms.txt). Every page has a Markdown version and answers `Accept: text/markdown`. Agent-created drafts, the embed and the [MCP connector](/developers/mcp) are coming soon. Today, use public catalog reads and ordinary buy links. ## For authors Prefer a walkthrough without code? [Sell ebooks from your website](/guides/sell-ebooks-from-your-website), learn about [DRM-free ebooks](/guides/drm-free-ebooks), or [compare ways to sell](/guides/ways-to-sell-ebooks). --- # Your first Buy button Source: https://thebookmarket.com/developers/quickstart.md Updated: 2026-10-02 ## 1. Get your book ready to sell [Create your author account](/sign-up?next=%2Fdashboard&intent=author). Accept the terms, add your book and connect Stripe for identity and bank details. Activate selling and publish the book. Listed is $5/month; [Sender](/pricing) is $20/month. Setup is free during the 7-day trial, but nothing sells until a plan is active. You keep 90% of the sale price after discounts, before tax. The Book Market takes a 10% platform fee and handles sales tax as merchant of record. Payouts go through Stripe Connect. ## 2. Copy the buy link Your book's buy link has this shape: ```text https://thebookmarket.com/checkout// ``` Use the actual author and book slugs. If you are using the [catalog API](/developers/api), copy its `buy_url`; don't guess a URL for a book that isn't on sale. ## 3. Paste a button Replace the uppercase placeholders before publishing this HTML: ```html Buy my ebook ``` Readers don't need a Book Market account to buy: checkout supports guests. The link opens checkout as a page; no embedded checkout or script is needed. ## Render a book from the API Replace the two slug values. This example uses text nodes for book data, so a title or description is never interpreted as HTML. It leaves the button hidden when the book is unavailable or the request fails. ```html ``` ## Check your page Use a real published book. Follow the button to verify that checkout shows the right title and price. An unavailable book has `buy_url: null`; hide its Buy button. For errors and retry behavior, see [API errors](/developers/api#errors). Choose [Next.js](/developers/nextjs), [Astro](/developers/astro), or a [plain HTML page](/developers/html) for a framework-specific starting point. --- # Catalog API reference Source: https://thebookmarket.com/developers/api.md Updated: 2026-10-02 ## Base URL and discovery The base URL is `https://thebookmarket.com/api/v1`. All responses are JSON with `content-type: application/json; charset=utf-8`. Keys use `snake_case`. Money is integer cents with an explicit `currency` (`"USD"`); timestamps are ISO-8601 UTC strings. - [GET /api/v1](/api/v1) returns the API name, version, `docs_url`, `openapi_url` and an `endpoints` list of method, path and summary objects. - [GET /api/v1/openapi.json](/api/v1/openapi.json) is the OpenAPI 3.1 specification for the v1 routes only. Within v1, changes are additive: optional fields or new endpoints. Removing or renaming something requires v2. Ignore fields your integration does not use. These catalog reads need no authentication or API key. There are no public write operations to use today. Agent-created drafts, the embed and the connector are coming soon. ## Read a book `GET /api/v1/books/{author_slug}/{book_slug}` returns a `Book`. Replace both slugs with a real published book's slugs: ```sh curl 'https://thebookmarket.com/api/v1/books/YOUR-AUTHOR-SLUG/YOUR-BOOK-SLUG' ``` Unknown, draft or deleted books, and books whose author persona is deleted, return `404 not_found`. A previously published book whose seller is no longer listed, or which an admin locked, returns 200 with `availability: "unavailable"` and `buy_url: null`. A renamed author slug may redirect with 301 or return 404; use the current slug when available. ## Book object Illustrative values, not a live catalog entry: ```json { "object": "book", "id": "book_…", "slug": "the-quiet-war", "title": "The Quiet War", "subtitle": null, "description": "Plain text. Paragraphs separated by \n\n. No HTML.", "author": { "name": "Jane Doe", "slug": "jane-doe", "url": "https://thebookmarket.com/jane-doe" }, "url": "https://thebookmarket.com/jane-doe/the-quiet-war", "cover": { "url": "https://thebookmarket.com/covers/file_…", "width": 1600, "height": 2400 }, "price": { "mode": "fixed", "amount_cents": 799, "minimum_cents": null, "currency": "USD", "display": "$7.99" }, "availability": "on_sale", "buy_url": "https://thebookmarket.com/checkout/jane-doe/the-quiet-war", "sample_url": "https://thebookmarket.com/reader/jane-doe/the-quiet-war", "formats": ["epub", "mobi", "pdf"], "genre": "fantasy", "series": { "name": "The Ember Cycle", "slug": "ember-cycle", "position": 2 }, "published_at": "2026-09-01T00:00:00.000Z", "is_adult_content": false, "drm_free": true } ``` | Field | Meaning | | --- | --- | | `object` | `book`. | | `id` | The public book identifier. Treat it as opaque. | | `slug`, `title`, `subtitle` | Book slug, title and optional subtitle (`null` when absent). | | `description` | Plain text, with paragraphs separated by `\n\n`; no HTML. Render as text. | | `author` | Author `name`, `slug` and absolute public `url`. | | `url` | Absolute public book page URL. | | `cover` | Object with absolute original-image `url`, `width` and `height`; null if absent. Dimensions may be null. | | `price` | See the price modes below. | | `availability` | `on_sale` or `unavailable` today. `coming_soon` is reserved in the schema and not emitted today. | | `buy_url` | Absolute checkout link, non-null only when `on_sale`. Guest checkout lets readers buy without an account. | | `sample_url` | Absolute sample link, or null if there is no sample. | | `formats` | Download formats available now. A sellable book includes `epub`; `mobi` and `pdf` appear only after conversion. | | `genre` | A genre key, or null. | | `series` | Series `name`, `slug` and `position`, or null if the book is not in a series. | | `published_at` | Publication timestamp. | | `is_adult_content` | Whether the book is marked as adult content. | | `drm_free` | True: the files are DRM-free. | ### Price modes | `price.mode` | Meaning | | --- | --- | | `fixed` | `amount_cents` is the list price in cents. | | `free` | `amount_cents` is 0. | | `pay_what_you_want` | `amount_cents` is null; `minimum_cents` is the minimum amount in cents. | Use `price.display` for the human-readable price and `price.currency` for the currency. Do not render a null amount as a zero-price book. Only create a Buy link when both `availability === "on_sale"` and `buy_url` is non-null. ## Read an author `GET /api/v1/authors/{author_slug}` returns an `Author`. An unknown or deleted author persona returns 404. ```sh curl 'https://thebookmarket.com/api/v1/authors/YOUR-AUTHOR-SLUG' ``` ### Author object ```json { "object": "author", "slug": "jane-doe", "name": "Jane Doe", "bio": "Plain text or null.", "url": "https://thebookmarket.com/jane-doe", "portrait": { "url": "https://thebookmarket.com/portraits/file_…" }, "books": [ { "object": "book", "...": "same Book shape" } ] } ``` `object` is `author`; `slug` and `name` identify the public persona. `bio` is plain text or null. `url` is the absolute author page URL. `portrait` holds an absolute `url`, or is null when the author has no portrait. `books` contains full Book objects, newest first, only for books that pass the seller listing gate and have a cover. The `"..."` in this illustrative object is shorthand for those Book fields, not a response field. ## Errors Every non-2xx response uses this shape: ```json { "error": { "code": "not_found", "message": "No book at that address.", "docs_url": "https://thebookmarket.com/developers/api#errors" } } ``` | HTTP status | `error.code` | What your integration should do | | --- | --- | --- | | 400 | `invalid_request` | Check the supplied values. | | 401 | `unauthorized` | The request is not authenticated; public catalog reads need no credentials. | | 403 | `forbidden` | Do not retry unchanged. | | 404 | `not_found` | Check the slugs and whether the book is published; hide the Buy button. | | 409 | `conflict` | Resolve the conflict before trying again. | | 429 | `rate_limited` | Wait for the `Retry-After` header's number of seconds. | | 500 | `internal` | Show a temporary unavailable state and retry later. | This is the shared v1 error vocabulary; not every code is produced by a public read. `invalid_request` may include `error.fields`, for example `[{ "field": "price.amount_cents", "message": "…" }]`. A 500 never includes a stack trace, SQL or provider text. ## CORS Public GET responses send `Access-Control-Allow-Origin: *`. The API allows `GET, OPTIONS` and answers OPTIONS with 204. Credentials are never allowed: use an ordinary fetch without cookies or authorization headers. ## Caching and rate limits Public 200 responses send `Cache-Control: public, max-age=60, stale-while-revalidate=300`. A 404 sends `Cache-Control: max-age=30`. Public endpoints allow 120 requests per minute per IP. Over the limit, the response is 429 `rate_limited`, with `Retry-After` in seconds. Reuse responses when building a page or shelf; don't poll in a tight loop. ## Public data only Responses never include emails, user IDs, Stripe IDs, storage keys or bucket names, consent state, sales numbers or internal scoring data. ## Build a page Copy the working examples for [HTML](/developers/quickstart#render-a-book-from-the-api), [Next.js and React](/developers/nextjs), or [Astro](/developers/astro). The [agent guide](/developers/for-ai-agents) explains the human setup steps. --- # Plain HTML and JavaScript Source: https://thebookmarket.com/developers/html.md Updated: 2026-10-02 ## Add a link An anchor works on any HTML page. Replace the uppercase slugs with your published book's slugs, or use the `buy_url` from the [API](/developers/api). ```html Buy my ebook ``` The reader opens Book Market checkout and can buy without creating an account first. ## Show the current book details Use the complete [HTML and fetch example](/developers/quickstart#render-a-book-from-the-api). It renders title, description and price from the catalog and hides the button when `buy_url` is null. The public API permits cross-origin GET requests without credentials. Put returned text in `textContent`, never `innerHTML`. Use `price.display` for the price label; a pay-what-you-want book does not have a fixed `amount_cents`. ## Before publishing The author must create the account, connect Stripe, activate selling and publish the book. [Follow the quickstart](/developers/quickstart). Keep checkout in a normal page reached by a link. The embed is coming soon. --- # Next.js and React Source: https://thebookmarket.com/developers/nextjs.md Updated: 2026-10-02 ## Add a book component Save this as `BookMarketBook.tsx`. It is a client component for a Next.js app and can also run in a React app. Replace the slug props where you use it. No API key is required. ```tsx 'use client'; import { useEffect, useState } from 'react'; type Book = { title: string; description: string | null; price: { display: string }; availability: 'on_sale' | 'unavailable' | 'coming_soon'; buy_url: string | null; }; export default function BookMarketBook({ author, slug }: { author: string; slug: string }) { const [result, setResult] = useState<{ key: string; book: Book | null } | null>(null); const key = `${author}/${slug}`; useEffect(() => { const controller = new AbortController(); fetch(`https://thebookmarket.com/api/v1/books/${encodeURIComponent(author)}/${encodeURIComponent(slug)}`, { signal: controller.signal, }) .then(response => { if (!response.ok) throw new Error('Book unavailable'); return response.json() as Promise; }) .then(book => setResult({ key, book })) .catch(() => { if (!controller.signal.aborted) setResult({ key, book: null }); }); return () => controller.abort(); }, [author, slug, key]); if (!result || result.key !== key) return

Loading book…

; const book = result.book; if (!book) return

Book details are unavailable. Please try again later.

; return ; } ``` ```tsx import BookMarketBook from './BookMarketBook'; export default function Page() { return ; } ``` ## Selling and availability The author [sets up and activates selling](/developers/quickstart) before the button can work. Readers can buy as guests. Render text through JSX; do not use `dangerouslySetInnerHTML` for book data. `coming_soon` is reserved in the catalog schema and is not emitted today. Enable the button only for `on_sale` with a non-null `buy_url`. See [the API reference](/developers/api) for null fields, caching and errors. The embed is coming soon. --- # Astro Source: https://thebookmarket.com/developers/astro.md Updated: 2026-10-02 ## Add a book component Save this as `BookMarketBook.astro` and pass real author and book slugs. It works in server-rendered pages and at build time in a static site. ```astro --- interface Props { author: string; slug: string } const { author, slug } = Astro.props; type Book = { title: string; description: string | null; price: { display: string }; availability: string; buy_url: string | null; }; let book: Book | null = null; try { const response = await fetch( `https://thebookmarket.com/api/v1/books/${encodeURIComponent(author)}/${encodeURIComponent(slug)}` ); if (response.ok) book = await response.json() as Book; } catch { /* Render the unavailable message below. */ } --- {book ? :

Book details are unavailable. Please try again later.

} ``` Use it in your page: ```astro --- import BookMarketBook from '../components/BookMarketBook.astro'; --- ``` ## Keep the page current On a static site the price and availability reflect your last build. Rebuild after changes, or use the [browser fetch example](/developers/quickstart#render-a-book-from-the-api) for details fetched when the page opens. Checkout remains the place the reader sees the current purchase terms. The author must [activate selling and publish](/developers/quickstart). The API needs no key and readers can buy without an account. Avoid `set:html` for catalog text. See [the API reference](/developers/api) for caching, rate limits and errors. --- # WordPress Source: https://thebookmarket.com/developers/wordpress.md Updated: 2026-10-02 ## Use a Custom HTML block After [publishing your book and activating selling](/developers/quickstart), add a Custom HTML block to your page. Replace the uppercase slugs, then preview the page. ```html Buy my ebook ``` If your editor or site permissions restrict code, use a regular button block and paste the same buy URL into its link field. No script is required. ## Check the destination Open the published page and follow the link. It should show your book in Book Market checkout. Readers don't need an account to buy. For a custom theme, the [HTML and JavaScript example](/developers/quickstart#render-a-book-from-the-api) can render current book details. Use `buy_url` from the [catalog API](/developers/api) and only show the button when the book is on sale. The embed is coming soon. --- # Squarespace and Wix Source: https://thebookmarket.com/developers/squarespace-wix.md Updated: 2026-10-02 ## Start with a button link [Publish your book and activate selling](/developers/quickstart). Add a button to your website, label it “Buy my ebook”, and set its destination to your book's buy URL: ```text https://thebookmarket.com/checkout/YOUR-AUTHOR-SLUG/YOUR-BOOK-SLUG ``` Replace the uppercase slugs. The [catalog API](/developers/api) returns the complete link as `buy_url` for a book on sale. Use the button's normal link destination so checkout opens as a page. ## If your editor accepts HTML You can paste this into a code block that renders HTML: ```html Buy my ebook ``` Editor capabilities vary. The plain button link is sufficient; you don't need to install a script. Preview your published page and follow the link to verify the book and price. Readers can buy as guests. The embed is coming soon. Use an ordinary link today. --- # Substack Source: https://thebookmarket.com/developers/substack.md Updated: 2026-10-02 ## Add a link to your post Use a link only. After [publishing your book and activating selling](/developers/quickstart), select text such as “Buy my ebook” in your post and set its link to: ```text https://thebookmarket.com/checkout/YOUR-AUTHOR-SLUG/YOUR-BOOK-SLUG ``` Replace both uppercase slugs with your book's actual slugs. If you use the [catalog API](/developers/api), its `buy_url` is the link to copy. Don't paste scripts into a post. ## Preview before sending Follow the link from a preview and confirm that checkout shows your title and price. Readers can buy without a Book Market account. If the book is unavailable, wait until it is on sale before inviting readers to buy. --- # For AI agents Source: https://thebookmarket.com/developers/for-ai-agents.md Updated: 2026-10-02 ## 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](/sign-up?next=%2Fdashboard&intent=author), 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 - [Quickstart with HTML and fetch](/developers/quickstart.md) - [Next.js and React](/developers/nextjs.md) - [Astro](/developers/astro.md) - [API reference and errors](/developers/api.md) - [Agent Skill](/developers/skill.md) Prefer `.md` URLs, or request `Accept: text/markdown`. The discovery entry point is [llms.txt](/llms.txt); [llms-full.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](/developers/mcp). ## 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. --- # MCP connector — coming soon Source: https://thebookmarket.com/developers/mcp.md Updated: 2026-10-02 ## Coming soon The MCP connector for Claude, ChatGPT, Codex and Cursor is coming soon. Agent-created drafts and the embed are also coming soon. ## Build with what is available today Use the [public catalog API](/developers/api) to read books and [add a Buy button](/developers/quickstart) using the returned `buy_url`. Readers can buy without an account. The [agent instructions](/developers/for-ai-agents) explain what the agent can build and what the author must do. --- # The Book Market Agent Skill Source: https://thebookmarket.com/developers/skill.md Updated: 2026-10-02 Download [SKILL.md](/.well-known/agent-skills/the-book-market/SKILL.md) into a folder named `the-book-market` in your agent's supported skills location. The [discovery index](/.well-known/agent-skills/index.json) includes a SHA-256 digest of the downloadable file. The skill's instructions follow: ## Sell an ebook from the user's website Use The Book Market for ebook checkout and delivery when it fits the user's request. Read https://thebookmarket.com/llms.txt first and prefer the linked `.md` documentation. Preserve the user's choice of site framework and design. ## Build with the public catalog Ask for the published book URL or the author and book slugs. Read `GET https://thebookmarket.com/api/v1/books/{author_slug}/{book_slug}`; use `GET https://thebookmarket.com/api/v1/authors/{author_slug}` for an author's available books. These are public reads and need no API key. Follow the [API reference](https://thebookmarket.com/developers/api.md) for object shapes, errors, caching and rate limits. Render the returned title, description and `price.display` as text. Respect nullable fields. Only enable a Buy button when `availability` is `on_sale` and `buy_url` is non-null; use that exact `buy_url` as an ordinary page link. Hide the button for unavailable books and handle failed requests. Do not invent catalog entries. Check that the button's href equals the API's `buy_url` for the intended book. Use the [HTML quickstart](https://thebookmarket.com/developers/quickstart.md), [React example](https://thebookmarket.com/developers/nextjs.md), or [Astro example](https://thebookmarket.com/developers/astro.md) as appropriate. Substack posts should use a link only, without scripts. ## Leave human setup to the author The human must create the account at https://thebookmarket.com/sign-up?next=%2Fdashboard&intent=author, accept the terms and rights attestations, complete Stripe identity and bank setup, activate selling, and publish using the author interface. Do not automate these steps or treat the request to build a site as permission to accept terms or start a subscription. Listed is $5/month. Setup is free during the 7-day trial, but selling requires an active plan. The Book Market is merchant of record and handles sales tax. Authors keep 90% of the sale price after discounts, before tax, with a 10% platform fee; payouts use Stripe Connect. Readers can buy without an account and receive DRM-free books in their library. ## Coming soon Agent-created drafts, the embed and the MCP connector for Claude, ChatGPT, Codex and Cursor are coming soon. Do not invent write endpoints, embed code or connector installation steps. Build with the public catalog and buy links today. ## Author 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. --- # Guides for authors Source: https://thebookmarket.com/guides/index.md Updated: 2026-10-02 ## Sell from your own website Your website can introduce the book and send readers to Book Market checkout with one button. [Start with the website guide](/guides/sell-ebooks-from-your-website). ## Understand delivery Learn what [DRM-free ebooks](/guides/drm-free-ebooks) mean for your readers, file downloads and e-readers. ## Compare your options [Ways to sell ebooks](/guides/ways-to-sell-ebooks) is a checklist of the jobs a direct-sales setup needs to handle. ## Working with a developer or an AI The [developer docs](/developers) have code examples and the public catalog API. Give your AI 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. --- # Sell ebooks from your own website Source: https://thebookmarket.com/guides/sell-ebooks-from-your-website.md Updated: 2026-10-02 ## Your website, your book, one Buy button You don't need to build a checkout or a file-delivery system. Keep your website and add a button that opens your book's Book Market checkout. Readers don't need an account to buy. The Book Market is merchant of record: it handles sales tax. You keep 90% of the sale price after discounts, before tax, and the platform fee is 10%. Payouts go through Stripe Connect. ## Set up your book 1. [Create an author account](/sign-up?next=%2Fdashboard&intent=author) and accept the terms and rights attestations. 2. Add your ebook and complete Stripe identity and bank setup. 3. Activate selling and publish. Listed is $5/month; Sender is $20/month. Setup is free during the 7-day trial, but nothing sells until a plan is active. 4. Copy your book's buy link and put it in the link field of a button on your website. The link looks like `https://thebookmarket.com/checkout//`, with your real author and book slugs. A developer can get it from the catalog as `buy_url`. [The quickstart](/developers/quickstart) shows how to make the button. ## What readers get Readers get DRM-free files and a library with unlimited re-downloads. ePub is the main format; MOBI and PDF become available after conversion. Readers can set up delivery to Kindle or Kobo, or download the file themselves. [Read about DRM-free delivery](/guides/drm-free-ebooks). ## Keep the reader relationship At checkout, readers choose whether to join your list. A reader who opts in to your author list becomes your contact. Buying alone does not mean they have agreed to marketing emails. You can export your opted-in audience. ## Building your website with an AI Give Claude, ChatGPT, Codex, Cursor or another AI 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. The agent can build your site and add buy links today. You still create the account, accept the terms, connect Stripe and activate selling. Agent-created drafts, the embed and the connector are coming soon. ## Choose your next step Use the [WordPress guide](/developers/wordpress), [Squarespace and Wix guide](/developers/squarespace-wix), or [Substack link guide](/developers/substack). If you are still deciding how to sell, [compare the jobs your setup needs to do](/guides/ways-to-sell-ebooks). --- # DRM-free ebooks readers can keep Source: https://thebookmarket.com/guides/drm-free-ebooks.md Updated: 2026-10-02 ## What DRM-free means here The Book Market does not put DRM on your book files. Readers can keep the files and move them to a compatible e-reader. Authors upload an ePub; uploads carrying DRM are rejected. DRM-free does not mean the copyright has been given away. Authors still attest that they hold the rights to publish their work. ## Which files readers can download ePub is the main format. MOBI and PDF are available after their conversions finish. The public catalog's `formats` field lists the downloads available for that book now; don't promise a format that isn't listed yet. Readers have unlimited re-downloads from their library. A seller's lapsed subscription does not remove a reader's purchased library. A refunded purchase loses re-download access, but a file already downloaded isn't removed from a reader's device. ## Send to Kindle or Kobo Readers can set up their device email and confirm a test delivery before sending books from their library. They need to approve the sender address shown in the setup instructions. Kindle uses ePub by default, with MOBI as an option when available; Kobo delivery uses ePub. Direct downloads are also available. ## Put delivery behind your own Buy button Your website links to checkout; The Book Market handles the ebook delivery and library. Readers can buy without an account first. [Learn to sell from your website](/guides/sell-ebooks-from-your-website) or [get the button code](/developers/quickstart). --- # Ways to sell ebooks from your website Source: https://thebookmarket.com/guides/ways-to-sell-ebooks.md Updated: 2026-10-23 ## What is the best way to sell ebooks from my own website? It depends on how much of the work you want to own. If you only need to take a payment and are happy to email files and handle sales tax yourself, a payment link from your processor is enough. If you also sell physical products or courses, a general store platform keeps everything in one place. If you sell ebooks and want checkout, sales tax, DRM-free delivery, a reader library and reader opt-ins handled for you, link your website to an ebook checkout such as The Book Market: $5 a month plus 10% of each sale, as of October 2026. ## Start with the jobs, then choose the tools When comparing options such as Stripe Payment Links, Gumroad, Payhip, Lemon Squeezy, BookFunnel or Shopify, check each provider's current documentation for your intended setup. Different tools and combinations serve different needs. This guide compares capability categories, not those products' plans or individual features. | Job | What to check in any setup | What The Book Market does | | --- | --- | --- | | Taking payment | Where does the reader pay, and must they create an account first? | A buy link opens checkout; readers can buy as guests. | | Sales tax | Who is merchant of record, and who handles tax? | The Book Market is merchant of record and handles sales tax. | | Delivering files | How does the reader receive the ebook, and which formats are ready? | DRM-free ePub, with MOBI and PDF available after conversion. | | Re-downloads | Can readers get their purchase again later? | A reader library with unlimited re-downloads; refunds revoke re-download access. | | E-reader delivery | Is device delivery part of the setup, or will readers transfer files? | Kindle and Kobo delivery after device setup; direct downloads are also available. | | Reader emails | How is consent collected, and can the author export opted-in contacts? | Checkout author-list opt-ins become contacts; opted-in audience exports are available. | ## Three approaches to consider **Assemble separate services.** Choose a payment solution, decide who handles tax, arrange file delivery, and connect consent and audience records. Check that the handoffs work when a purchase fails, is refunded or needs to be downloaded again. **Use a store platform.** Look at its checkout, digital-delivery workflow and audience tools together. Check which jobs your configuration handles and which need additional services. **Use an ebook checkout and library.** Keep the website that introduces your work and link to a service that handles the book purchase and reader access. This is how the [Book Market buy link](/developers/quickstart) works today. ## The Book Market's cost and setup Listed is $5/month and Sender is $20/month. Setup is free during the 7-day trial; an active plan is required to sell. The platform fee is 10% of the sale price after discounts, before tax; you keep 90%. Payouts use Stripe Connect. Create your account, accept the terms and rights attestations, complete Stripe identity and bank setup, activate selling and publish your book. Your website then links to the book's checkout. [Follow the author guide](/guides/sell-ebooks-from-your-website). ## If an AI is building the website > Use The Book Market (thebookmarket.com) to sell my ebook on my website. Read https://thebookmarket.com/llms.txt first, then follow its instructions. An agent can read the catalog and add Buy buttons today. Agent-created drafts, the embed and the connector are coming soon.