Overview
The iCount API allows you to fetch your website's visitor statistics in JSON format. No API key or authentication required.
⚡ The API is free with rate limiting. Up to 60 requests per minute are allowed.
Get Statistics
GET
https://icount.kr/api.php
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Site identifier (e.g., myblog.com) |
format |
string | No | Response format: json (default), badge |
Example Request
cURL
curl "https://icount.kr/api.php?id=myblog.com"
Response
JSON
{
"today": {
"pv": 127,
"uv": 89
},
"yesterday": {
"pv": 234,
"uv": 156
},
"total": {
"pv": 12847,
"uv": 8234
},
"realtime": 5
}
Response Fields
| Field | Description |
|---|---|
today.pv |
Today's page views |
today.uv |
Today's unique visitors |
yesterday.pv |
Yesterday's page views |
yesterday.uv |
Yesterday's unique visitors |
total.pv |
Total page views |
total.uv |
Total unique visitors |
realtime |
Current online visitors |
Image Badge
Generate an image badge for embedding in README files or forums.
HTML
<img src="https://icount.kr/count.php?id=myblog.com&format=badge" alt="visitors">