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 event-driven AsyncAPI specification, 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 52 more developer resources.

78.6/100 exemplar ▬ flat Agent 34/100 agent ready Full breakdown ↓
scored 2026-08-25 · rubric v0.14.0
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-25 · rubric v0.14.0
Composite quality — 78.6/100 · exemplar
Contract Quality 19.2 / 25
Developer Ergonomics 17.5 / 20
Access Clarity 17.1 / 20
Operational Transparency 9.6 / 13
Contract Governance 7.1 / 12
Discoverability 8.2 / 10
Agent readiness — 34/100 · agent ready
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
Documented Reversibility 0 / 6
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 9 / 9
Stable Error Semantics 8 / 8
Request/Response Examples 7 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 6 / 6
Agent Skills 5 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Delegated User Identity 0 / 6
Protected Resource Metadata 0 / 5
Registration Without a Human 0 / 6
Agentic Commerce Surface 0 / 5
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 16

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

API Collection

OPEN COLLECTION

Swetrix Admin API

OPEN COLLECTION

Swetrix Statistics API

OPEN COLLECTION

Scroll for all 16

Pricing Plans 1

Published pricing tiers and plan structures.

Swetrix Plans Pricing

3 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Swetrix Rate Limits

3 limits

RATE LIMITS

FinOps 1

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

Event Specifications 1

AsyncAPI definitions for this provider's event-driven and streaming APIs.

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

Hackerone · contact 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 5

Portal, sign-up, and the first successful call

Documentation 4

Reference material describing how the API behaves

Agent Surfaces 4

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 13

Pagination, idempotency, versioning, errors, and events

Scroll for all 13

Build 10

SDKs, sample code, and the tooling you integrate with

Scroll for all 10

Access & Security 5

Authentication, authorization, and security posture

Operate 7

Status, limits, changes, and where to get help

Scroll for all 7

Commercial 5

Pricing, plans, and the legal terms of use

Company 4

The organization behind the API

Other 2

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
tags_raw:
- 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-08-13'
specificationVersion: '0.23'
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
  - type: Overlay
    url: overlays/swetrix-events-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-events-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-events-api.opencollection.json
  tags:
  - Analytics
  - Cookieless Tracking
  - Custom Events
  - Error Tracking
  - Event
  - Page Views
  - Revenue Tracking
  tags_raw:
  - 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/admin-api
  baseURL: https://api.swetrix.com
  tags:
  - Annotations
  properties:
  - type: OpenAPI
    url: openapi/swetrix-annotations-api-openapi.yml
  - type: Overlay
    url: overlays/swetrix-annotations-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-annotations-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-annotations-api.opencollection.json
  - 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/statistics-api
  baseURL: https://api.swetrix.com
  tags:
  - Custom Events
  properties:
  - type: OpenAPI
    url: openapi/swetrix-custom-events-api-openapi.yml
  - type: Overlay
    url: overlays/swetrix-custom-events-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-custom-events-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-custom-events-api.opencollection.json
  - 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/statistics-api
  baseURL: https://api.swetrix.com
  tags:
  - Errors
  properties:
  - type: OpenAPI
    url: openapi/swetrix-errors-api-openapi.yml
  - type: Overlay
    url: overlays/swetrix-errors-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-errors-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-errors-api.opencollection.json
  - 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/statistics-api
  baseURL: https://api.swetrix.com
  tags:
  - Feature Flags
  properties:
  - type: OpenAPI
    url: openapi/swetrix-feature-flags-api-openapi.yml
  - type: Overlay
    url: overlays/swetrix-feature-flags-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-feature-flags-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-feature-flags-api.opencollection.json
  - 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/admin-api
  baseURL: https://api.swetrix.com
  tags:
  - Funnels
  properties:
  - type: OpenAPI
    url: openapi/swetrix-funnels-api-openapi.yml
  - type: Overlay
    url: overlays/swetrix-funnels-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-funnels-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-funnels-api.opencollection.json
  - 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/admin-api
  baseURL: https://api.swetrix.com
  tags:
  - Organisations
  properties:
  - type: OpenAPI
    url: openapi/swetrix-organisations-api-openapi.yml
  - type: Overlay
    url: overlays/swetrix-organisations-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-organisations-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-organisations-api.opencollection.json
  - 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/statistics-api
  baseURL: https://api.swetrix.com
  tags:
  - Performance
  properties:
  - type: OpenAPI
    url: openapi/swetrix-performance-api-openapi.yml
  - type: Overlay
    url: overlays/swetrix-performance-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-performance-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-performance-api.opencollection.json
  - 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/admin-api
  baseURL: https://api.swetrix.com
  tags:
  - Project
  tags_raw:
  - Projects
  properties:
  - type: OpenAPI
    url: openapi/swetrix-projects-api-openapi.yml
  - type: Overlay
    url: overlays/swetrix-projects-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-projects-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-projects-api.opencollection.json
  - 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: Overlay
    url: overlays/swetrix-revenue-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-revenue-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-revenue-api.opencollection.json
  - 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/statistics-api
  baseURL: https://api.swetrix.com
  tags:
  - Sessions
  properties:
  - type: OpenAPI
    url: openapi/swetrix-sessions-api-openapi.yml
  - type: Overlay
    url: overlays/swetrix-sessions-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-sessions-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-sessions-api.opencollection.json
  - 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/statistics-api
  baseURL: https://api.swetrix.com
  tags:
  - Traffic
  properties:
  - type: OpenAPI
    url: openapi/swetrix-traffic-api-openapi.yml
  - type: Overlay
    url: overlays/swetrix-traffic-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-traffic-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-traffic-api.opencollection.json
  - 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/admin-api
  baseURL: https://api.swetrix.com
  tags:
  - Views
  properties:
  - type: OpenAPI
    url: openapi/swetrix-views-api-openapi.yml
  - type: Overlay
    url: overlays/swetrix-views-api-overlay.yaml
  - type: PostmanCollection
    url: postman/swetrix-views-api.postman_collection.json
  - type: OpenCollection
    url: collections/swetrix-views-api.opencollection.json
  - 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: JavaScript SDK
  url: https://www.npmjs.com/package/swetrix
