HTTP API
The raw spec is /openapi.json (OpenAPI 3.0.3). Call these routes on https://promptiful.ai. This docs host only serves the document.
Routes
| Method | Path | Returns |
|---|---|---|
GET | /api/health | ok, library (spec count), and stage. No authentication. |
GET | /api/market | Token-level catalog. Query: level (free, go, plus, pro, master), category, q. Each listing is id, title, category, level, token estimate, tier, up to six job phrases, and locked. No prompt bodies. |
An unknown level is ignored. An unknown category matches nothing. A site session cookie, if a browser sends one, only changes locked and the entitlement summary. Do not send that cookie from another client.
Not in this spec
There is no general public REST API. These existing routes stay out:
/api/searchand/api/prompts/:id— website JSON. A Google session is required. Paid bodies also need an active Stripe entitlement.- Auth, billing, admin, personal library, push, and LinkedIn.
- MCP. That protocol is
https://promptiful.ai/mcp, documented on MCP.