**Version: 202701**

# Get traffic channel options

**GET** `/openapi/2027-01/data-analysis/traffic-channel/options`

Retrieve the complete traffic type (first-level) to traffic channel (second-level) mapping.

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `traffic_channels` object[]

    The complete traffic type (first-level) to traffic channel (second-level) mapping

    *   Array \[

    - `last_referrer_first_show` string

      Traffic type (first-level channel), e.g. "Social"
    - `last_referrer_shows` string[]

      Traffic channels (second-level channels) under this traffic type, e.g. \["Facebook", "YouTube", "Instagram"\]
    *   \]

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "traffic_channels": [
      {
        "last_referrer_first_show": "string",
        "last_referrer_shows": [
          "string"
        ]
      }
    ]
  }
}
```