- type: Node.js SDK
  url: https://www.npmjs.com/package/@swetrix/node
- type: StatusPage
  url: https://status.swetrix.com/
- type: TermsOfService
  url: https://swetrix.com/terms
- type: PrivacyPolicy
  url: https://swetrix.com/privacy
- type: LlmsText
  url: https://swetrix.com/llms.txt
- type: Packages
  url: packages/swetrix-packages.yml
- type: SDKs
  url: packages/swetrix-packages.yml
- type: LLMsTxt
  url: llms/swetrix-llms.txt
- type: Conventions
  url: conventions/swetrix-conventions.yml
- type: Idempotency
  url: conventions/swetrix-conventions.yml
- type: ErrorCatalog
  url: errors/swetrix-problem-types.yml
- type: Lifecycle
  url: lifecycle/swetrix-lifecycle.yml
- type: ChangeLog
  url: changelog/swetrix-changelog.yml
- type: ChangeLog
  url: https://github.com/Swetrix/swetrix/releases
- type: Conformance
  url: conformance/swetrix-conformance.yml
- type: Compliance
  url: https://swetrix.com/dpa
- type: Security
  url: https://swetrix.com/security
- type: Sandbox
  url: sandbox/swetrix-sandbox.yml
- type: Components
  url: components/swetrix-components.yml
- type: DataModel
  url: data-model/swetrix-data-model.yml
- type: Webhooks
  url: asyncapi/swetrix-alerts-webhooks.yml
- type: AgentSkill
  url: skills/_index.yml
- type: RateLimits
  url: rate-limits/swetrix-rate-limits.yml
- type: Plans
  url: plans/swetrix-plans-pricing.yml
- type: FinOps
  url: finops/swetrix-finops.yml
- type: Vocabulary
  url: vocabulary/swetrix-vocabulary.yml
- type: SpectralRules
  url: rules/swetrix-rules.yml
- type: SpectralRules
  url: rules/swetrix-jsonschema-spectral-rules.yml
- type: JSONSchema
  url: json-schema/swetrix-project-schema.json
- type: JSONSchema
  url: json-schema/swetrix-session-schema.json
- type: JSONStructure
  url: json-structure/swetrix-project-structure.json
- type: JSONLDContext
  url: json-ld/swetrix-context.jsonld
- type: Examples
  url: examples/swetrix-create-project-example.json
- type: Examples
  url: examples/swetrix-record-pageview-example.json
- type: Examples
  url: examples/swetrix-get-traffic-log-example.json
- type: DeveloperPortal
  url: https://swetrix.com/docs
- type: APIReference
  url: https://swetrix.com/docs/statistics-api
- type: GettingStarted
  url: https://swetrix.com/docs/install-script
- type: Roadmap
  url: https://github.com/Swetrix/swetrix/issues
- type: Discord
  url: https://discord.gg/ZVK8Tw2E8j
- type: X (Twitter)
  url: https://x.com/swetrix
- type: DataPolicy
  url: https://swetrix.com/data-policy
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
x-enrichment:
  date: '2026-08-13'
  status: enriched
  artifacts_added: 31
  pass: local-v1

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/swetrix"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/swetrix/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/swetrix/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.