traffic

GET /admin/traffic

Retrieves affiliate traffic to the site

Request

  • Base URL
    https://api.goaffpro.com/v1
  • URL
    https://api.goaffpro.com/v1/admin/traffic
  • Auth
    API key in header x-goaffpro-access-token

Query parameters

affiliate_idstring

Retrieve only the visits specified by a comma-separated list of Affiliate IDs

since_idstring

Show visits after the specified visit ID

created_at_maxstring

Show visits created at or before date (format: YYYY-MM-DDThh:mm:ss)

created_at_minstring

Show visits created at or after date (format: YYYY-MM-DDThh:mm:ss)

fieldsstring[] required

Comma separated list of fields to return.

Limit number of results. Max 1000

Response

Example response

{
  "traffic": [
    {
      "id": 1,
      "affiliate_id": 1,
      "landing_page": "https://yourstore.com",
      "referring_page": "https://google.com",
      "ip_address": "127.0.0.1",
      "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36",
      "created_at": "2026-11-03T06:14:03.539Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 7 revisions of this API.