GET /affiliate/web_traffic

Gets the recent affiliate web traffic.

Responses

  • 200 application/json

    The recent affiliate web traffic

    Hide response attributes Show response attributes object
    • traffic_id string
    • traffic_ip string
    • traffic_url string
    • traffic_affiliate string
    • traffic_referrer string
    • traffic_timestamp string(date-time)
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
GET /affiliate/web_traffic
curl \
 --request GET 'https://my.interserver.net/apiv2/affiliate/web_traffic' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
[
  {
    "traffic_id": "91839913",
    "traffic_ip": "2a06:98c0:3600::",
    "traffic_url": "https://www.interserver.net/webhosting/?id=8",
    "traffic_referrer": "",
    "traffic_affiliate": "8",
    "traffic_timestamp": "2023-09-30 06:30:27"
  },
  {
    "traffic_id": "91831932",
    "traffic_ip": "2a06:98c0:3600::",
    "traffic_url": "https://www.interserver.net/webhosting/?id=8",
    "traffic_referrer": "",
    "traffic_affiliate": "8",
    "traffic_timestamp": "2023-09-30 03:15:13"
  }
]
Response examples (401)
{
  "code": "string",
  "message": "string"
}