Overview
This guide walks you through placing your first order using the Pro API. You’ll learn to fetch market data, check your account, and execute a trade.Prerequisites: You need a Pro account and an API key with Trade scope. Contact support@daya.co to request access. See Authentication for details.
Step 1: Fetch Available Markets
First, check which markets are available. This endpoint doesn’t require authentication:Step 2: Check the Orderbook
View current market depth for your chosen pair:Step 3: Place a Limit Order
Now place an order. This requires an API key with Trade scope:Step 4: Check Your Orders
View your open orders:Step 5: Cancel an Order
Cancel an open order if needed:Order Types
| Type | Description | Required Fields |
|---|---|---|
| limit | Execute at specified price or better | price, quantity |
| market | Execute immediately at best available price | quantity |
Order Status
| Status | Description |
|---|---|
pending_settlement | Order is awaiting settlement |
new | Order has been created |
open | Order is active on the orderbook |
partially_filled | Order is partially executed |
filled | Order is completely executed |
cancelled | Order was cancelled by user |
rejected | Order was rejected by the system |
failed | Order failed to execute |
Next Steps
Markets API
Full markets and orderbook reference
Orders API
Complete order management reference