List ISP Trends
curl --request GET \
--url https://api.eflow.team/v1/networks/traffic/isptrends \
--header 'X-Eflow-Api-Key: <api-key>'import requests
url = "https://api.eflow.team/v1/networks/traffic/isptrends"
headers = {"X-Eflow-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Eflow-Api-Key': '<api-key>'}};
fetch('https://api.eflow.team/v1/networks/traffic/isptrends', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eflow.team/v1/networks/traffic/isptrends",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Eflow-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eflow.team/v1/networks/traffic/isptrends"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Eflow-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eflow.team/v1/networks/traffic/isptrends")
.header("X-Eflow-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eflow.team/v1/networks/traffic/isptrends")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Eflow-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"entries": [
{
"network_id": 1,
"network_tracking_domain_id": 8,
"isp": "Comcast Cable",
"yesterday_total_clicks": 420,
"seven_days_ago_total_clicks": 910,
"fourteen_days_ago_total_clicks": 880,
"thirty_days_ago_total_clicks": 950,
"yesterday_seven_days_ago_total_clicks_delta": -490,
"yesterday_fourteen_days_ago_total_clicks_delta": -460,
"yesterday_thirty_days_ago_total_clicks_delta": -530,
"yesterday_seven_days_ago_total_clicks_trend": -53.85,
"yesterday_fourteen_days_ago_total_clicks_trend": -52.27,
"yesterday_thirty_days_ago_total_clicks_trend": -55.79,
"yesterday_conversions": 12,
"seven_days_ago_conversions": 31,
"fourteen_days_ago_conversions": 29,
"thirty_days_ago_conversions": 33,
"yesterday_revenue": 360,
"seven_days_ago_revenue": 930,
"fourteen_days_ago_revenue": 870,
"thirty_days_ago_revenue": 990,
"relationship": {
"url": "track.acme.com"
}
}
]
}Traffic Health
List ISP Trends
Traffic Health Premium. Tracking domain and ISP pairs whose click volume is declining. A pair is returned only when yesterday’s clicks are lower than each of the single days 7, 14 and 30 days back, so an empty entries array means nothing is declining, not that there is no traffic. Each entry carries clicks, conversions and revenue for yesterday and for each comparison day, plus the change (_delta) and the percent trend (_trend) from each. Use it to trace a partner’s “my traffic dropped” report to a specific ISP and domain. On a network without the premium package the request returns an authorization error.
GET
/
networks
/
traffic
/
isptrends
List ISP Trends
curl --request GET \
--url https://api.eflow.team/v1/networks/traffic/isptrends \
--header 'X-Eflow-Api-Key: <api-key>'import requests
url = "https://api.eflow.team/v1/networks/traffic/isptrends"
headers = {"X-Eflow-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Eflow-Api-Key': '<api-key>'}};
fetch('https://api.eflow.team/v1/networks/traffic/isptrends', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eflow.team/v1/networks/traffic/isptrends",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Eflow-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eflow.team/v1/networks/traffic/isptrends"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Eflow-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eflow.team/v1/networks/traffic/isptrends")
.header("X-Eflow-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eflow.team/v1/networks/traffic/isptrends")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Eflow-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"entries": [
{
"network_id": 1,
"network_tracking_domain_id": 8,
"isp": "Comcast Cable",
"yesterday_total_clicks": 420,
"seven_days_ago_total_clicks": 910,
"fourteen_days_ago_total_clicks": 880,
"thirty_days_ago_total_clicks": 950,
"yesterday_seven_days_ago_total_clicks_delta": -490,
"yesterday_fourteen_days_ago_total_clicks_delta": -460,
"yesterday_thirty_days_ago_total_clicks_delta": -530,
"yesterday_seven_days_ago_total_clicks_trend": -53.85,
"yesterday_fourteen_days_ago_total_clicks_trend": -52.27,
"yesterday_thirty_days_ago_total_clicks_trend": -55.79,
"yesterday_conversions": 12,
"seven_days_ago_conversions": 31,
"fourteen_days_ago_conversions": 29,
"thirty_days_ago_conversions": 33,
"yesterday_revenue": 360,
"seven_days_ago_revenue": 930,
"fourteen_days_ago_revenue": 870,
"thirty_days_ago_revenue": 990,
"relationship": {
"url": "track.acme.com"
}
}
]
}Returns the tracking domain and ISP pairs whose click volume is declining, so you can trace a partner’s “my traffic dropped” report to a specific ISP and domain. Requires Traffic Health Premium.
Was this page helpful?
