Docs
문서 검색...⌘K

Chart

API + MCP엔터프라이즈 전용
POST/v3/site-explorer/traffic-chart

Requires the Traffic Analytics Enterprise add-on.

요청 본문

selectarray<string>Required

A list of fields to return.

Example:["field_a","field_b"]
targetstring (url)Required

The target of the search: a domain or a URL.

modestring

The scope of the target.

허용되는 값:exactprefixdomainsubdomains
Default:subdomains
protocolstring

The protocol of your target.

허용되는 값:bothhttphttps
Default:both
date_fromstring (date)

The first day of the period in YYYY-MM-DD format (UTC). The period defaults to the last 30 days with estimates and is clamped to the days with estimates. Must not be after date_to.

date_tostring (date)

The last day of the period in YYYY-MM-DD format (UTC).

granularitystring

The size of a data point: a day, a week (Monday to Sunday) or a calendar month.

허용되는 값:dailyweeklymonthly
Default:daily
whereobject

where filters the visits by the report's dimensions. On the dimensions, isubstring ignores the case and eq, prefix and suffix match it, but on search_term, which ignores it.

outputstring

The output format.

허용되는 값:jsonphp

응답

pointsarray<object>
bounce_ratenumber (float) or null

The estimated share of the visits that viewed a single page, as a percent.

datestring (date)

The first day of the data point.

pages_per_visitnumber (float) or null

The estimated number of page views per visit.

pageviewsinteger

The estimated number of page views.

partialboolean

Whether the data point reaches outside the period, in which case it counts only the days of the period.

visit_durationinteger or null

The estimated average visit duration, in seconds. Visits of a single page, whose length is unknown, are left out.

visitorsinteger

The estimated number of unique visitors, counted per day: a person who visits on two days counts twice.

visitsinteger

The estimated number of visits in the period. Visits that enter from the target's own website are not counted.