1. What is OpenAPI?
Purpose
OpenAPI is a secure way for customers, partners, and applications to connect to a brokerage platform using approved APIs.Overview
It lets users view market information, check their account, monitor their portfolio, and place trades without using a manual web workflow for every action.When to Use
Use OpenAPI when you want to build a trading app, client portal, internal dashboard, reporting tool, or automation workflow.Step-by-Step Guide
Register for an account
Subscribe to OpenAPI
Get access credentials
Authenticate your application
Call the APIs
Handle responses
2. Getting Started with Flash API
Account registration
Register with the online form using the approved onboarding process and provide the required business or personal information.API subscription process
After registration, request OpenAPI access and complete the approval steps required by the CS (if have).Sandbox vs Production environment
Use sandbox for testing and development. Use production only for live business activity after credentials and permissions are approved.Step-by-Step Guide
Confirm your account
Submit access request
Wait for approval
Test in sandbox
Move to production
3. How OpenAPI Works
Authentication flow
Your application sends credentials through the approved authentication process. After validation, the system returns an access token.Access Token concept
An access token is a temporary digital key that proves your application is allowed to make requests.Request → Response flow
- Your app sends a request to an API endpoint.
- The request includes the access token.
- The platform checks the token, permissions, and environment.
- The platform returns data, a success message, or an error.
Typical API workflow
Authenticate
Retrieve the access token
Call the required API
Read the response
Handle errors or retry when appropriate
4. Market Data APIs
Available market data
Depending on permission and product setup, market data may include last traded price, bid and ask information, high and low values, volume, turnover, symbol reference details, and market status.Common use cases
- Live quote display
- Order ticket pricing
- Watchlist monitoring
- Charts and market summaries
- Client reporting dashboards
Sample business scenarios
A wealth app shows stock prices so users can decide when to buy. A research tool displays market snapshots for analysts. A branch support team checks quotes while speaking with a customer.Step-by-Step Guide
Authenticate your application
Choose the market data endpoint you need
Send the request with a valid token
Display the response in a user-friendly format
Refresh data based on your application needs and rate limits
5. Account & Portfolio APIs
Account information
Account information may include account number, account type, currency, cash balance, buying power, and account status.Asset information
Asset information may include security code, symbol, name, exchange, and current valuation details.Position information
Position information usually shows quantity, average price, market value, unrealized profit or loss, and available balance.Portfolio monitoring
Portfolio monitoring helps users track exposure, concentration, performance, and changes over time.Step-by-Step Guide
Authenticate the user session
Call the account information endpoint
Retrieve asset and position data
Summarize the information in a portfolio view
Refresh the data regularly for accurate monitoring
6. Trading APIs
Place order
A place order request starts a new trade instruction. Your application should validate the symbol, quantity, side, and product type before submission.Amend order
An amend order request updates an existing order, such as changing price or quantity, if the order is still eligible for modification.Cancel order
A cancel order request removes an active order if it has not already been fully executed.Order status tracking
Order status tracking lets users follow the progress of an order through states such as pending, accepted, partially filled, filled, canceled, or rejected.Step-by-Step Guide
Confirm trading permissions
Build the order request
Submit the order
Save the order reference
Check order status
7. Common API Workflow Examples
Login → Get Market Data → Place Order
Authenticate the user
Fetch the latest market price
Present the quote in the order ticket
Submit the buy or sell order
Track the response and order status
Login → Retrieve Portfolio → Monitor Positions
Authenticate the user
Retrieve account details
Load current positions and asset values
Display the portfolio dashboard
Refresh data to monitor changes over time
8. API Limits & Best Practices
Rate limits
Rate limits control how many requests your application can send in a given time period. They protect the system and help keep service stable.Security recommendations
- Keep credentials secret
- Use the correct environment
- Store access tokens securely
- Remove unnecessary permissions
- Log errors without exposing sensitive data
Error handling guidance
Check the error message, confirm your token, review permissions, and retry only when it is safe to do so.Step-by-Step Guide
Monitor request frequency
Use the correct authentication flow
Retry only when the error is temporary
Avoid exposing secrets in logs or screens
Validate trading data before submitting requests
9. Frequently Asked Questions
General issues
Registration issues
Registration issues
Authentication issues
Authentication issues
Trading permissions
Trading permissions
Environment access
Environment access
Specific questions
I cannot register. What should I check first?
I cannot register. What should I check first?
Why am I getting authentication errors?
Why am I getting authentication errors?
Why can I view data but not trade?
Why can I view data but not trade?
Why does sandbox work but production fails?
Why does sandbox work but production fails?
