MetaKit
beta
API Reference

Base URL: https://api.metakit.cloud

Rate limits

Each API key can make 120 requests per minute. The count resets at the start of every clock minute, and each key has its own count, so two keys on the same account don’t share one.

  • Every response carries X-RateLimit-Limit (120), X-RateLimit-Remaining (requests left this minute) and X-RateLimit-Reset (when the count resets, as a Unix timestamp in seconds).
  • Over the limit, requests get 429 with code rate_limited and a Retry-After header giving the seconds to wait. Requests rejected this way still count toward the limit, so wait for Retry-After instead of retrying straight away.
  • Every call to an account’s data is served by that account’s own MT5 terminal, which handles one request at a time. Polling the same data many times a second won’t get it any faster. For changes to positions and orders, use webhooks instead of polling.