OpenRevenue Account API

List and manage projects

GitHub OpenAPI

Operations 6

GET /v1/projects List projects #
POST /v1/projects Create project #
GET /v1/projects/{domain} Get project #
PATCH /v1/projects/{domain} Update project #
DELETE /v1/projects/{domain} Delete project #
POST /v1/projects/{domain}/install/verify Verify tracker install #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/openrevenue-com:openrevenue-com-account-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

openrevenue-com-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenRevenue Account 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: Account
  description: List and manage projects
paths:
  /v1/projects:
    get:
      tags:
      - Account
      summary: List projects
      operationId: listProjects
      responses:
        '200':
          description: Projects the key can access
          content:
            application/json:
              schema:
                type: object
                properties:
                  projects:
                    type: array
                    items:
                      $ref: '#/components/schemas/Project'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      tags:
      - Account
      summary: Create project
      operationId: createProject
      description: Requires a write-scoped API key.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - domain
              properties:
                name:
                  type: string
                  maxLength: 80
                domain:
                  type: string
                  example: example.com
                timeZone:
                  type: string
                  example: America/New_York
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key is read-only
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/projects/{domain}:
    get:
      tags:
      - Account
      summary: Get project
      operationId: getProject
      description: Returns project details including timezone, public stats flag, brand color, and install status.
      parameters:
      - $ref: '#/components/parameters/Domain'
      responses:
        '200':
          description: Project details
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  domain:
                    type: string
                  timeZone:
                    type: string
                  publicStatsEnabled:
                    type: boolean
                  brandColor:
                    type:
                    - string
                    - 'null'
                  icon:
                    type:
                    - string
                    - 'null'
                  installationSeenAt:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  createdAt:
                    type: string
                    format: date-time
                  isOwner:
                    type: boolean
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    patch:
      tags:
      - Account
      summary: Update project
      operationId: updateProject
      description: Requires a write-scoped API key. Only the project owner can update name, timeZone, or publicStatsEnabled.
      parameters:
      - $ref: '#/components/parameters/Domain'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  maxLength: 80
                timeZone:
                  type: string
                  example: America/New_York
                publicStatsEnabled:
                  type: boolean
      responses:
        '200':
          description: Updated project
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  domain:
                    type: string
                  timeZone:
                    type: string
                  publicStatsEnabled:
                    type: boolean
                  installationSeenAt:
                    type:
                    - string
                    - 'null'
                    format: date-time
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key is read-only
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found (or not owner)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      tags:
      - Account
      summary: Delete project
      operationId: deleteProject
      description: Requires a write-scoped API key and {"confirm":true} in the JSON body.
      parameters:
      - $ref: '#/components/parameters/Domain'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - confirm
              properties:
                confirm:
                  type: boolean
                  const: true
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
        '400':
          description: Missing confirm:true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key is read-only
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/projects/{domain}/install/verify:
    post:
      tags:
      - Account
      summary: Verify tracker install
      operationId: verifyProjectInstall
      description: Requires a write-scoped API key or session. Checks whether the project has received tracker events.
      parameters:
      - $ref: '#/components/parameters/Domain'
      responses:
        '200':
          description: Install check result
          content:
            application/json:
              schema:
                type: object
                properties:
                  verified:
                    type: boolean
                  installationSeenAt:
                    type:
                    - string
                    - 'null'
                    format: date-time
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key is read-only
          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:
    Project:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        domain:
          type: string
        timeZone:
          type: string
        createdAt:
          type: string
          format: date-time
        accessRole:
          type: string
          enum:
          - owner
          - admin
          - member
        icon:
          type:
          - string
          - 'null'
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
  parameters:
    Domain:
      name: domain
      in: path
      required: true
      schema:
        type: string
        example: example.com
      description: Project domain
  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.