mahastrategies-com Books API

Purchased-book entitlement checks for the local MCP bridge.

Operations 49

GET /api/v1/books/the-maha-principle/epub The Maha Principle purchase metadata #
POST /api/v1/books/the-maha-principle/epub The Maha Principle EPUB + print PDF — 10 USDC #
POST /api/v1/books/the-maha-principle/epub/retrieve Recover the original paid ebook bundle without repayment #
GET /api/v1/books/the-orbital-mind/epub The Orbital Mind purchase metadata #
POST /api/v1/books/the-orbital-mind/epub The Orbital Mind EPUB + print PDF — 10 USDC #
POST /api/v1/books/the-orbital-mind/epub/retrieve Recover the original paid ebook bundle without repayment #
GET /api/v1/books/the-maha-principle/bundle The Maha Principle — EPUB + PDF bundle contract #
POST /api/v1/books/the-maha-principle/bundle The Maha Principle — EPUB + PDF bundle #
POST /api/v1/books/the-maha-principle/bundle/retrieve Recover one original book-file chunk without payment #
GET /api/v1/books/the-orbital-mind/bundle The Orbital Mind — EPUB + PDF bundle contract #
POST /api/v1/books/the-orbital-mind/bundle The Orbital Mind — EPUB + PDF bundle #
POST /api/v1/books/the-orbital-mind/bundle/retrieve Recover one original book-file chunk without payment #
GET /api/v1/books/the-synthetic-self/bundle The Synthetic Self — EPUB + PDF bundle contract #
POST /api/v1/books/the-synthetic-self/bundle The Synthetic Self — EPUB + PDF bundle #
POST /api/v1/books/the-synthetic-self/bundle/retrieve Recover one original book-file chunk without payment #
GET /api/v1/books/the-unfinished-species/bundle The Unfinished Species — EPUB + PDF bundle contract #
POST /api/v1/books/the-unfinished-species/bundle The Unfinished Species — EPUB + PDF bundle #
POST /api/v1/books/the-unfinished-species/bundle/retrieve Recover one original book-file chunk without payment #
GET /api/v1/books/the-imagined-life/bundle The Imagined Life — EPUB + PDF bundle contract #
POST /api/v1/books/the-imagined-life/bundle The Imagined Life — EPUB + PDF bundle #
POST /api/v1/books/the-imagined-life/bundle/retrieve Recover one original book-file chunk without payment #
GET /api/v1/books/the-volcanic-engine/bundle The Volcanic Engine — EPUB + PDF bundle contract #
POST /api/v1/books/the-volcanic-engine/bundle The Volcanic Engine — EPUB + PDF bundle #
POST /api/v1/books/the-volcanic-engine/bundle/retrieve Recover one original book-file chunk without payment #
GET /api/v1/books/the-borrowed-light/bundle The Borrowed Light — EPUB + PDF bundle contract #
POST /api/v1/books/the-borrowed-light/bundle The Borrowed Light — EPUB + PDF bundle #
POST /api/v1/books/the-borrowed-light/bundle/retrieve Recover one original book-file chunk without payment #
GET /api/v1/books/the-material-floor/bundle The Material Floor — EPUB + PDF bundle contract #
POST /api/v1/books/the-material-floor/bundle The Material Floor — EPUB + PDF bundle #
POST /api/v1/books/the-material-floor/bundle/retrieve Recover one original book-file chunk without payment #
GET /api/v1/books/the-cosmic-recursion/bundle The Cosmic Recursion — EPUB + PDF bundle contract #
POST /api/v1/books/the-cosmic-recursion/bundle The Cosmic Recursion — EPUB + PDF bundle #
POST /api/v1/books/the-cosmic-recursion/bundle/retrieve Recover one original book-file chunk without payment #
GET /api/v1/books/beyond-the-biological/bundle Beyond the Biological — EPUB + PDF bundle contract #
POST /api/v1/books/beyond-the-biological/bundle Beyond the Biological — EPUB + PDF bundle #
POST /api/v1/books/beyond-the-biological/bundle/retrieve Recover one original book-file chunk without payment #
GET /api/v1/books/the-maha-principle/section Inspect section metadata and the pinned edition digest; no manuscript text #
POST /api/v1/books/the-maha-principle/section The Maha Principle — licensed Markdown section #
GET /api/v1/books/the-orbital-mind/section Inspect section metadata and the pinned edition digest; no manuscript text #
POST /api/v1/books/the-orbital-mind/section The Orbital Mind — licensed Markdown section #
POST /api/v1/books/the-imagined-life/section Retrieve one machine-readable section of The Imagined Life #
POST /api/v1/books/the-volcanic-engine/section Retrieve one machine-readable section of The Volcanic Engine #
POST /api/v1/books/the-imagined-life/edition Retired whole-book pricing experiment #
POST /api/v1/books/the-volcanic-engine/edition Retired whole-book pricing experiment #
GET /api/books/{id}/entitlement Check whether a credential owns a book #
GET /api/books/{id}/content Fetch the structured book payload (paid) #
POST /api/books/checkout Start a book purchase #
POST /api/books/public-checkout Start a book MCP-access purchase without a prior credential #
POST /api/books/webhook Stripe book-payment webhook (Stripe calls this — you never do) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mahastrategies-com:mahastrategies-com-books-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mahastrategies-com-books-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Maha Strategies MPS Books API
  version: '0.1'
  description: 'The Maha Provenance Standard (MPS) API runs claim-level provenance audits over prose. Every factual claim in a passage is excerpted, tagged (VERIFIED, SOURCED, BOUNDARY, ILLUSTRATIVE, UNVERIFIED), and returned with a rationale and a recommended action — so agents and editors can verify before they publish.


    ## Local bridge (CLI)


    Install the open-source local bridge and point Claude Code, Cursor, or any MCP client at it:


    ```sh

    npm install -g @mahastrategies/maha-mcp-bridge

    maha login # verify and store your credential

    maha serve # start the stdio MCP server

    ```


    Raw rows and credentials stay local; only locally-redacted context reaches the agent''s cloud model.


    ## Authentication


    Commercial endpoints use bearer credentials:


    ```

    Authorization: Bearer mhaic_your_credential_here

    ```


    Credentials are shown **exactly once** at purchase. Store them in a secret manager; never commit them, log them, or place them in URLs. Each credential is scoped to the MPS audit capability only — it cannot touch any other service. Lost credentials cannot be recovered, only replaced.


    The free preflight endpoint (`POST /api/audit`) needs no credential and is limited per visitor per day.


    ## The credit system


    Paid audits are prepaid. Each successful audit consumes one `mps_audit_invocation` credit; failed audits are refunded automatically in the same ledger.


    When a credential runs out of credits, the API responds with **`402 Payment Required`**:


    ```json

    {

    "error": { "code": "payment_required", "message": "This prepaid credential has no audit credits remaining." },

    "purchase": { "href": "/mps/audit-access", "checkoutEndpoint": "/api/mps-credits/checkout", "unit": "mps_audit_invocation" }

    }

    ```


    Treat `402` as a routine signal, not an error: follow `purchase.href` to buy another pack, or call the checkout endpoint programmatically. Balances live in an append-only double-entry ledger — every grant, consumption, refund, and manual correction is a permanent, hash-chained row.


    ## Idempotency and webhook resilience


    **Requests**: every audit takes a `clientRequestId` you choose (8–120 characters). Retrying with the same id and the same text returns the original result with `idempotentReplay: true` — never a duplicate charge. The same id with *different* text returns `409 Conflict`. Safe retry loop: keep the same id until you get a terminal status.


    **Payments**: Stripe webhooks are processed exactly once. Each event id is claimed atomically in the same database transaction that moves credits, so a redelivered webhook can never double-credit a balance — duplicates get `200 OK` with `"duplicate": true` and change nothing. A crash between claim and grant rolls both back together. You never need to reconcile double-grants; the ledger cannot express them.'
  contact:
    name: Maha Strategies
    url: https://www.mahastrategies.com/contact
servers:
- url: https://www.mahastrategies.com
tags:


# --- truncated at 32 KB (168 KB total) ---
# Full source: https://artifacts.apis.io/mahastrategies-com/openapi/mahastrategies-com-books-api-openapi.yml