Skip to content

Get known trading servers

About

Retrieves known MT servers by exact MT version and full-text fuzzy search. Response object limited to 10 brokers and 10 servers per broker. Note that the endpoint retreives only known MT servers and you can still use servers that are not in the list.

GET /known-mt-servers/:version/search

For more information see swagger documentation

Headers

Name Type Required Description
auth-token string Yes Authorization token. See Authentication and authorization

Path parameters

Name Type Required Description
version number Yes MT version

Query parameters

Name Type Required Description
query string Yes Search query

Response

  • 200 - Known trading servers object grouped by brokers returned. Response schema: KnownTradingServers
  • 400 - Validation failed. Response schema: Error

Examples

Example request:

curl -X GET --header 'Accept: application/json' --header 'auth-token: token' 'https://mt-provisioning-api-v1.agiliumtrade.agiliumtrade.ai/known-mt-servers/5/search?query=icmarketssc'

Example response:

{
  "Raw Trading Ltd": ["ICMarketsSC-Demo", "ICMarketsSC-MT5"],
  "IC Markets Ltd": ["ICMarketsInternational-Demo"]
}