published

Umami Analytics API

The Umami Analytics API provides developers with free access to website visitor and page view data through a privacy-friendly, open-source solution suitable for various applications.

null%Uptime
nullmsLatency
0Stars
API KeyAuth
NoCredit Card
RESTStyle
v1Version
API Endpoints

Reference for available routes, request structures, and live examples.

Retrieves pageview statistics for a website

Full Endpoint URL
http://localhost:3000/api/websites/{id}/pageviews
Implementation Example
curl -X GET 'http://localhost:3000/api/websites/{id}/pageviews' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Request Payload
{
  "unit": "day",
  "end_at": "2023-07-18",
  "start_at": "2023-07-01"
}
Expected Response
{
  "data": [
    {
      "date": "2023-07-01",
      "pageviews": 5678
    },
    {
      "date": "2023-07-02",
      "pageviews": 6123
    }
  ],
  "pageviews": 123456
}
Version:v1
Limit:120 requests/minute

Real-World Applications
  • {'items': ['Embed analytics into internal dashboards'Optimized Capability
  • 'Automate daily email or Slack reports of site traffic'Optimized Capability
  • 'Generate CLI tools for site performance tracking'Optimized Capability
  • 'Fetch event metrics for A/B testing analysis']}Optimized Capability

API Specifications

v1
Pricing Model
Free
Credit Card
Not Required
Response Formats
{'items': ['JSON']}
Supported Languages
5 Languages
SDK Support
REST Only
Rate Limit

1000 requests per minute

Use Case: Best For

Not Recommended For

#privacy#analytics

Explore Related APIs

Discover similar APIs to Umami Analytics API

View All APIs
FREEMIUM

Plausible Analytics API

Plausible Analytics API offers developers a straightforward way to access website analytics without compromising user privacy, making it an optimal choice for modern web applications.

AnalyticsView Details
OPEN SOURCE

DuckDuckGo Instant Answer API

The DuckDuckGo Instant Answer API offers developers free access to structured, instant answers for queries, suitable for various integrations without compromising user privacy.