> ## Documentation Index
> Fetch the complete documentation index at: https://api-trading-docs.ap-markets.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Market data

> Retrieve the latest ticks before preparing an opening or closing order.

`GET /api/v1/market/ticks` requires a token and market permission, without account verification.

| Parameter | Usage |
| - | - |
| `symbols` | Required. Exact names separated by commas; preserve spaces within each name |
| `trans_id` | Integer greater than or equal to 0; default `0` |

`symbols` accepts letters, numbers, periods, hyphens, underscores, parentheses, spaces,
and commas. Use the broker's exact names, including suffixes: for example,
`Boom 1000 Index` or `Volatility 25 (1s) Index`. Do not add spaces around commas.
URL-encode the parameter with `--data-urlencode` or your HTTP client's `params`
option; do not replace spaces within names or encode the value twice.
The API forwards spaces to MT5 as `%20`.
`trans_id` is forwarded to MT5; the partner
contract does not define a streaming protocol or guarantee an incremental polling strategy.
Use `0` for the initial workflow.

```bash theme={null}
curl --fail-with-body --get "$API_BASE/api/v1/market/ticks" \
  -H "Authorization: Bearer $MT5_API_TOKEN" \
  --data-urlencode "symbols=EURUSD,Boom 1000 Index" \
  --data-urlencode "trans_id=0"
```

The response preserves the MT5 envelope (`retcode` and `answer`). Check that a tick
exists for the requested symbol and is suitable for the time of your trade.
Use Ask as the reference for buying and Bid as the reference for selling.

The requested price does not guarantee the final execution price. Confirm symbol
decimals, minimum volume, step, and units with the provider: the portal has no route
for querying symbol specifications. Do not invent a price if ticks are missing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.