Swetrix website screenshot

Swetrix

Swetrix is an open source, privacy-focused web analytics platform that provides cookieless tracking, real-time dashboards, and GDPR-compliant analytics without collecting personal data. It offers a fully-featured REST API for tracking events, querying statistics, managing projects, and integrating analytics into custom applications.

Swetrix publishes 13 APIs on the APIs.io network, including Events API, Annotations API, Custom Events API, and 10 more. Tagged areas include Analytics, Cookieless Tracking, GDPR Compliant, Open Source, and Privacy.

The Swetrix catalog on APIs.io includes 1 JSON-LD context and 2 Spectral governance rulesets.

Swetrix’s developer surface includes authentication, documentation, engineering blog, pricing, GitHub presence, signup flow, support, and 17 more developer resources.

63.9/100 strong ▬ flat Agent 34/100 agent aware Full breakdown ↓
scored 2026-08-05 · rubric v0.9.1
AccessPaidSelf serveFree trial⚡ Free to try
13 APIs
AnalyticsCookieless TrackingGDPR CompliantOpen SourcePrivacyReal-Time AnalyticsWeb Analytics

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-05 · rubric v0.9.1
Composite quality — 63.9/100 · strong
Contract Quality 18.0 / 25
Developer Ergonomics 9.1 / 20
Commercial Clarity 16.8 / 20
Operational Transparency 5.5 / 13
Governance 7.0 / 12
Discoverability 7.4 / 10
Agent readiness — 34/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 7 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/swetrix: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 13

Individual APIs this provider publishes, each with its own machine-readable definition.

Swetrix Events API

The Swetrix Events API provides endpoints for recording pageview events, custom events, heartbeat events, error events, and revenue transactions. Used for sending analytics data...

Swetrix Annotations API

Manage chart annotations

Swetrix Custom Events API

Custom event analytics

Swetrix Errors API

Record JavaScript error events

Swetrix Feature Flags API

Feature flag evaluation statistics

Swetrix Funnels API

Manage conversion funnels

Swetrix Organisations API

Manage organisations and member access

Swetrix Performance API

Frontend and backend performance metrics

Swetrix Projects API

Manage analytics projects

Swetrix Revenue API

Record revenue transactions (server-side only, requires API key)

Swetrix Sessions API

Individual visitor session data

Swetrix Traffic API

Aggregated traffic and pageview analytics

Swetrix Views API

Manage saved dashboard views (segments)

Scroll for all 13

Postman Collections 12

Ready-to-run Postman collections for exercising this provider's APIs.

Scroll for all 12

Open Collections 3

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Swetrix Admin API

OPEN COLLECTION

Swetrix Events API

OPEN COLLECTION

Swetrix Statistics API

OPEN COLLECTION

Pricing Plans 1

Published pricing tiers and plan structures.

Swetrix Plans Pricing

10 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Swetrix Rate Limits

1 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Swetrix Context

30 classes · 6 properties

JSON-LD

Spectral Rules 2

Spectral governance rulesets for linting and validating these APIs.

Swetrix API Rules

5 rules · 3 warnings 2 info

SPECTRAL

Swetrix API Rules

9 rules · 2 errors 6 warnings

SPECTRAL

JSON Schema 2

Standalone JSON Schema definitions for this provider's data models.

Swetrix Project

12 properties

JSON SCHEMA

Swetrix Session

16 properties

JSON SCHEMA

JSON Structure 1

JSON Structure definitions describing this provider's data shapes.

Swetrix Project Structure

0 properties

JSON STRUCTURE

Examples 3

Example request and response payloads for these APIs.

Security Posture 3

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Swetrix Authentication

apiKey · 1 scheme

SECURITY

Swetrix Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Swetrix Vulnerability Disclosure

disclosure policy published

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Swetrix Agentic Access

49 operations · 25 acting

49 operations · 25 acting

AGENTIC

Resources

Get Started 2

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 2

MCP servers, agent skills, and machine-readable catalogs

Build 7

SDKs, sample code, and the tooling you integrate with

Scroll for all 7

Access & Security 3

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 3

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: swetrix
name: Swetrix
description: Swetrix is an open source, privacy-focused web analytics platform that provides cookieless tracking, real-time
  dashboards, and GDPR-compliant analytics without collecting personal data. It offers a fully-featured REST API for tracking
  events, querying statistics, managing projects, and integrating analytics into custom applications.
type: Index
accessModel:
  pricing: paid
  onboarding: self-serve
  trial: true
  try_now: true
  public: false
  label: Paid (free trial) · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/swetrix.png
tags:
- Analytics
- Cookieless Tracking
- GDPR Compliant
- Open Source
- Privacy
- Real-Time Analytics
- Web Analytics
url: https://raw.githubusercontent.com/api-evangelist/swetrix/refs/heads/main/apis.yml
created: '2026-03-26'
modified: '2026-05-19'
specificationVersion: '0.19'
apis:
- aid: swetrix:swetrix-events-api
  name: Swetrix Events API
  description: The Swetrix Events API provides endpoints for recording pageview events, custom events, heartbeat events, error
    events, and revenue transactions. Used for sending analytics data from client or server-side applications to Swetrix analytics
    projects.
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  properties:
  - type: Documentation
    url: https://swetrix.com/docs/events-api
  - type: OpenAPI
    url: https://raw.githubusercontent.com/api-evangelist/swetrix/refs/heads/main/openapi/swetrix-events-api-openapi.yml
  tags:
  - Analytics
  - Cookieless Tracking
  - Custom Events
  - Error Tracking
  - Events
  - Pageviews
  - Revenue Tracking
