Passport.Me Analytics API

Product analytics beacon (fire-and-forget).

GitHub OpenAPI

Operations 1

POST /api/passport/metrics/event Fire a product-analytics event #

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/passport-me:passport-me-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

passport-me-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Passport.Me Analytics API
  version: 1.1.0
  summary: Identity-backed data bridge — Gmail, Calendar, Drive, Docs, Sheets, Contacts, wallet activity, and portable AI memories as MCP tools.
  description: 'Passport.Me exposes three authentication surfaces:


    1. **Public discovery endpoints** — no auth. Landing, icons, bonus, health, catalog, metrics beacon.

    2. **Session-cookie endpoints** — browser dashboard at `my.passport.me`. Set-Cookie after Google OAuth / wallet connect.

    3. **OAuth 2.1 endpoints** — remote agents (Claude, ChatGPT, Cursor) register via DCR at `/register`, then authorize against `/oauth/authorize` for the `passport.mcp` scope. Present the access token as `Authorization: Bearer` against `https://mcp.passport.me`.


    Full discovery via `/.well-known/api-catalog`. OAuth metadata at `/.well-known/oauth-authorization-server`.'
  contact:
    name: Passport.Me
    url: https://passport.me
    email: support@passport.me
  license:
    name: Terms of Service
    url: https://passport.me/terms
servers:
- url: https://passport.me
  description: Passport.Me public API + dashboard surface
- url: https://mcp.passport.me/mcp
  description: MCP streamable HTTP endpoint (OAuth-gated)
tags:
- name: Analytics
  description: Product analytics beacon (fire-and-forget).
paths:
  /api/passport/metrics/event:
    post:
      operationId: emitMetricsEvent
      tags:
      - Analytics
      summary: Fire a product-analytics event
      description: Fire-and-forget beacon. Event names are allowlisted server-side (see body schema). Rate-limited 300 events / 5 min / IP. Response is 204 on success; unknown event names return 400.
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricsEvent'
      responses:
        '204':
          description: Accepted (no body).
        '400':
          description: Invalid request payload.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate-limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
    MetricsEvent:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          enum:
          - landing_cta_click
          - trust_section_view
          - landing_slide_view
          - landing_scroll_depth
          - first_run_promise_view
          - first_run_step_click
          - welcome_dismiss
          - sidebar_nav_click
          - developer_section_view
        path:
          type: string
          maxLength: 128
        props:
          type: object
          description: Shallow properties. Only string/number/boolean values accepted. Total JSON capped at 512 bytes.
          additionalProperties:
            oneOf:
            - type: string
              maxLength: 128
            - type: number
            - type: boolean
  securitySchemes:
    passportOAuth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://passport.me/oauth/authorize
          tokenUrl: https://passport.me/oauth/token
          refreshUrl: https://passport.me/oauth/token
          scopes:
            passport.mcp: Call MCP tools against the user's Passport (read-only).
    passportSession:
      type: apiKey
      in: cookie
      name: passport_session
      description: Session cookie issued after Google OAuth or wallet connect. Not intended for agent use — open `https://my.passport.me` in a browser to obtain one.
externalDocs:
  description: Agent skills, MCP server card, and full discovery catalog
  url: https://passport.me/.well-known/api-catalog