← Back to home
MetaAPI Docs
Overview
MetaAPI helps you expose a local API from your own MT4 or MT5 terminal so your applications can read data and send trading requests.
What This Product Does
MetaAPI lets you connect your own MT4 or MT5 terminal and use a local API from your applications. You install the terminal package, create an auth token, verify new devices when required, and then call the local API from your client.
Web console
-> account login
-> auth token creation
-> device management
MT4 / MT5 terminal
-> local API endpoint
-> realtime events
Your application
-> local /rpc
-> local /wsWhat You Need To Do
- Put the DLL in the correct terminal libraries directory.
- Put the EA in the correct terminal experts directory.
- Attach the EA to a chart and allow DLL imports.
- Create one
auth_tokenfor each terminal you want to expose. - Approve the machine if it appears as a new device.
- Keep the terminal online so the local API stays available.
- Use that same
auth_tokenwhen calling local RPC or WebSocket.