QuantifyMe Auth API

Trial keys, personal keys, identity.

GitHub OpenAPI

Operations 5

GET /api/v1/caps Current usage caps for the authenticated key (daily compute/generation limits… #
POST /api/v1/key/generate Generate or rotate a personal API key (logged-in users) #
POST /api/v1/key/trial Create an anonymous trial API key (no signup). #
GET /api/v1/key/usage Get current key's credit balance and usage history #
GET /api/v1/whoami-key Resolve session cookie or X-API-Key into the user's identity #

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/quantifyme-ai:quantifyme-ai-auth-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

quantifyme-ai-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Quantifyme Ai Auth API
  version: 1.0.0
  contact:
    email: support@quantifyme.ai
    name: QuantifyMe
    url: https://quantifyme.ai
  license:
    name: MIT
  description: 'Operations tagged Auth across 2 of this provider''s published API definitions: quantifyme-ai.json, quantifyme-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- description: Production
  url: https://api.quantifyme.ai
security:
- ApiKeyAuth: []
tags:
- description: Trial keys, personal keys, identity.
  name: Auth
paths:
  /api/v1/caps:
    get:
      operationId: caps
      responses:
        '200':
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Invalid or missing API key
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Rate limit exceeded, or insufficient credits (body carries credits_remaining and credits_required)
      summary: Current usage caps for the authenticated key (daily compute/generation limits…
      tags:
      - Auth
    servers:
    - description: Production
      url: https://api.quantifyme.ai
  /api/v1/key/generate:
    post:
      operationId: generateKey
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrialKeyResponse'
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Invalid or missing API key
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Rate limit exceeded, or insufficient credits (body carries credits_remaining and credits_required)
      summary: Generate or rotate a personal API key (logged-in users)
      tags:
      - Auth
    servers:
    - description: Production
      url: https://api.quantifyme.ai
  /api/v1/key/trial:
    post:
      operationId: createTrialKey
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrialKeyRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrialKeyResponse'
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Invalid or missing API key
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Rate limit exceeded, or insufficient credits (body carries credits_remaining and credits_required)
      security: []
      summary: Create an anonymous trial API key (no signup).
      tags:
      - Auth
    servers:
    - description: Production
      url: https://api.quantifyme.ai
  /api/v1/key/usage:
    get:
      operationId: keyUsage
      parameters:
      - description: 'Your API key, if you cannot set the X-API-Key header. Agents that mint a key at runtime (e.g. a ChatGPT Action calling POST /api/v1/key/trial) should pass the returned `api_key` here on every subsequent call. The X-API-Key header wins when both are present. Prefer the header where you can set one: query strings are recorded in server access logs.'
        in: query
        name: api_key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Invalid or missing API key
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Rate limit exceeded, or insufficient credits (body carries credits_remaining and credits_required)
      summary: Get current key's credit balance and usage history
      tags:
      - Auth
    servers:
    - description: Production
      url: https://api.quantifyme.ai
  /api/v1/whoami-key:
    get:
      operationId: whoami
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WhoamiResponse'
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Invalid or missing API key
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Rate limit exceeded, or insufficient credits (body carries credits_remaining and credits_required)
      security: []
      summary: Resolve session cookie or X-API-Key into the user's identity
      tags:
      - Auth
    servers:
    - description: Production
      url: https://api.quantifyme.ai
components:
  schemas:
    WhoamiResponse:
      properties:
        api_key:
          type: string
        is_trial:
          example: false
          type: boolean
        plan:
          enum:
          - free
          - pro
          type: string
        user_id:
          type: integer
        username:
          example: malco
          type: string
      type: object
    ErrorResponse:
      properties:
        code:
          description: A fixed word a program can branch on (insufficient_credits, daily_cap, rate_limited, free_tier_exhausted, free_model_limit, prompt_too_long, unsupported_model, ...); a few auth answers still carry the HTTP status number.
          example: insufficient_credits
          type:
          - string
          - integer
        credits_remaining:
          description: 'On ''Insufficient credits'': the account balance.'
          type: integer
        credits_required:
          description: 'On ''Insufficient credits'': the estimated credits the call needs before it will start (depends on claude_model).'
          type: integer
        error:
          example: Invalid or missing API key
          type: string
        message:
          description: 'The sentence to show the user: what was refused, the numbers, and what to do next.'
          type: string
        request_id:
          description: 'On code ''internal_error'' (an unexpected server error): the reference to quote to support (also the X-QM-Request-Id header). `error` and `message` are then a fixed sentence; the detail is in the server log under this id.'
          type: string
        retry_after_s:
          description: 'On a cap or rate refusal: seconds until a retry can pass (also the Retry-After header).'
          type: integer
        top_up_url:
          description: 'On ''Insufficient credits'': the Billing page.'
          type: string
      required:
      - error
      type: object
    TrialKeyResponse:
      description: Anonymous trial key, 10,000 credits, topped up to 25,000 each UTC day, browser-bound, rate-limited to 10 keys a UTC day per address and 40 per network (IPv4 /24, IPv6 /48).
      properties:
        api_key:
          example: qm_a1b2c3d4e5f6...
          type: string
        credits:
          example: 10000
          type: integer
        is_trial:
          example: true
          type: boolean
        user_id:
          example: 42
          type: integer
        username:
          example: swift-fox-247
          type: string
      type: object
    TrialKeyRequest:
      description: Optional body for /api/v1/key/trial. All fields optional.
      properties:
        entry_token:
          description: Signed integration token for a hosted integration (such as the QuantifyMe MCP server) whose users share its egress IP. With it, the mint counts against the end client's address the integration forwards in the X-QM-Forwarded-For header (10 a UTC day per address and 40 per network, shared with direct mints from them), and against the token's pool of 2000 mints a UTC day. Issued out-of-band per integration; omit it if you are calling from your own IP.
          type: string
        username:
          description: Optional custom handle for /community. 3-24 chars, alphanumeric/dash/underscore. Returns 409 if taken. Omit to get an auto-generated 'adj-noun-NN' handle (e.g. swift-fox-247). Permanent — can't be changed later.
          example: my-bot-name
          maxLength: 24
          minLength: 3
          pattern: ^[A-Za-z0-9][A-Za-z0-9_\-]{2,23}$
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: Get a key via POST /api/v1/key/trial (anonymous) or sign in at quantifyme.ai. If you cannot set this header — ChatGPT Actions store one static credential and have no per-user header short of OAuth — send the key as the `api_key` request field instead (body on POST, query on GET). The header wins when both are sent.
      in: header
      name: X-API-Key
      type: apiKey
x-refined-from:
- quantifyme-ai.json
- quantifyme-ai-openapi.json