Place your first order
Create an API key, inspect a market, submit a limit order, and cancel it safely.
Build a simple bot
Run a one-shot TypeScript bot that reads the book, places an order, and cleans it up.
Authentication
Choose API-key scopes and store credentials securely.
API reference
Review API conventions, then explore requests in the interactive reference.
Choose a path
- To make your first authenticated request, follow the Quickstart.
- To build an integration, read Authentication, API overview, and the generated API reference.
- To consume live data, start with WebSocket streams and Order book.
- To trade manually, open the PaperDrill platform.
Endpoints
Public market-data endpoints do not require authentication. Order and account reads require an API key with the appropriate scope. Creating or cancelling an order also requires a verified PaperDrill account.
Core conventions
- Use symbols in underscore form, such as
SOL_USD. - Send prices and quantities as decimal strings, not JSON numbers.
- Read each market’s precision before constructing an order.
- Treat every order response as authoritative because an order can fill immediately.
- Reconnect and resubscribe after a WebSocket interruption.