Skip to content
Coritan Docs

View a website's traffic

Read the requests that reach a domain's hostnames through our network, by hour and by hostname, on the Overview tab or through the API.

View as Markdown

Our network counts the requests to each hostname it serves for you, hour by hour. Read the counts to see how busy the site is, which hostname takes the traffic, how many requests our network blocked and when your origin failed. The Traffic card on a website's Overview tab shows them, and the API answers the same counts.

  • The domain, or a name under it, has a web proxy. A proxied A or AAAA record on the DNS tab gives its name one (Proxied records), and the Origin tab sets one up for any server (Manage a website's origin). A domain without one has no traffic to show, and a deployment's domains are not counted here.
  • Every team role can read the counts. For the API, you need an access token or an account API key (Authentication).

Read the traffic in the dashboard

Section titled Read the traffic in the dashboard
  1. In the dashboard, go to Domain Management and select the domain. The Overview tab opens.
  2. Scroll down past Status and Hostnames to Traffic.
  3. Choose a range: 24 hours, 7 days or 30 days. The card opens on 24 hours.
  4. Read the four figures for the range:
    • Requests: every request our network answered for the domain's hostnames.
    • Blocked by our network: the requests our network refused to protect the site. Select What blocks a request under the figure to read what refuses them.
    • Data served: what our network sent to visitors.
    • Errors from your origin (5xx): the answers with a 5xx status. Select What counts as an error under the figure to read what causes one.
  5. Read the Requests over time chart. It draws the requests each hour, and how many of them our network blocked. Hold the pointer over the chart to read one hour.
  6. Read By hostname, which lists each hostname's Requests, Blocked, Data served and Errors (5xx) for the range, the busiest first. Select a hostname to open its Origin tab.

On the Free plan, 7 days and 30 days show an offer in place of the figures: Up to 30 days of traffic come with the Pro plan, with the plan's price and Upgrade to Pro, which opens the page that orders Pro. Pro, Business and Enterprise show every range (How account plans work). While account plans do not apply to your account, every domain shows every range (Plans open in stages).

The counts cover the domain and every hostname under it: example.com takes in shop.example.com, but not notexample.com. Each hostname is one web proxy.

Requests, requests in the API
Every request our network answered, blocked ones included.
Blocked by our network, blocked in the API
Requests our network refused with 403 or 429 to protect the site: the WAF, your own rules and settings such as hotlink protection, and rate limits (Protect a website). They count in Requests too.
Data served, bytes_out in the API
What our network sent to visitors.
Errors from your origin (5xx), status_5xx in the API
Answers with a 5xx status: your origin failed, or our network could not reach it.

Some requests are not counted:

  • A request our network answers with a challenge page. Once the visitor passes the challenge, their requests count.
  • During an attack, our network keeps counting the requests it blocks and stops counting the ones it passes to your origin.
  • Deleting a web proxy deletes its counts.

The counts come in whole UTC hours, and the range ends with the current hour: 24 hours means the current hour and the 23 before it. A request appears in the counts within about two minutes, so the current hour fills in as it passes.

On the Free plan, the counts reach back 24 hours. Pro, Business and Enterprise reach back 30 days.

The figures, the chart and By hostname cover the range you chose. The card says when it has nothing to show:

No traffic yet
No hostname in the domain has a web proxy. Proxy a DNS record opens the DNS tab, where you turn Proxied on for an A or AAAA record, and Set up a web proxy opens the Origin tab. A domain whose DNS is hosted elsewhere offers only Set up a web proxy.
No requests in this period
Our network answered no request for the domain's hostnames in the range.
No requests in this period, or every count is zero
No request reached the domain's hostnames in the range, or the newest requests have not arrived yet. Check on the Overview tab's Hostnames card that a hostname reads Through our network, then choose a longer range. Through the API, an empty hostnames list means that no web proxy of yours is on the domain or under it.
The newest requests are missing
A request appears in the counts within about two minutes. Look again a little later.
Could not load the traffic
The request for the counts failed, and the card shows the reason under the title. Select Try again.
A plan prompt opens and the range goes back to 24 hours
Your plan shows the last 24 hours of traffic. Move to a larger plan to see 7 or 30 days (Choose or change your account plan).
402 with entitlement_exceeded
The same refusal through the API. Ask for hours of 24 or less, or move to a larger plan.
404 with You have no route with ID 9 under example.com.
The route_id is not one of your web proxies, or its hostname is not the domain or under it. Take the ID from hostnames.

Read the last hours hours, from 1 to 720 (24 when you leave it out), for a domain and every name under it:

Shell
curl "https://api.coritan.com/api/v1/proxy/traffic?domain=example.com&hours=24" \
  -H "Authorization: Bearer $CORITAN_TOKEN"
JSON
{
  "domain": "example.com",
  "hours": 24,
  "since": "2026-09-14T15:00:00Z",
  "hostnames": [
    {"route_id": 41, "hostname": "example.com"},
    {"route_id": 42, "hostname": "shop.example.com"}
  ],
  "totals": {
    "requests": 18250,
    "blocked": 412,
    "bytes_in": 14965000,
    "bytes_out": 873400000,
    "status_2xx": 15980,
    "status_3xx": 1460,
    "status_4xx": 760,
    "status_5xx": 50,
    "websocket_connections": 0,
    "latency_avg_ms": 44
  },
  "series": [
    {"hour": "2026-09-14T15:00:00Z", "requests": 1210, "blocked": 31, "bytes_out": 57800000, "status_4xx": 52, "status_5xx": 0}
  ],
  "by_hostname": [
    {"route_id": 41, "hostname": "example.com", "requests": 14100, "blocked": 380, "bytes_out": 640200000, "status_5xx": 41},
    {"route_id": 42, "hostname": "shop.example.com", "requests": 4150, "blocked": 32, "bytes_out": 233200000, "status_5xx": 9}
  ]
}
domain
The domain, such as example.com, or one hostname, such as shop.example.com, from 1 to 253 characters. Case and a trailing dot make no difference.
hours
How many hours to cover, from 1 to 720. More than 24 needs the Pro plan or above while account plans apply to your account.
route_id
Optional. One web proxy's route ID from hostnames, to narrow totals and series to its hostname. hostnames and by_hostname still list every hostname.

In the answer, since is the start of the oldest hour, and every time is UTC in ISO 8601. hostnames lists the domain first, then the rest by name. totals sums the range. series holds one entry per hour, oldest first, with zeros for an hour without traffic, so it always has hours entries. by_hostname lists every hostname with its sums, busiest first.

Besides the four counts on the card, totals holds:

bytes_in
What visitors sent to our network, in bytes. bytes_out is what our network sent back.
status_2xx, status_3xx and status_4xx
Answers by status class, beside status_5xx. status_4xx includes the blocked requests.
websocket_connections
WebSocket connections our network opened between a visitor and your origin.
latency_avg_ms
How long our network took to answer a request, on average, in milliseconds. Each hour counts as much as its requests, and the value is null when there were no requests.

On the Free plan, hours above 24 answers 402 with entitlement_exceeded:

JSON
{
  "detail": {
    "code": "entitlement_exceeded",
    "entitlement": "site_analytics",
    "limit": false,
    "used": 0,
    "upgrade": {"plan": "plan-pro", "addon": null},
    "message": "Your Free plan shows the last 24 hours of traffic. To see up to 30 days, upgrade to Pro."
  }
}

Ask again with hours of 24 or less. upgrade.plan is the plan that shows up to 30 days (When you reach a limit). A route_id that is not yours, or not under domain, answers 404, and hours outside 1 to 720 answers 422.

API operations on this page

MethodPathWhat it does
GET/api/v1/proxy/trafficRequests your web proxies served for a domain, by hour and by hostname