TokCloner Credits API

The Credits API from TokCloner — 1 operation(s) for credits.

GitHub OpenAPI

Operations 1

GET /api/v1/credits Get the user's plan, credit balance, monthly clone cap and this API key's daily… #

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/tokcloner-com:tokcloner-com-credits-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

tokcloner-com-credits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tokcloner Com Credits API
  version: 1.0.0
  contact:
    url: https://tokcloner.com
  description: 'Operations tagged Credits across 2 of this provider''s published API definitions: openapi.json, tokcloner-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.tokcloner.com
  description: Production app (API + MCP)
security:
- BearerAuth: []
tags:
- name: Credits
paths:
  /api/v1/credits:
    get:
      operationId: getCredits
      summary: Get the user's plan, credit balance, monthly clone cap and this API key's daily…
      responses:
        '200':
          description: Billing state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Credits'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
      tags:
      - Credits
    servers:
    - url: https://app.tokcloner.com
      description: Production app (API + MCP)
components:
  schemas:
    Credits:
      type: object
      properties:
        plan:
          type: string
          enum:
          - free
          - starter
          - pro
          - studio
        balance:
          type: integer
        resets_at:
          type:
          - string
          - 'null'
          format: date-time
        daily_cap:
          type:
          - integer
          - 'null'
          description: This API key's daily credit cap
        spent_today:
          type:
          - integer
          - 'null'
        monthly_clone_cap:
          type: integer
        storage_quota_bytes:
          type: integer
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: 'Machine-readable code: insufficient_credits, api_key_daily_cap_exceeded, plan_required, model_requires_upgrade, monthly_clone_cap, unsupported_url, unknown_model, invalid_quality, invalid_resolution, insufficient_scope, idempotency_in_progress, rate_limited'
          examples:
          - insufficient_credits
        needed:
          type: integer
        balance:
          type: integer
        cap:
          type: integer
        spent_today:
          type: integer
        plan_required:
          type: string
          enum:
          - starter
          - pro
          - studio
        retryable:
          type: boolean
        retry_after:
          type: integer
        detail:
          type: string
        message:
          type: string
  responses:
    Forbidden:
      description: Plan gate, missing scope, or monthly clone cap reached
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: tc_live_<64 hex>
      description: API key created at app → Account → AI agents. Keys are scoped and support an optional per-day credit cap.
x-refined-from:
- openapi.json
- tokcloner-com-openapi.json