Get market quote for a symbol
Changed onFetches the current bid price, ask price, and timestamp for a specific trading symbol. Note: Not all platforms support real-time quote fetching. If there is no response or an error is returned, it means the platform does not support this feature.
Set includeSymbolInfo=true to also receive the symbol details (points, digits, volume limits) in the same response, which avoids a second call to /accounts/{accountId}/symbols/{symbol}.
Request
- Base URLhttps://api.metacopier.io
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Symbol name (e.g., EURUSD, GBPJPY)
Query parameters
If true, the response additionally contains the symbol details (points, digits, volume limits) in the 'symbolInfo' field.
Response
OK
Changes
- breaking
the
/response's property type changed fromintegertonumber, and format fromint32todoublefor status
- breaking
- info
added the new optional
queryrequest parameterincludeSymbolInfo - info
added the optional property
to the response with the status
- info