CheckStat API counter released
Today we’re launching the CheckStat API counter. This is an easy way to bring your website stats into your own dashboards, scripts, and reports.
What you can do with the API:
- Fetch hourly and daily numbers (visitors, page views, session duration).
- View user activity for the last 3 hours, 24 hours, or 30 days.
- Group results by country, city, browser, OS, device type, referrer, and more.
- Get 30-day aggregates like top countries, operating systems, and traffic sources.
How it works
- Add your website to CheckStat and note its
site_id
. - Copy your personal
access key
from your profile. - Send requests with
site_id
andkey
.
Use optional timezone
and domain
to show data in your local time and refine traffic sources when needed.
Examples
- Today’s hourly stats:
GET https://checkstat.net/includes/api/get_today_widget.php?site_id=1&key=YOUR_KEY&timezone=Europe/Kiev
- Last 30 days, grouped by country:
GET https://checkstat.net/includes/api/get_visits.php?site_id=1&key=YOUR_KEY&group=country
- User activity for the last 24 hours:
GET https://checkstat.net/includes/api/get_lastactivity.php?site_id=1&key=YOUR_KEY&period=1440
Why it’s useful
With API you can:
- View your website statistics directly from your website without going to CheckStat.
- Automate tracking of traffic and engagement.
- Compare sources, devices, and countries without opening the panel.
Getting started
Open your account, copy the access key, and try the example requests above. If you run into questions, message our team – we’re here to help.
Build the reports you need, fast: stable endpoints, clean JSON, and timezone support.
Authentication & access
Use your site_id
and personal key
from the profile page. Keep the key private (don’t ship it in client-side code). All calls use HTTPS.
Add timezone
(e.g., Europe/Kiev
) to align hours and days with your local time. Use domain
to fine-tune referral sources when needed.
Errors & limits
Each response includes success
; on errors you’ll also get an error_message
. Invalid parameters return 4XX; server issues return 5XX.
Very frequent calls may be rate-limited. Cache where possible and back off on retries. Need help? Contact support and share the endpoint and time window (never your key).