Metasyc
Metasync is a powerful, production-ready solution that provides complete programmatic access to the MetaTrader5 trading platform through a RESTful interface. Built with FastAPI for optimal performance and reliability, this API enables developers to build sophisticated trading applications, automated trading systems, and analytical tools. Key Features: - Complete Trading Functionality: Place,…
Metasyc endpoints
| Method | Endpoint | Description |
|---|---|---|
| connect | ||
| POST |
connect_connect_post /connect |
Establish a connection to the MetaTrader5 terminal. This endpoint initializes the MetaTrader5 terminal connection with optional path, timeout, and authentication parameters. It… |
| shutdown | ||
| POST |
shutdown_shutdown_post /shutdown |
Disconnect from the MetaTrader5 terminal. This endpoint properly closes the connection to the MetaTrader5 terminal. It should be called when the application is shutting down or… |
| version | ||
| GET |
get_version_version_get /version |
Retrieve version information about the MetaTrader5 terminal. This endpoint returns detailed version information including the MetaEditor version, terminal version, build number,… |
| ping | ||
| GET |
ping_ping_get /ping |
Simple health check endpoint for RapidAPI monitoring. |
| terminal_info | ||
| GET |
get_terminal_info_terminal_info_get /terminal_info |
Retrieve information about the MetaTrader5 terminal status and settings. This endpoint provides detailed information about the terminal's current state, including connection… |
| account_info | ||
| GET |
get_account_info_account_info_get /account_info |
Retrieve detailed information about the trading account. This endpoint returns account information including balance, equity, margin, and other important account details. Args:… |
| symbols | ||
| GET |
get_symbols_symbols_get /symbols |
Retrieve a list of all available trading symbols. This endpoint returns the names of all trading symbols available in the MetaTrader5 terminal, which can be used with other… |
| symbol_info | ||
| GET |
get_symbol_info_symbol_info_get /symbol_info |
Retrieve detailed information about a specific trading symbol. This endpoint provides comprehensive details about a financial instrument including trading parameters, contract… |
| symbol_select | ||
| POST |
select_symbol_symbol_select_post /symbol_select |
Add or remove a symbol in the MarketWatch window. This endpoint allows you to add a symbol to or remove a symbol from the MarketWatch window, which is required for some… |
| tick | ||
| GET |
get_tick_tick_get /tick |
Retrieve the most recent price tick for a specified symbol. This endpoint provides the latest bid, ask, and last price data for a given trading instrument, along with volume and… |
| ticks | ||
| GET |
get_ticks_ticks_get /ticks |
Retrieve historical tick data for a specified symbol and time range. This endpoint provides historical tick data including bid, ask, and last prices for a given trading… |
| ohlc | ||
| GET |
get_ohlc_ohlc_get /ohlc |
Retrieve Open, High, Low, Close (OHLC) data for a specified symbol and timeframe. This endpoint provides access to historical price bars (candlesticks) for technical analysis.… |
| order_send | ||
| POST |
send_order_order_send_post /order_send |
Execute a trading order in the MetaTrader5 terminal. This endpoint allows you to place various types of trading orders including market orders, pending orders, and more. The… |
| orders | ||
| GET |
get_orders_orders_get /orders |
Retrieve information about active orders. This endpoint allows you to get details about all active orders or a specific order if a ticket is provided. Active orders include… |
| positions | ||
| GET |
get_positions_positions_get /positions |
Retrieve information about open positions. This endpoint allows you to get details about all open positions or a specific position if a ticket is provided. Open positions are… |
| deals | ||
| GET |
get_deals_deals_get /deals |
Retrieve information about executed deals. This endpoint provides access to the history of all executed deals or specific deals filtered by various criteria. A deal represents a… |
| history_orders | ||
| GET |
get_history_orders_history_orders_get /history_orders |
Retrieve the history of orders for the current account. This endpoint provides access to historical order data, including both filled and canceled orders. You can filter the… |
| last_error | ||
| GET |
get_last_error_last_error_get /last_error |
Retrieve information about the last error that occurred in the MetaTrader5 terminal. This endpoint is useful for debugging purposes when an API call fails. It returns the error… |
| total | ||
| GET |
get_total_total_get /total |
Retrieve the count of trading-related items of a specific type. This endpoint provides a quick way to get the total count of active trading items without retrieving all the… |
| Other endpoints | ||
| GET |
get_symbols_symbols_get /symbols |
Retrieve a list of all available trading symbols. This endpoint returns the names of all trading symbols available in the MetaTrader5 terminal, which can be used with other… |
| GET |
get_account_info_account_info_get /account_info |
Retrieve detailed information about the trading account. This endpoint returns account information including balance, equity, margin, and other important account details.… |
| POST |
select_symbol_symbol_select_post /symbol_select |
Add or remove a symbol from the MarketWatch window. This endpoint allows you to control which symbols are visible in the MarketWatch window of the MetaTrader5 terminal. A symbol… |
| GET |
get_ohlc_ohlc_get /ohlc |
Retrieve Open, High, Low, Close (OHLC) data for a specified symbol and timeframe. This endpoint provides access to historical price bars (candlesticks) for technical analysis.… |
| POST |
connect_connect_post /connect |
Establish a connection to the MetaTrader5 terminal. This endpoint initializes the MetaTrader5 terminal connection with optional path, timeout, and authentication parameters. It… |
| GET |
get_history_orders_history_orders_get /history_orders |
Retrieve the history of orders for the current account. This endpoint provides access to historical order data, including both filled and canceled orders. You can filter the… |
| GET |
get_orders_orders_get /orders |
Retrieve information about active orders. This endpoint allows you to get details about all active orders or a specific order if a ticket is provided. Active orders include… |
| GET |
get_positions_positions_get /positions |
Retrieve information about open positions. This endpoint provides access to all currently open trading positions or a specific position if a ticket is provided. A position… |
| POST |
send_order_order_send_post /order_send |
Execute a trading order in the MetaTrader5 terminal. This endpoint allows you to place various types of trading orders including market orders, pending orders, and more. The… |
| GET |
get_deals_deals_get /deals |
Retrieve information about executed deals. This endpoint provides access to the history of all executed deals or specific deals filtered by various criteria. A deal represents a… |
| GET |
get_symbol_info_symbol_info_get /symbol_info |
Retrieve detailed information about a specific trading symbol. This endpoint provides comprehensive details about a financial instrument including trading parameters, contract… |
| GET |
get_tick_tick_get /tick |
Retrieve the most recent price tick for a specified symbol. This endpoint provides the latest bid, ask, and last price data for a given trading instrument, along with volume and… |
| GET |
get_ticks_ticks_get /ticks |
Retrieve historical tick data for a specified symbol and time range. This endpoint provides historical tick data including bid, ask, and last prices for a given trading… |
| GET |
get_total_total_get /total |
Retrieve the count of trading-related items of a specific type. This endpoint provides a quick way to get the total count of active trading items without retrieving all the… |
| GET |
get_last_error_last_error_get /last_error |
Retrieve information about the last error that occurred in the MetaTrader5 terminal. This endpoint is useful for debugging purposes when an API call fails. It returns the error… |
| GET |
get_version_version_get /version |
Retrieve version information about the MetaTrader5 terminal. This endpoint returns detailed version information including the MetaEditor version, terminal version, build number,… |
| POST |
shutdown_shutdown_post /shutdown |
Disconnect from the MetaTrader5 terminal. This endpoint properly closes the connection to the MetaTrader5 terminal. It should be called when the application is shutting down or… |
| GET |
get_total_total_get /total |
Retrieve the count of trading-related items of a specific type. This endpoint provides a quick way to get the total count of active trading items without retrieving all the… |
| GET |
get_version_version_get /version |
Retrieve version information about the MetaTrader5 terminal. This endpoint returns detailed version information including the MetaEditor version, terminal version, build number,… |
| POST |
shutdown_endpoint_shutdown_post /shutdown |
Disconnect from the MetaTrader5 terminal. This endpoint properly closes the connection to the MetaTrader5 terminal. It should be called when the application is shutting down or… |
| GET |
get_last_error_last_error_get /last_error |
Retrieve information about the last error that occurred in the MetaTrader5 terminal. This endpoint is useful for debugging purposes when an API call fails. It returns the error… |
| GET |
get_terminal_info_terminal_info_get /terminal_info |
Retrieve information about the MetaTrader5 terminal status and settings. This endpoint provides detailed information about the terminal's current state, including connection… |
| POST |
connect_connect_post /connect |
Establish a connection to the MetaTrader5 terminal. This endpoint initializes or re-establishes a connection to the MetaTrader5 terminal. It can be used with or without… |
| GET |
ping_ping_get /ping |
Simple health check endpoint for RapidAPI monitoring. |
| GET |
get_deals_deals_get /deals |
Retrieve information about executed deals. This endpoint provides access to the history of all executed deals or specific deals filtered by various criteria. A deal represents a… |
| GET |
get_positions_positions_get /positions |
Retrieve information about open positions. This endpoint allows you to get details about all open positions or a specific position if a ticket is provided. Open positions are… |
| GET |
get_symbol_info_symbol_info_get /symbol_info |
Retrieve detailed information about a specific trading symbol. This endpoint provides comprehensive details about a financial instrument including trading parameters, contract… |
| GET |
get_orders_orders_get /orders |
Retrieve information about active orders. This endpoint allows you to get details about all active orders or a specific order if a ticket is provided. Active orders include… |
| GET |
get_ticks_ticks_get /ticks |
Retrieve historical tick data for a specified symbol and time range. This endpoint provides historical tick data including bid, ask, and last prices for a given trading… |
| POST |
send_order_order_send_post /order_send |
Execute a trading order in the MetaTrader5 terminal. This endpoint allows you to place various types of trading orders including market orders, pending orders, and more. The… |
| GET |
get_history_orders_history_orders_get /history_orders |
Retrieve the history of orders for the current account. This endpoint provides access to historical order data, including both filled and canceled orders. You can filter the… |
Metasyc pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $14.2 / month | 60 / minute |
|
| ULTRA | $42 / month | 1000 / minute |
|
| MEGA | $142 / month | 1000 / minute |
|