> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.pixalate.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.pixalate.com/_mcp/server.

# Get risk ratings and reputation for one website

GET https://api.pixalate.com/api/v2/mrt/domains/{adDomain}

The purpose of this API is to provide risk ratings and reputational data for websites. The response is a JSON formatted object containing a list of app information partitioned by region and device.

Reference: https://docs.pixalate.com/api-reference/enrichment-domains/get-domain-data

## Authentication

- `x-api-key` header (required) — Authentication and authorization is achieved by supplying your Pixalate provided API key in the header of the request. An API key may be obtained by signing up for an account on the [Pixalate developer website](https://developer.pixalate.com).

## Request

### Path parameters

- `adDomain` (string, required) — The domain name.

### Query parameters

- `widget` (list of enum, optional) — Filter by comma-separated list of widgets to return. All widgets are returned by default.
  - Allowed values: `domainOverview`, `riskOverview`, `domainDetails`, `trafficQualityRisk`, `siteRisk`, `siteInfo`, `brandSafetyRisk`, `socialMediaRisk`, `invalidTraffic`, `inventory`, `authorizedSellers`, `viewability`, `ctr`, `trafficSources`, `subDomains`, `deviceDistribution`, `mfa`
- `region` (enum, optional) — Filter by region. All regions are returned by default. *GLOBAL* indicates aggregated traffic from all regions.
  - Allowed values: `GLOBAL`, `NA`, `EMEA`, `LATAM`, `APAC`
- `device` (enum, optional) — Filter by device. All devices are returned by default.
  - Allowed values: `GLOBAL`, `desktop`, `mobile`
- `pretty` (boolean, optional) — If true, return pretty JSON. Default is false.

## Response

### 200

OK

- `status` (enum, optional) — The returned status.
  - Allowed values: `OK`, `ERR`
- `numFound` (integer, optional) — The total number of matching domains.
- `docs` (list of Domain, optional) — A list of domains.

## Errors

### 400 Bad Request Error

Bad Request - Invalid parameters in request.

- `any`

### 401 Unauthorized Error

Unauthorized - Invalid API Key.

- `any`

### 403 Forbidden Error

Forbidden - Quota has been exhausted, Subscription expired or needs upgrade.

- `any`

### 500 Server Error

Server Error - The API experienced an internal error. Contact support.

- `any`

## Types

### Domain

A domain.

- `mfa` (Mfa, optional) — Made-for-advertising signals for the domain.
- `AdDomain` (string, optional) — The domain name.
- `region` (enum, optional) — A geographic region. *GLOBAL* indicates an aggregate of all regions.
  - Allowed values: `GLOBAL`, `NA`, `EMEA`, `LATAM`, `APAC`
- `device` (enum, optional) — The device. *GLOBAL* indicates an aggregate of all devices.
  - Allowed values: `GLOBAL`, `desktop`, `mobile`
- `domainOverview` (DomainOverview, optional) — An overview of risk for the domain.
- `riskOverview` (RiskOverview, optional) — An overview of risk for the domain.
- `domainDetails` (DomainDetails, optional) — Detailed information about the domain.
- `trafficQualityRisk` (TrafficQualityRisk, optional) — An overview of domain's traffic quality.
- `siteRisk` (SiteRisk, optional) — The risk associated with the domain name and website.
- `siteInfo` (SiteInfo, optional) — General domain information.
- `brandSafetyRisk` (BrandSafetyRisk, optional) — Brand safety information.
- `socialMediaRisk` (SocialMediaRisk, optional) — Brand safety information.
- `invalidTraffic` (InvalidTraffic, optional) — The percentage of invalid traffic associated with each Pixalate's taxonomy of GIVT and SIVT invalid traffic types.
- `inventory` (Inventory, optional) — The estimated volume of programmatic ad impressions broken down by device, region, country, DMA.
- `authorizedSellers` (list of AuthorizedSellersItems, optional) — The contribution of various sell side platforms to programmatic ad impressions sold on the app.
- `viewability` (Viewability, optional) — The average viewability, according the IAB standard of 50% in view for at least 1 second, for display advertisements in the domain.
- `ctr` (Ctr, optional) — Information about Click Through Rate for this domain.
- `trafficSources` (list of TrafficSourcesItems, optional) — The volume of programmatic ad impressions broken down by traffic source.
- `subDomains` (list of SubDomainsItems, optional) — The volume of programmatic ad impressions broken down by sub domains.
- `deviceDistribution` (DeviceDistribution, optional) — The estimated volume of programmatic ad impressions broken down by device (desktop, mobile), by desktop OS, and by mobile OS.

### Mfa

Made-for-advertising signals for the domain.

- `mfaRisk` (enum, optional) — Pixalate's made-for-advertising risk rating for the domain.
  - Allowed values: `low`, `medium`, `high`
- `adRefreshRate` (double, optional, nullable) — The rate at which advertising slots are refreshed. Null when a refresh rate could not be determined.
- `adDensity` (double, optional) — The density of advertising observed on the domain.
- `socialTrafficRate` (double, optional) — The proportion of traffic to the domain arriving from social sources.
- `paidTrafficRate` (double, optional) — The proportion of traffic to the domain arriving from paid sources.

### DomainOverview

An overview of risk for the domain.

- `iabPrimaryCategory` (list of string, optional) — The IAB primary categories.
- `iabSubCategory` (list of string, optional) — The IAB sub categories.
- `hasAdsTxt` (boolean, optional) — A *true* indicates Ads.txt is enabled for the domain.

### RiskOverview

An overview of risk for the domain.

- `ivt` (double, optional) — Percentage of Invalid traffic associated with advertising transactions for the domain.
- `ivtRisk` (enum, optional) — The invalid traffic risk for the domain.
  - Allowed values: `low`, `medium`, `high`
- `viewability` (double, optional) — Percentage of invalid traffic associated with advertising transactions for the domain.
- `viewabilityRisk` (enum, optional) — The viewability risk for the domain.
  - Allowed values: `low`, `medium`, `high`
- `brandSafetyRisk` (enum, optional) — The overall risk to advertise Brand Safety from the domain.
  - Allowed values: `low`, `medium`, `high`
- `risk` (list of RiskOverviewRiskItems, optional) — Overall pixalate's unique advertising risk assessment based on blended risk factors including brand safety, invalid traffic and inventory for all regions and devices. Risk is broken down by region and device.

### DomainDetails

Detailed information about the domain.

- `inventory` (integer, optional) — The estimated number of monthly impressions this domain makes available programmatically.
- `desktopTrafficRatio` (double, optional) — The percentage of desktop ads trafficked on the domain.
- `mobileTrafficRatio` (double, optional) — The percentage of mobile ads trafficked on the domain.
- `videoTrafficRatio` (double, optional) — The percentage of video ads trafficked on the domain.
- `ctr` (double, optional) — Average CTR of the domain
- `familyOfSites` (integer, optional) — The number of related websites.
- `pixalateRisk` (enum, optional) — Overall pixalate's unique advertising risk assessment based on blended risk factors including brand safety, invalid traffic and inventory.
  - Allowed values: `low`, `medium`, `high`
- `bidPriceLow` (string, optional) — Low bid price in US dollars.
- `bidPriceHigh` (string, optional) — High bid price in US dollars.
- `trustedSeller` (string, optional) — Authorized trusted seller.
- `trueReach` (string, optional) — The estimated number of unique users per 1 Million internet users that can be reached on this domain.

### TrafficQualityRisk

An overview of domain's traffic quality.

- `ivtRisk` (enum, optional) — The invalid traffic risk for the domain.
  - Allowed values: `low`, `medium`, `high`
- `clickFraudRisk` (enum, optional) — The click fraud risk for the domain.
  - Allowed values: `low`, `medium`, `high`
- `viewabilityRisk` (enum, optional) — The viewability Risk for the domain.
  - Allowed values: `low`, `medium`, `high`
- `domainMaskingRisk` (enum, optional) — The domain masking risk for the domain.
  - Allowed values: `low`, `medium`, `high`
- `majorTrafficSource` (string, optional) — The major traffic source for the domain.

### SiteRisk

The risk associated with the domain name and website.

- `domainAge` (double, optional) — The age of the domain in years.
- `hasPrivacyPolicy` (boolean, optional) — A *true* indicates that the website has a privacy policy.
- `hasTermsAndConditions` (boolean, optional) — A *true* indicates that the website has terms and conditions.
- `privateDomain` (boolean, optional) — A *true* indicates that the domain is privately registered.
- `corporateEmail` (boolean, optional) — A *true* indicates that the domain has been registered with a corporate email.
- `adInjectionRisk` (enum, optional) — The ad injection risk of the domain.
  - Allowed values: `low`, `medium`, `high`

### SiteInfo

General domain information.

- `owner` (string, optional) — Owner of the domain.
- `emailAddress` (string, optional) — The contact email address.
- `contactNumber` (string, optional) — The contact phone number.
- `mailingAddress` (string, optional) — The mailing address.

### BrandSafetyRisk

Brand safety information.

- `adultContentRisk` (enum, optional) — The risk to brand safety from adult themed content based on textual analysis of the domain and its descriptive content.
  - Allowed values: `low`, `medium`, `high`
- `alcoholContentRisk` (enum, optional) — The risk to brand safety from Alcohol themed content based on textual analysis of the domain and its descriptive content.
  - Allowed values: `low`, `medium`, `high`
- `drugContentRisk` (enum, optional) — The risk to brand safety from drug themed content based on textual analysis of the domain and its descriptive content.
  - Allowed values: `low`, `medium`, `high`
- `hateSpeechRisk` (enum, optional) — The risk to brand safety from hate speech content based on textual analysis of the domain and its descriptive content.
  - Allowed values: `low`, `medium`, `high`
- `phishingRisk` (enum, optional) — The risk to brand safety from phishing.
  - Allowed values: `low`, `medium`, `high`
- `malwareRisk` (enum, optional) — The risk to brand safety from malware.
  - Allowed values: `low`, `medium`, `high`

### SocialMediaRisk

Brand safety information.

- `facebookRisk` (enum, optional) — The Facebook risk. Low social media engagement on Facebook can be a risk factor.
  - Allowed values: `low`, `medium`, `high`
- `linkedInRisk` (enum, optional) — The Linked In risk. Low social media engagement on LinkedIn can be a risk factor.
  - Allowed values: `low`, `medium`, `high`
- `twitterRisk` (enum, optional) — The Twitter In risk. Low social media engagement on Twitter can be a risk factor.
  - Allowed values: `low`, `medium`, `high`
- `socialTrafficRatio` (double, optional) — Percentage of social traffic to the site.

### InvalidTraffic

The percentage of invalid traffic associated with each Pixalate's taxonomy of GIVT and SIVT invalid traffic types.

- `ivt` (double, optional) — The total percentage of non-human traffic measured on the domain.
- `givt` (double, optional) — GIVT refers to General Invalid Traffic - Deterministically judged to be non-human traffic; high to very high risk.
- `sivt` (double, optional) — SIVT refers to Sophisticated Invalid Traffic - Probabilistically judged to be non-human traffic using advanced statistical detection methods; moderate to high risk traffic.
- `givtTypes` (list of InvalidTrafficGivtTypesItems, optional) — The percentage of invalid traffic associated with each Pixalate's taxonomy of GIVT invalid traffic types.
- `sivtTypes` (list of InvalidTrafficSivtTypesItems, optional) — The percentage of invalid traffic associated with each Pixalate's taxonomy of SIVT invalid traffic types.

### Inventory

The estimated volume of programmatic ad impressions broken down by device, region, country, DMA.

- `byRegion` (list of InventoryByRegionItems, optional) — The estimated volume of programmatic ad impressions broken down by region.
- `byCountry` (list of InventoryByCountryItems, optional) — The estimated volume of programmatic ad impressions broken down by country.
- `byState` (list of InventoryByStateItems, optional) — The estimated volume of programmatic ad impressions broken down by state.
- `byAdsize` (list of InventoryByAdsizeItems, optional) — The estimated volume of programmatic ad impressions broken down by ad size.
- `byDma` (list of InventoryByDmaItems, optional) — The estimated volume of programmatic ad impressions broken down by DMA.

### AuthorizedSellersItems

- `exchange` (string, optional) — The name of the exchange.
- `paymentType` (string, optional) — The payment type.
- `inventory` (integer, optional) — The estimated number of monthly impressions this domain makes available programmatically by this seller.
- `inventoryRatio` (double, optional) — The average inventory ratio for ad impressions on the domain by this seller.
- `ivt` (double, optional) — The average IVT for ad impressions on the domain by this seller.
- `estBidLow` (double, optional) — The estimate low bid for ads on the domain by this seller.
- `estBidHigh` (double, optional) — The estimate high bid for ads on the domain by this seller.
- `viewability` (double, optional) — The average viewability for ad impressions on the domain by this seller.

### Viewability

The average viewability, according the IAB standard of 50% in view for at least 1 second, for display advertisements in the domain.

- `viewability` (double, optional) — The average viewability for all display ad impressions in the domain.
- `byAdSize` (list of ViewabilityByAdSizeItems, optional) — The risk of IAB viewability standards not being met for ad impressions on the domain broken down by ad size.

### Ctr

Information about Click Through Rate for this domain.

- `ctr` (double, optional) — The overall average CTR for this domain.
- `byAdSize` (list of CtrByAdSizeItems, optional) — The CTR for this domain broken down by ad size.

### TrafficSourcesItems

The volume of programmatic ad impressions by traffic source.

- `trafficSource` (string, optional) — The traffic source.
- `inventory` (integer, optional) — The estimated volume of programmatic ad impressions by traffic source.
- `inventoryRatio` (double, optional) — The estimated percentage of inventory by traffic source.
- `ivt` (double, optional) — The total percentage of non-human traffic measured on the app by traffic source.
- `viewability` (double, optional) — The average viewability for impressions by traffic source.

### SubDomainsItems

The volume of programmatic ad impressions by traffic source.

- `subDomain` (string, optional) — The sub domain.
- `inventory` (integer, optional) — The estimated volume of programmatic ad impressions by sub domain.
- `inventoryRatio` (double, optional) — The estimated percentage of inventory by sub domain.
- `maskingRatio` (double, optional) — The estimated percentage of masking by sub domain.
- `ivt` (double, optional) — The total percentage of non-human traffic measured by sub domain.
- `viewability` (double, optional) — The average viewability for impressions by sub domain.

### DeviceDistribution

The estimated volume of programmatic ad impressions broken down by device (desktop, mobile), by desktop OS, and by mobile OS.

- `byDevice` (list of DeviceDistributionByDeviceItems, optional) — The estimated volume of programmatic ad impressions broken down by device.
- `byDesktopOs` (list of DeviceDistributionByDesktopOsItems, optional) — The estimated volume of programmatic ad impressions broken down by desktop OS.
- `byMobileOs` (list of DeviceDistributionByMobileOsItems, optional) — The estimated volume of programmatic ad impressions broken down by mobile OS.

### RiskOverviewRiskItems

Region and Device risk.

- `region` (string, optional) — The region.
- `device` (string, optional) — The device.
- `pixalateRisk` (enum, optional) — Pixalate's unique overall risk assessment for the domain.
  - Allowed values: `low`, `medium`, `high`
- `pixalateRiskReasons` (list of enum, optional) — A list of reasons that the domain is at risk.
  - Allowed values: `Significantly Elevated IVT Percentage`, `Publisher Maintains Non-corporate Email Address`, `Moderately Elevated IVT Percentage`, `Publisher Does Not Publish a Privacy Policy`, `The Publisher Hides their Corporate Details in the Domain Registry`, `The Publisher's Email Address Doesn't Match Their Domain`, `Adult Content Has Been Detected in the domain`, `The Publisher Does Not Publish Terms and Conditions`, `The Publisher Domain is Invalid`, `Gambling Content Has Been Detected in the domain`, `Programmatic Ads Not Detected Leads to High Spoofing Risk`, `Violent Content Has Been Detected in the domain`, `Alcohol Based Content Has Been Detected in the domain`, `Ad Traffic Shows Some Suspicious Characteristics`, `Profanity and Offensive Language Has Been Detected in the domain`, `Domain Description Uses Some Brand Unsafe Language`, `Domain Has a High Frequency of Invalid Clicks`

### InvalidTrafficGivtTypesItems

- `fraudType` (string, optional) — The type of SIVT fraud.
- `givt` (double, optional) — GIVT refers to General Invalid Traffic - Deterministically judged to be non-human traffic; high to very high risk.

### InvalidTrafficSivtTypesItems

- `fraudType` (string, optional) — The type of SIVT fraud.
- `sivt` (double, optional) — SIVT refers to Sophisticated Invalid Traffic - Probabilistically judged to be non-human traffic using advanced statistical detection methods; moderate to high risk traffic.

### InventoryByRegionItems

Inventory by region.

- `region` (string, optional) — The region.
- `inventory` (integer, optional) — The estimated volume of programmatic ad impressions by region.
- `inventoryRatio` (double, optional) — The estimated percentage of inventory by region.
- `ivt` (double, optional) — The total percentage of non-human traffic measured on the app by region.
- `viewability` (double, optional) — The average viewability for impressions by region.

### InventoryByCountryItems

Inventory by country.

- `countryName` (string, optional) — The country.
- `inventory` (integer, optional) — The estimated volume of programmatic ad impressions by country.
- `inventoryRatio` (double, optional) — The estimated percentage of inventory by country.
- `ivt` (double, optional) — The total percentage of non-human traffic measured on the app by country.
- `viewability` (double, optional) — The average viewability for impressions by country.

### InventoryByStateItems

Inventory by state.

- `stateName` (string, optional) — The state.
- `inventory` (integer, optional) — The estimated volume of programmatic ad impressions by state.
- `inventoryRatio` (double, optional) — The estimated percentage of inventory by state.
- `ivt` (double, optional) — The total percentage of non-human traffic measured on the app by state.
- `viewability` (double, optional) — The average viewability for impressions by state.

### InventoryByAdsizeItems

inventory by add size.

- `adSize` (string, optional) — The ad size.
- `inventory` (integer, optional) — The estimated volume of programmatic ad impressions by ad size.
- `inventoryRatio` (double, optional) — The estimated percentage of inventory by ad size.
- `ivt` (double, optional) — The total percentage of non-human traffic measured on the app by ad size.
- `viewability` (double, optional) — The average viewability for impressions by ad size.

### InventoryByDmaItems

inventory by DMA.

- `dma` (string, optional) — The DMA name.
- `inventory` (integer, optional) — The estimated volume of programmatic ad impressions by DMA.
- `inventoryRatio` (double, optional) — The estimated percentage of inventory by DMA.
- `ivt` (double, optional) — The total percentage of non-human traffic measured on the app by DMA.
- `viewability` (double, optional) — The average viewability for impressions by DMA.

### ViewabilityByAdSizeItems

Viewability by add size.

- `adSize` (string, optional) — The size of the ad.
- `inventory` (integer, optional) — The estimated inventory down by ad size.
- `inventoryRatio` (double, optional) — The estimated percentage of inventory by ad size.
- `viewability` (double, optional) — The average viewability for impressions by ad size.

### CtrByAdSizeItems

CTR by ad size.

- `adSize` (string, optional) — The ad size.
- `ctr` (double, optional) — The Click Through Rate by ad size.

### DeviceDistributionByDeviceItems

The estimated volume of programmatic ad impressions by device

- `device` (string, optional) — The device
- `inventory` (integer, optional) — The estimated volume of programmatic ad impressions by device.
- `inventoryRatio` (double, optional) — The estimated percentage of inventory by device.
- `maskingRatio` (double, optional) — The estimated percentage of masking by device.
- `ivt` (double, optional) — The total percentage of non-human traffic measured by device.
- `viewability` (double, optional) — The average viewability for impressions by device.

### DeviceDistributionByDesktopOsItems

The estimated volume of programmatic ad impressions by desktop OS

- `os` (string, optional) — The operating system.
- `inventory` (integer, optional) — The estimated volume of programmatic ad impressions by desktop OS.
- `inventoryRatio` (double, optional) — The estimated percentage of inventory by desktop OS.

### DeviceDistributionByMobileOsItems

The estimated volume of programmatic ad impressions by mobile OS.

- `os` (string, optional) — The operating system.
- `inventory` (integer, optional) — The estimated volume of programmatic ad impressions by mobile OS.
- `inventoryRatio` (double, optional) — The estimated percentage of inventory by mobile OS.

## Examples

**Response**

```json
{
  "status": "OK",
  "numFound": 1,
  "docs": [
    {
      "mfa": {
        "mfaRisk": "low",
        "adRefreshRate": 1,
        "adDensity": 5,
        "socialTrafficRate": 0.00024,
        "paidTrafficRate": 0
      },
      "AdDomain": "example.org",
      "region": "NA",
      "device": "desktop",
      "domainOverview": {
        "iabPrimaryCategory": [
          "News"
        ],
        "iabSubCategory": [
          "string"
        ],
        "hasAdsTxt": true
      },
      "riskOverview": {
        "ivt": 6.7,
        "ivtRisk": "medium",
        "viewability": 53.95,
        "viewabilityRisk": "medium",
        "brandSafetyRisk": "low",
        "risk": [
          {
            "region": "string",
            "device": "string",
            "pixalateRisk": "medium",
            "pixalateRiskReasons": [
              "Significantly Elevated IVT Percentage",
              "Ad Traffic Shows Some Suspicious Characteristics"
            ]
          }
        ]
      },
      "domainDetails": {
        "inventory": 892920,
        "desktopTrafficRatio": 94.13,
        "mobileTrafficRatio": 5.64,
        "videoTrafficRatio": 3.16,
        "ctr": 0.05,
        "familyOfSites": 36773,
        "pixalateRisk": "low",
        "bidPriceLow": "0",
        "bidPriceHigh": "0",
        "trustedSeller": "Example Ad Seller",
        "trueReach": "6602"
      },
      "trafficQualityRisk": {
        "ivtRisk": "medium",
        "clickFraudRisk": "medium",
        "viewabilityRisk": "low",
        "domainMaskingRisk": "low",
        "majorTrafficSource": "Direct"
      },
      "siteRisk": {
        "domainAge": 0,
        "hasPrivacyPolicy": true,
        "hasTermsAndConditions": true,
        "privateDomain": false,
        "corporateEmail": true,
        "adInjectionRisk": "low"
      },
      "siteInfo": {
        "owner": "Example, Inc.",
        "emailAddress": "jdoe@example.org",
        "contactNumber": "14085551212",
        "mailingAddress": "1234 Main Street, USA."
      },
      "brandSafetyRisk": {
        "adultContentRisk": "high",
        "alcoholContentRisk": "medium",
        "drugContentRisk": "medium",
        "hateSpeechRisk": "low",
        "phishingRisk": "medium",
        "malwareRisk": "medium"
      },
      "socialMediaRisk": {
        "facebookRisk": "medium",
        "linkedInRisk": "medium",
        "twitterRisk": "medium",
        "socialTrafficRatio": 0.11
      },
      "invalidTraffic": {
        "ivt": 7.76,
        "givt": 0.29,
        "sivt": 7.47,
        "givtTypes": [
          {
            "fraudType": "Data Center",
            "givt": 0.29
          }
        ],
        "sivtTypes": [
          {
            "fraudType": "AppSpoofing",
            "sivt": 2.78
          }
        ]
      },
      "inventory": {
        "byRegion": [
          {
            "region": "APAC",
            "inventory": 1,
            "inventoryRatio": 6.39,
            "ivt": 8.02,
            "viewability": 73.3
          }
        ],
        "byCountry": [
          {
            "countryName": "Romania",
            "inventory": 1,
            "inventoryRatio": 4.01,
            "ivt": 17.21,
            "viewability": 57.2
          }
        ],
        "byState": [
          {
            "stateName": "United States, California",
            "inventory": 1,
            "inventoryRatio": 15.62,
            "ivt": 5.94,
            "viewability": 53.38
          }
        ],
        "byAdsize": [
          {
            "adSize": "320x50",
            "inventory": 1,
            "inventoryRatio": 0.1,
            "ivt": 3.22,
            "viewability": 56.44
          }
        ],
        "byDma": [
          {
            "dma": "NEW YORK",
            "inventory": 1,
            "inventoryRatio": 6.39,
            "ivt": 5.45,
            "viewability": 54.79
          }
        ]
      },
      "authorizedSellers": [
        {
          "exchange": "Acme Exchange",
          "paymentType": "Direct",
          "inventory": 30039,
          "inventoryRatio": 12.87,
          "ivt": 0.9,
          "estBidLow": 0,
          "estBidHigh": 0,
          "viewability": 2.6
        }
      ],
      "viewability": {
        "viewability": 53.95,
        "byAdSize": [
          {
            "adSize": "728x90",
            "inventory": 7893,
            "inventoryRatio": 61.05,
            "viewability": 56.04
          }
        ]
      },
      "ctr": {
        "ctr": 6.03,
        "byAdSize": [
          {
            "adSize": "320x50",
            "ctr": 1.45
          }
        ]
      },
      "trafficSources": [
        {
          "trafficSource": "Discovery",
          "inventory": 1,
          "inventoryRatio": 6.39,
          "ivt": 8.02,
          "viewability": 73.3
        }
      ],
      "subDomains": [
        {
          "subDomain": "mail.example.org",
          "inventory": 1,
          "inventoryRatio": 52.39,
          "maskingRatio": 52.39,
          "ivt": 8.02,
          "viewability": 73.3
        }
      ],
      "deviceDistribution": {
        "byDevice": [
          {
            "device": "desktop",
            "inventory": 1,
            "inventoryRatio": 94.3,
            "maskingRatio": 52.39,
            "ivt": 8.02,
            "viewability": 73.3
          }
        ],
        "byDesktopOs": [
          {
            "os": "Windows 10",
            "inventory": 1,
            "inventoryRatio": 13.63
          }
        ],
        "byMobileOs": [
          {
            "os": "Android 1.x",
            "inventory": 1,
            "inventoryRatio": 9.29
          }
        ]
      }
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.pixalate.com/api/v2/mrt/domains/cnn.com"

querystring = {"device":"desktop","region":"NA"}

headers = {"x-api-key": "<apiKey>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript
const url = 'https://api.pixalate.com/api/v2/mrt/domains/cnn.com?device=desktop&region=NA';
const options = {method: 'GET', headers: {'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.pixalate.com/api/v2/mrt/domains/cnn.com?device=desktop&region=NA"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.pixalate.com/api/v2/mrt/domains/cnn.com?device=desktop&region=NA")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.pixalate.com/api/v2/mrt/domains/cnn.com?device=desktop&region=NA")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.pixalate.com/api/v2/mrt/domains/cnn.com?device=desktop&region=NA', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.pixalate.com/api/v2/mrt/domains/cnn.com?device=desktop&region=NA");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.pixalate.com/api/v2/mrt/domains/cnn.com?device=desktop&region=NA")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```