Skip to main content
POST
google.domain.traffic-distribution

Authorizations

Authorization
string
header
required

API key: sk_live_…

Headers

Idempotency-Key
string

Optional. A retry with the same key returns the stored result.

Maximum string length: 255
Pramaan-Max-Price-Micro
string

Optional. The most this request may be priced at, in micro-USD (a whole number above 0). It replaces the capability's own price ceiling for this request, lower or higher. Sources that could cost more are left out; when none is left the answer is 400 with the lowest limit that would work.

Pattern: ^[1-9]\d{0,14}$

Body

application/json
target
string
required

The site or page to look up: a domain such as example.com, or a full URL.

Required string length: 1 - 2048
country
string

Two-letter country code, e.g. "us". Default: all countries.

Pattern: ^[a-z]{2}$
mode
enum<string>

Scope of the target: exact (this URL only), prefix (URLs starting with the target), domain (the domain without subdomains), or subdomains (default — the domain and all its subdomains).

Available options:
exact,
prefix,
domain,
subdomains

Response

The result

range0Pages
number
required

Range0 pages: how many.

range100Pages
number

Range100 pages: how many.

range100Traffic
number

Range100 traffic.

range10kPages
number

Range10k pages: how many.

range10kPlusPages
number

Range10k plus pages: how many.

range10kPlusTraffic
number

Range10k plus traffic.

range10kTraffic
number

Range10k traffic.

range1kPages
number

Range1k pages: how many.

range1kTraffic
number

Range1k traffic.

range5kPages
number

Range5k pages: how many.

range5kTraffic
number

Range5k traffic.