---
title: "GET /admin/traffic"
method: GET
path: "/admin/traffic"
tags: ["traffic"]
---

# GET /admin/traffic

`GET /admin/traffic`

Retrieves affiliate traffic to the site

## Query parameters

- `affiliate_id` string
- `since_id` string
- `created_at_max` string
- `created_at_min` string
- `fields` string[], required

## Response `200`

- object
  - `traffic` object[]
    - `id` integer — Visit ID
    - `affiliate_id` number — ID of the affiliate who brought this visit
    - `referring_page` string — URL of the page from where the click originated. Can be empty if no referrer is set
    - `landing_page` string — URL of the landing page. Can be empty if the landing page is home page
    - `ip_address` string — IPV4 address of the visitor or customer
    - `user_agent` string — User agent of the visitor's device
    - `created_at` string — The date when visitor came

## Other responses

- `403` — Not authenticated

---

[API](https://skmtc.dev/goaffpro/apis/goaffpro-api.md) · [All operations](https://skmtc.dev/goaffpro/apis/goaffpro-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goaffpro/goaffpro-api/revisions/832de9c7d0ae/schema)
