MentionsAPI Billing API

Stripe Checkout and Customer Portal. Session JWT. Monthly is $5 for 1,000 credits; annual is $54 for 12,000 credits.

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 3

POST /v1/stripe/subscribe Start Checkout for the monthly or annual plan #
POST /v1/stripe/topup Start Checkout for a credit top-up pack #
POST /v1/stripe/portal Create a Stripe Billing Portal link #

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-billing-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-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mentions Billing 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: Billing
  description: Stripe Checkout and Customer Portal. Session JWT. Monthly is $5 for 1,000 credits; annual is $54 for 12,000 credits.
paths:
  /v1/stripe/subscribe:
    post:
      tags:
      - Billing
      operationId: createSubscriptionCheckout
      summary: Start Checkout for the monthly or annual plan
      description: Monthly is $5/mo for 1,000 credits. Annual is $54/yr for 12,000 credits granted up front. If the account already has a live subscription, the same plan returns 409 and a different plan returns a billing-portal URL instead of a second subscription.
      security:
      - sessionJwt: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubscribeRequest'
      responses:
        '200':
          description: Checkout or plan-change portal URL.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscribeResponse'
        '401':
          description: Missing or invalid session JWT.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Account is already subscribed to the requested plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/stripe/topup:
    post:
      tags:
      - Billing
      operationId: createTopupCheckout
      summary: Start Checkout for a credit top-up pack
      description: Packs are 1000, 5000, 10000, 25000, 50000, or 100000 credits. Monthly plans pay $4.00 per 1,000 credits; annual plans pay $3.00 per 1,000. Requires an active paid plan.
      security:
      - sessionJwt: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TopupRequest'
      responses:
        '200':
          description: Checkout URL for the pack.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopupResponse'
        '400':
          description: credits is not one of the supported pack sizes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid session JWT.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Top-ups require an active paid plan (subscription_required).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/stripe/portal:
    post:
      tags:
      - Billing
      operationId: createBillingPortal
      summary: Create a Stripe Billing Portal link
      description: Requires the account to already have a Stripe customer.
      security:
      - sessionJwt: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PortalRequest'
      responses:
        '200':
          description: Portal URL.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PortalResponse'
        '400':
          description: Account has no Stripe customer yet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid session JWT.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    TopupRequest:
      type: object
      required:
      - credits
      properties:
        credits:
          type: integer
          description: One of 1000, 5000, 10000, 25000, 50000, 100000.
          enum:
          - 1000
          - 5000
          - 10000
          - 25000
          - 50000
          - 100000
        success_url:
          type: string
          format: uri
        cancel_url:
          type: string
          format: uri
    SubscribeRequest:
      type: object
      required:
      - plan
      properties:
        plan:
          type: string
          enum:
          - monthly
          - annual
        success_url:
          type: string
          format: uri
        cancel_url:
          type: string
          format: uri
    SubscribeResponse:
      type: object
      required:
      - request_id
      - url
      properties:
        request_id:
          type: string
          format: uuid
        url:
          type: string
          format: uri
        plan:
          type: string
          enum:
          - monthly
          - annual
        portal:
          type: boolean
          description: True when url is a billing-portal plan-change link.
        message:
          type: string
    TopupResponse:
      type: object
      required:
      - request_id
      - url
      - credits
      - amount_cents
      properties:
        request_id:
          type: string
          format: uuid
        url:
          type: string
          format: uri
        credits:
          type: integer
        amount_cents:
          type: integer
          description: USD cents. $4.00/1k on monthly, $3.00/1k on annual.
    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
    PortalRequest:
      type: object
      properties:
        return_url:
          type: string
          format: uri
    PortalResponse:
      type: object
      required:
      - request_id
      - url
      properties:
        request_id:
          type: string
          format: uuid
        url:
          type: string
          format: uri
    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.