The docs as text
The quickest way to give an AI tool these docs is to hand it one of these URLs. There is nothing to install.
The menu at the top of each page can also copy the page as Markdown or open it in an AI assistant.
OpenAPI
The whole API is described in one OpenAPI 3.1 file:MCP server
If your tool supports MCP, it can search these docs itself instead of reading them all up front. The server is at:- Claude
- Claude Code
- Cursor
- VS Code
Open Settings, then Connectors, select Add custom connector, and enter
https://docs.coinstack.net/mcp.What to tell an agent
If you are writing your own prompt, these are the points integrations most often get wrong:- The base URL is
https://coinstack.net/api/v1. Authenticate withAuthorization: Bearer sk_...from a server, never from a browser. - Every response is
{"success": true, "response": {...}}or{"success": false, "response": "message"}. - Amounts are strings. Token amounts on quotes and payments are in the token’s smallest unit.
- Fulfil an order when its checkout’s
statusiscompleted, not when the customer returns tosuccess_url. - Verify the
CoinStack-Signatureheader on every webhook, using the raw request body. - The same webhook event can arrive more than once.