GoatCounter
GoatCounter is open-source, privacy-friendly web analytics from Martin Tournoij, offered both as a free donation-supported hosted service at goatcounter.com and as a self-hostable Go binary backed by SQLite or PostgreSQL. It tracks pageviews without cookies or persistent personal identifiers. The unversioned JSON API, prefixed /api/v0 and served from each account's own subdomain, covers counting pageviews and events from a backend, reading dashboard statistics (totals, per-path hits, referrals, browser/system/location breakdowns), running asynchronous CSV and JSON exports with an incremental hit-ID cursor, and managing sites and users. Authentication is a per-site API key sent as an HTTP bearer token, and the provider publishes its own OpenAPI 2.0 contract at https://www.goatcounter.com/api.json.
GoatCounter publishes 9 API contracts indexed on the APIs.io network, including Exports API, Pageviews API, Paths API, and 6 more. Tagged areas include Analytics, Page Views, Privacy, Statistics, and Web Analytics.
The GoatCounter catalog on APIs.io includes 1 Spectral governance ruleset.
GoatCounter’s developer surface includes authentication, documentation, signup flow, API reference, getting-started guide, support, pricing, and 28 more developer resources.
What this lets a business do 1
Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →
Kin Score
Standards implemented 1
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
APIs 9
Individual APIs this provider publishes, each with its own machine-readable definition.
GoatCounter Exports API
The Exports API from GoatCounter — 3 operation(s) for exports.
GoatCounter Pageviews API
The Pageviews API from GoatCounter — 1 operation(s) for pageviews.
GoatCounter Paths API
The Paths API from GoatCounter — 1 operation(s) for paths.
GoatCounter Sites API
The Sites API from GoatCounter — 2 operation(s) for sites.
GoatCounter Statistics API
The Statistics API from GoatCounter — 5 operation(s) for statistics.
GoatCounter Users API
The Users API from GoatCounter — 1 operation(s) for users.
GoatCounter Count API
The count API from GoatCounter — 1 operation(s) for count.
GoatCounter Export API
The export API from GoatCounter — 3 operation(s) for export.
GoatCounter Stats API
The stats API from GoatCounter — 5 operation(s) for stats.
Scroll for all 9
Open Collections 7
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
GoatCounter Exports API
OPEN COLLECTIONGoatCounter Exports Pageviews API
OPEN COLLECTIONGoatCounter Exports Paths API
OPEN COLLECTIONGoatCounter Exports Sites API
OPEN COLLECTIONGoatCounter Exports Statistics API
OPEN COLLECTIONGoatCounter Exports Users API
OPEN COLLECTIONGoatCounter API
OPEN COLLECTIONScroll for all 7
Agent Skills 4
Packaged agent skills for driving this provider's APIs from an AI assistant.
Count pageviews from a backend
AGENT SKILLGoatCounter API pricing
Prices published by GoatCounter. A free plan or tier is listed.
| Plan | Price |
|---|---|
| Hosted (goatcounter.com) free | Free |
Plan details, limits and sources →
Rate limits
- JSON API default: 4 requests per second
Pricing Plans 1
Published pricing tiers and plan structures.
Rate Limits 1
Documented rate limits and quota policies.
Goatcounter Rate Limits
RATE LIMITSService Levels 1
Uptime the provider promises or reports, as SLA4OAI. Read from its own pages; APIs.io runs no monitors.
GoatCounter
SLAFinOps 1
Cost, billing, and metering signals for API financial operations.
Goatcounter Finops
FINOPSSpectral Rules 1
Spectral governance rulesets for linting and validating these APIs.
GoatCounter API Rules
SPECTRALOpenAPI Overlays 1
Overlays applied on top of this provider's contracts. Each card says who wrote it: a document the provider publishes, or one API Evangelist derived or generated.
Goatcounter Api Overlay
DERIVEDSecurity Posture 3
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 3
Portal, sign-up, and the first successful call
Documentation 3
Reference material describing how the API behaves
Agent Surfaces 3
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 6
Pagination, idempotency, versioning, errors, and events
Build 3
SDKs, sample code, and the tooling you integrate with
Access & Security 5
Authentication, authorization, and security posture
Operate 4
Status, limits, changes, and where to get help
Commercial 5
Pricing, plans, and the legal terms of use
Company 1
The organization behind the API
Other 2
Properties that don't map to a standard resource type
Source (apis.yml)
GoatCounter API — frequently asked questions
Does GoatCounter have an API?
Yes. APIs.io lists 9 APIs from GoatCounter, including GoatCounter Exports API, GoatCounter Pageviews API and GoatCounter Paths API, and 6 more.
Is there an OpenAPI specification for the GoatCounter API?
Yes. APIs.io indexes 9 OpenAPI specifications for GoatCounter, each linked for download from this page.
How do I authenticate with the GoatCounter API?
GoatCounter uses bearer-token authentication (http · 2 schemes). The details are profiled on APIs.io as Goatcounter Authentication.
How much does the GoatCounter API cost?
APIs.io lists 1 pricing plan for GoatCounter, with each plan's price, limits and inclusions under Pricing on this page.
Is the GoatCounter API ready for AI agents?
GoatCounter has a Kin Score of 53.2 out of 100 (developing) and an Agent Readiness score of 28.4 (agent-aware), scored by API Evangelist on 2026-11-06.
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.