> ## Documentation Index
> Fetch the complete documentation index at: https://alltick.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# HTTP Common Standard Header

> This page details the common standard HTTP headers required by AllTick REST market data APIs, including token, Content-Type, Accept, and other mandatory or optional fields, with examples to help developers build valid HTTP request headers for authenticated access to forex, stock, and crypto tick data.

## Common Request Header Description

| Field | Name      | Type   | Required | Description                                                                                                |
| ----- | --------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------- |
| trace | Trace ID  | string | Yes      | Generated uniquely by the requester. The response keeps the same value as the request. Maximum length: 64. |
| data  | Data body | object | Yes      | See each interface definition for the specific data format.                                                |

```json theme={null}
{
  "trace": "c2a8a146-a647-4d6f-ac07-8c4805bf0b74",
  "data": {}
}
```

## Common Response Header Description

| Field | Name         | Type   | Description                                                                                                |
| ----- | ------------ | ------ | ---------------------------------------------------------------------------------------------------------- |
| ret   | Return value | int32  | [Error Code Description](/en/getting-started/error-code-description)                                       |
| msg   | Message      | string | Specific description of success or failure.                                                                |
| trace | Trace ID     | string | Generated uniquely by the requester. The response keeps the same value as the request. Maximum length: 64. |
| data  | Data body    | object | See each interface definition for the specific data format.                                                |

```json theme={null}
{
  "ret": 202,
  "msg": "request data param invalid",
  "trace": "c2a8a146-a647-4d6f-ac07-8c4805bf0b74",
  "data": {}
}
```

***

#### AllTick Website

<Note>
  Official website: <a href="https://alltick.co/">[https://alltick.co/](https://alltick.co/)</a>
</Note>

<script src="/seo-keywords.js" />
