Work with this as data
Every API 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 apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/openrevenue-com:openrevenue-com-analytics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: OpenRevenue Analytics API
version: 1.0.0
description: Account and project analytics REST API. Authenticate with an account API key (Bearer openrevenue_…). Keys may be read-only or read+write. Hosted MCP lives at https://mcp.openrevenue.com/mcp.
contact:
name: OpenRevenue
url: https://www.openrevenue.com
license:
name: Proprietary
servers:
- url: https://api.openrevenue.com
description: Production
security:
- BearerAuth: []
tags:
- name: Analytics
description: Read project analytics
paths:
/v1/projects/{domain}/stats:
get:
tags:
- Analytics
summary: Headline stats
operationId: getProjectStats
parameters:
- $ref: '#/components/parameters/Domain'
- $ref: '#/components/parameters/Period'
responses:
'200':
description: Aggregate stats for the period
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/timeseries:
get:
tags:
- Analytics
summary: Timeseries
operationId: getProjectTimeseries
parameters:
- $ref: '#/components/parameters/Domain'
- $ref: '#/components/parameters/Period'
responses:
'200':
description: Time-bucketed metrics
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/pages:
get:
tags:
- Analytics
summary: Top pages
operationId: getProjectPages
parameters:
- $ref: '#/components/parameters/Domain'
- $ref: '#/components/parameters/Period'
- $ref: '#/components/parameters/Limit'
responses:
'200':
description: Top pages
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/referrers:
get:
tags:
- Analytics
summary: Top referrers
operationId: getProjectReferrers
parameters:
- $ref: '#/components/parameters/Domain'
- $ref: '#/components/parameters/Period'
- $ref: '#/components/parameters/Limit'
responses:
'200':
description: Top referrers
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/countries:
get:
tags:
- Analytics
summary: Visitors by country
operationId: getProjectCountries
parameters:
- $ref: '#/components/parameters/Domain'
- $ref: '#/components/parameters/Period'
- $ref: '#/components/parameters/Limit'
responses:
'200':
description: Country breakdown
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/cities:
get:
tags:
- Analytics
summary: Visitors by city
operationId: getProjectCities
parameters:
- $ref: '#/components/parameters/Domain'
- $ref: '#/components/parameters/Period'
- $ref: '#/components/parameters/Limit'
responses:
'200':
description: City breakdown
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/devices:
get:
tags:
- Analytics
summary: Device breakdown
operationId: getProjectDevices
parameters:
- $ref: '#/components/parameters/Domain'
- $ref: '#/components/parameters/Period'
responses:
'200':
description: Devices / browsers / OS
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/browsers:
get:
tags:
- Analytics
summary: Browsers
operationId: getProjectBrowsers
parameters:
- $ref: '#/components/parameters/Domain'
- $ref: '#/components/parameters/Period'
- $ref: '#/components/parameters/Limit'
responses:
'200':
description: Browser breakdown
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/os:
get:
tags:
- Analytics
summary: Operating systems
operationId: getProjectOs
parameters:
- $ref: '#/components/parameters/Domain'
- $ref: '#/components/parameters/Period'
- $ref: '#/components/parameters/Limit'
responses:
'200':
description: OS breakdown
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/events:
get:
tags:
- Analytics
summary: Custom events
operationId: getProjectEvents
description: Custom event names ranked by count. Works with an API key (ClickHouse-backed).
parameters:
- $ref: '#/components/parameters/Domain'
- $ref: '#/components/parameters/Period'
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
default: 20
responses:
'200':
description: Custom events ranked by count
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/goals:
get:
tags:
- Analytics
summary: Goals with stats
operationId: getProjectGoals
description: Prefer a session Bearer token. API keys may receive an empty goals list because the underlying action is session-only.
parameters:
- $ref: '#/components/parameters/Domain'
- name: period
in: query
required: false
schema:
type: string
enum:
- today
- 7d
- 30d
- 6m
- 12m
default: 30d
responses:
'200':
description: Goals with current stats for the period
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/bots:
get:
tags:
- Analytics
summary: Bot traffic
operationId: getProjectBots
description: Prefer a session Bearer token. API keys may receive empty bot traffic because the underlying action is session-only.
parameters:
- $ref: '#/components/parameters/Domain'
- name: period
in: query
required: false
schema:
type: string
enum:
- today
- 7d
- 30d
- 6m
- 12m
default: 7d
- name: filter
in: query
required: false
schema:
type: string
enum:
- all
- ai_answer
- indexing
- training
- other
default: all
responses:
'200':
description: Bot traffic totals, series, and top bots/pages
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/projects/{domain}/export:
get:
tags:
- Analytics
summary: Export CSV
operationId: exportProjectCsv
description: Downloads analytics as text/csv (overview, pages, referrers, countries, browsers, OS). Works with an API key.
parameters:
- $ref: '#/components/parameters/Domain'
- $ref: '#/components/parameters/Period'
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 500
default: 100
responses:
'200':
description: CSV download
content:
text/csv:
schema:
type: string
format: binary
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many requests
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
properties:
error:
type: string
required:
- error
parameters:
Limit:
name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
default: 10
Domain:
name: domain
in: path
required: true
schema:
type: string
example: example.com
description: Project domain
Period:
name: period
in: query
required: false
schema:
type: string
enum:
- 24h
- 7d
- 30d
- 90d
- 12m
- this_month
- this_week
default: 30d
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: openrevenue_…
description: Account API key from Account → API. Use a read-only key for analytics; write is required to create or delete projects.