MentionsAPI Usage API

Historical usage reporting for the calling account.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /v1/usage Account usage report #

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/mentionsapi-com:mentionsapi-com-usage-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

mentionsapi-com-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mentions Usage API
  version: 1.0.0
  description: Unified API for tracking brand mentions across ChatGPT, Claude, Gemini, Perplexity, and live AI search surfaces (Google AI Overviews, AI Mode, Bing Copilot). The primary call is POST /v1/check. POST /v1/ask remains mounted for existing integrations. Built for GEO tool builders, SEO agencies, and brand monitoring teams.
  contact:
    name: MentionsAPI Support
    email: hello@mentionsapi.com
    url: https://mentionsapi.com/docs
  license:
    name: Proprietary
    url: https://mentionsapi.com/legal/terms
servers:
- url: https://api.mentionsapi.com
  description: Production
security:
- bearerAuth: []
tags:
- name: Usage
  description: Historical usage reporting for the calling account.
paths:
  /v1/usage:
    get:
      tags:
      - Usage
      operationId: getUsage
      summary: Account usage report
      description: Return rollups of usage_events for the calling account, bucketed by day, hour, or a single total. Default window is the last 30 days.
      security:
      - bearerAuth: []
      parameters:
      - name: start
        in: query
        description: ISO 8601 start of the window.
        schema:
          type: string
          format: date-time
      - name: end
        in: query
        description: ISO 8601 end of the window.
        schema:
          type: string
          format: date-time
      - name: granularity
        in: query
        description: Bucket size for the returned series.
        schema:
          type: string
          enum:
          - day
          - hour
          - total
          default: day
      responses:
        '200':
          description: Usage report.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageReport'
        '400':
          description: Invalid window (e.g. start ≥ end).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing, malformed, or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    UsageBucket:
      type: object
      required:
      - requests
      - billable_units
      - cache_hits
      - errors
      - provider_breakdown
      properties:
        requests:
          type: integer
          minimum: 0
        billable_units:
          type: integer
          minimum: 0
        cache_hits:
          type: integer
          minimum: 0
        errors:
          type: integer
          minimum: 0
        provider_breakdown:
          type: object
          additionalProperties:
            type: integer
    ErrorObject:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          example: insufficient_credits
        message:
          type: string
          example: Insufficient credits. Subscribe or top up at https://mentionsapi.com/app/billing
        balance_cents:
          type: integer
        required_cents:
          type: integer
    UsageReport:
      type: object
      required:
      - request_id
      - account_id
      - window
      - total
      - series
      properties:
        request_id:
          type: string
          format: uuid
        account_id:
          type: string
          format: uuid
        plan:
          type: string
        window:
          type: object
          properties:
            start:
              type: string
              format: date-time
            end:
              type: string
              format: date-time
            granularity:
              type: string
              enum:
              - day
              - hour
              - total
        total:
          $ref: '#/components/schemas/UsageBucket'
        series:
          type: array
          items:
            allOf:
            - type: object
              properties:
                bucket:
                  type: string
              required:
              - bucket
            - $ref: '#/components/schemas/UsageBucket'
        monthly_quota:
          type: integer
          nullable: true
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorObject'
        request_id:
          type: string
          format: uuid
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Send your API key as ''Authorization: Bearer <token>''. Create and manage keys in your dashboard.'
    sessionJwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase session JWT for the logged-in dashboard user. Used by /v1/keys, /v1/webhooks, /v1/monitors, and /v1/stripe/*. Not an API key.