---
title: "Get Blog Traffic"
method: GET
path: "/blogs/analytics/traffic"
tags: ["Analytics"]
---

# Get Blog Traffic

`GET /blogs/analytics/traffic`

Get blog-wide traffic data with daily or hourly granularity. Includes visits, clicks, organic traffic, and page type breakdowns.

## Query parameters

- `start_date` string, date
- `end_date` string, date
- `interval` 'day' | 'hour'
- `type` 'all' | 'home' | 'post' | 'category' | 'author'

## Response `200`

Traffic data retrieved successfully

- TrafficResponse
  - `data` TrafficRow[] — Traffic time-series rows for the requested date range.
    - `date` string — Date or datetime of the data point
    - `visits` integer — Total visits
    - `clicks` integer — Total clicks
    - `organic` integer — Organic search visits
    - `home` integer — Home page visits
    - `post` integer — Post page visits
    - `category` integer — Category page visits
    - `author` integer — Author page visits
  - `meta` DateRangeMeta
    - `start_date` string, date — Start date of the data range
    - `end_date` string, date — End date of the data range
    - `total` integer — Total number of results

## Other responses

- `401` — Authentication failed
- `403` — Insufficient permissions
- `500` — 서버 내부 오류

---

[API](https://skmtc.dev/inblog/apis/inblog-api.md) · [All operations](https://skmtc.dev/inblog/apis/inblog-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inblog/inblog-api/revisions/445daf773d30/schema)
