Overview Last updated: 2024-01-10 The ORCA API offers REST-like HTTP APIs for creating a comprehensive stock market investment and trading platform. It supports real-time order execution (equities, commodities, and derivatives), user portfolio management, and live market data streaming via WebSockets. Inputs use form-encoded parameters, and most responses are in JSON format. HTTP codes indicate success or errors, accompanied by JSON data. Note that API endpoints lack cross-site request enablement, requiring a whitelist from ORCA for direct browser calls. The ORCA API is an advanced platform for developing trading and investment services. It includes REST-like APIs for seamless integration with the trading platform. Users can execute orders in real-time, modify portfolios, access live market data, and more, leveraging a swift API collection. Resource-based URLs accept JSON or form-encoded requests, consistently returning responses in JSON. Standard HTTP codes, verbs, and authentication ensure robust API interaction. Start your application development on the ORCA platform with a comprehensive set of REST APIs, providing essential data for an extensive investment and trading platform. Empower users to execute real-time orders, manage portfolios efficiently, stream live market data via WebSockets, and more, in a user-friendly and easily comprehensible manner. Design’s in the New API: Define the new endpoints, specifying the URL structure and HTTP methods (GET, POST, PUT, DELETE, etc.). Plan the request and response payloads, including data formats (JSON). Consider authentication and authorization mechanisms (JWT). Common HTTP error codes Error Code Description 400 Incomplete or invalid request parameters or values 401 Unauthorized access 200 Operation completed successfully. 403 Access forbidden (user is blocked or Authorization is absent). 500 An unexpected error occurred. 405 Requested method is not permitted. 404 The endpoint URL is not provided. 429 Exceeded the API request limit (rate limiting) 504 Gateway timeout: The API is currently inaccessible 503 Service currently unavailable