Overview
Every endpoint lives under one base URL and returns JSON:
https://api.metakit.cloudAuthentication
Create an API key and send it as a Bearer token.
Accounts
Connect MT5 accounts and read their live state.
Trading
Open, modify and close positions and orders.
Webhooks
Get events pushed to your server instead of polling.
Conventions
- Requests and responses are JSON. Send
Content-Type: application/jsonwith every request body. - Every request needs an API key: see Authentication.
- List endpoints are paginated the same way: see Pagination.
- Each key can make 120 requests per minute: see Rate limits.
- Errors return a non-2xx status with a body of the form
{ "error": { "code": "…", "message": "…" } }.
For AI agents
This whole reference is also available as one plain-text file, written for LLMs and coding agents: llms.txt.