Get Domain Mismatches
curl --request POST \
--url https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId} \
--header 'Content-Type: application/json' \
--header 'X-Eflow-Api-Key: <api-key>' \
--data '{
"filters": {}
}'import requests
url = "https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId}"
payload = { "filters": {} }
headers = {
"X-Eflow-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Eflow-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({filters: {}})
};
fetch('https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId}', 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/mismatches/{networkTrackingDomainId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filters' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId}"
payload := strings.NewReader("{\n \"filters\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Eflow-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId}")
.header("X-Eflow-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"filters\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Eflow-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"filters\": {}\n}"
response = http.request(request)
puts response.read_body{
"mismatches": [
{
"network_id": 5,
"network_tracking_domain_id": 8,
"assigned_network_tracking_domain_id": 10361,
"network_offer_id": 882,
"network_affiliate_id": 20019,
"assignment_type": "offer",
"time_detected": 1744663035,
"relationship": {
"network_tracking_domain": {
"network_tracking_domain_id": 8,
"network_id": 5,
"url": "www.serve-eflow-test.com",
"is_primary_domain": false,
"domain_status": "active",
"is_unassignable": false,
"ownership": "internal",
"is_ssl_enabled": true,
"time_created": 1482191486,
"time_saved": 1777378430
},
"assigned_network_tracking_domain": {
"network_tracking_domain_id": 10361,
"network_id": 5,
"url": "multiproxy.clik2trk.com",
"is_primary_domain": false,
"domain_status": "active",
"is_unassignable": false,
"ownership": "external",
"is_ssl_enabled": true,
"time_created": 1718823747,
"time_saved": 1779323042
},
"offer": {
"network_offer_id": 882,
"network_id": 5,
"name": "Mountains of White Castle Burgers!",
"offer_status": "active"
},
"affiliate": {
"network_affiliate_id": 20019,
"network_id": 5,
"name": "Media Media Media",
"account_status": "active"
}
}
}
]
}Traffic Health
Get Domain Mismatches
Tracking-domain mismatches for a domain — offer/affiliate assignments whose observed traffic ran on a different tracking domain than the one assigned. Each entry pairs the assigned domain with the domain traffic was actually seen on, plus the offer and affiliate involved. Backed by reporting data. The body must contain filters; send {"filters": {}} for the default window of the last 12 weeks.
POST
/
networks
/
traffic
/
mismatches
/
{networkTrackingDomainId}
Get Domain Mismatches
curl --request POST \
--url https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId} \
--header 'Content-Type: application/json' \
--header 'X-Eflow-Api-Key: <api-key>' \
--data '{
"filters": {}
}'import requests
url = "https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId}"
payload = { "filters": {} }
headers = {
"X-Eflow-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Eflow-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({filters: {}})
};
fetch('https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId}', 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/mismatches/{networkTrackingDomainId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filters' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId}"
payload := strings.NewReader("{\n \"filters\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Eflow-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId}")
.header("X-Eflow-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"filters\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eflow.team/v1/networks/traffic/mismatches/{networkTrackingDomainId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Eflow-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"filters\": {}\n}"
response = http.request(request)
puts response.read_body{
"mismatches": [
{
"network_id": 5,
"network_tracking_domain_id": 8,
"assigned_network_tracking_domain_id": 10361,
"network_offer_id": 882,
"network_affiliate_id": 20019,
"assignment_type": "offer",
"time_detected": 1744663035,
"relationship": {
"network_tracking_domain": {
"network_tracking_domain_id": 8,
"network_id": 5,
"url": "www.serve-eflow-test.com",
"is_primary_domain": false,
"domain_status": "active",
"is_unassignable": false,
"ownership": "internal",
"is_ssl_enabled": true,
"time_created": 1482191486,
"time_saved": 1777378430
},
"assigned_network_tracking_domain": {
"network_tracking_domain_id": 10361,
"network_id": 5,
"url": "multiproxy.clik2trk.com",
"is_primary_domain": false,
"domain_status": "active",
"is_unassignable": false,
"ownership": "external",
"is_ssl_enabled": true,
"time_created": 1718823747,
"time_saved": 1779323042
},
"offer": {
"network_offer_id": 882,
"network_id": 5,
"name": "Mountains of White Castle Burgers!",
"offer_status": "active"
},
"affiliate": {
"network_affiliate_id": 20019,
"network_id": 5,
"name": "Media Media Media",
"account_status": "active"
}
}
}
]
}Tracking-domain mismatches for a domain — offer/affiliate assignments whose observed traffic ran on a different tracking domain than the one assigned. Each entry pairs the assigned domain with the domain traffic was actually seen on, plus the offer and affiliate involved. The body must contain
filters; send {"filters": {}} for the default window of the last 12 weeks.Was this page helpful?