- aid: swetrix:swetrix-annotations-api
  name: Swetrix Annotations API
  description: Manage chart annotations
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Annotations
  properties:
  - type: OpenAPI
    url: openapi/swetrix-annotations-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
- aid: swetrix:swetrix-custom-events-api
  name: Swetrix Custom Events API
  description: Custom event analytics
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Custom Events
  properties:
  - type: OpenAPI
    url: openapi/swetrix-custom-events-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
- aid: swetrix:swetrix-errors-api
  name: Swetrix Errors API
  description: Record JavaScript error events
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Errors
  properties:
  - type: OpenAPI
    url: openapi/swetrix-errors-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
- aid: swetrix:swetrix-feature-flags-api
  name: Swetrix Feature Flags API
  description: Feature flag evaluation statistics
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Feature Flags
  properties:
  - type: OpenAPI
    url: openapi/swetrix-feature-flags-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
- aid: swetrix:swetrix-funnels-api
  name: Swetrix Funnels API
  description: Manage conversion funnels
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Funnels
  properties:
  - type: OpenAPI
    url: openapi/swetrix-funnels-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
- aid: swetrix:swetrix-organisations-api
  name: Swetrix Organisations API
  description: Manage organisations and member access
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Organisations
  properties:
  - type: OpenAPI
    url: openapi/swetrix-organisations-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
- aid: swetrix:swetrix-performance-api
  name: Swetrix Performance API
  description: Frontend and backend performance metrics
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Performance
  properties:
  - type: OpenAPI
    url: openapi/swetrix-performance-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
- aid: swetrix:swetrix-projects-api
  name: Swetrix Projects API
  description: Manage analytics projects
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Projects
  properties:
  - type: OpenAPI
    url: openapi/swetrix-projects-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
- aid: swetrix:swetrix-revenue-api
  name: Swetrix Revenue API
  description: Record revenue transactions (server-side only, requires API key)
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Revenue
  properties:
  - type: OpenAPI
    url: openapi/swetrix-revenue-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
- aid: swetrix:swetrix-sessions-api
  name: Swetrix Sessions API
  description: Individual visitor session data
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Sessions
  properties:
  - type: OpenAPI
    url: openapi/swetrix-sessions-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
- aid: swetrix:swetrix-traffic-api
  name: Swetrix Traffic API
  description: Aggregated traffic and pageview analytics
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Traffic
  properties:
  - type: OpenAPI
    url: openapi/swetrix-traffic-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
- aid: swetrix:swetrix-views-api
  name: Swetrix Views API
  description: Manage saved dashboard views (segments)
  humanURL: https://swetrix.com/docs/events-api
  baseURL: https://api.swetrix.com
  tags:
  - Views
  properties:
  - type: OpenAPI
    url: openapi/swetrix-views-api-openapi.yml
  - type: Documentation
    url: https://swetrix.com/docs/statistics-api
  - type: Documentation
    url: https://swetrix.com/docs/admin-api
common:
- type: PostmanWorkspace
  url: https://www.postman.com/kinlaneapi/swetrix/overview
- type: AgenticAccess
  url: agentic-access/swetrix-agentic-access.yml
- type: VulnerabilityDisclosure
  url: security/swetrix-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/swetrix-domain-security.yml
- type: Authentication
  url: authentication/swetrix-authentication.yml
- type: LinkedIn
  url: https://www.linkedin.com/company/swetrix
- type: Website
  url: https://swetrix.com
- type: Documentation
  url: https://docs.swetrix.com
- type: Blog
  url: https://swetrix.com/blog
- type: Pricing
  url: https://swetrix.com/pricing
- type: GitHub
  url: https://github.com/Swetrix/swetrix
- type: GitHubOrganization
  url: https://github.com/Swetrix
- type: Login
  url: https://swetrix.com/login
- type: Signup
  url: https://swetrix.com/signup
- type: Support
  url: https://swetrix.com/contact
- type: OpenSource
  url: https://github.com/Swetrix/swetrix-api
- type: SDKs
  url: https://github.com/Swetrix/swetrix-js
- type: SDKs
  url: https://github.com/Swetrix/swetrix-nextjs
- type: SDKs
  url: https://github.com/Swetrix/swetrix-browser
- type: SDKs
  url: https://github.com/Swetrix/django-plugin
- type: StatusPage
  url: https://swetrix.com/status
- type: TermsOfService
  url: https://swetrix.com/privacy
- type: PrivacyPolicy
  url: https://swetrix.com/privacy
- type: LlmsText
  url: https://swetrix.com/llms.txt
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com