Think-Reason-Learn Credits API

The Credits API from Think-Reason-Learn — 1 operation(s) for credits.

GitHub OpenAPI

Operations 1

GET /v1/credits Balance and spend #

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/thinkreasonlearn-com:thinkreasonlearn-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

thinkreasonlearn-com-credits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThinkReasonLearn Credits API
  version: '1'
  description: Pretrained, explainable prediction models. Each model scores an input and returns its own fields plus a `common` block that reads the same for every model. `GET /v1/models` lists every model with its input and output schema.
servers:
- url: https://api.thinkreasonlearn.com
security:
- bearer: []
tags:
- name: Credits
paths:
  /v1/credits:
    get:
      operationId: getCredits
      summary: Balance and spend
      responses:
        '200':
          description: The key's organization balance and this key's spend.
          content:
            application/json:
              schema:
                type: object
                properties:
                  balance_usd:
                    type: number
                  month_spent_usd:
                    type: number
                  monthly_cap_usd:
                    type:
                    - number
                    - 'null'
                  key:
                    type: object
                    properties:
                      name:
                        type: string
                      spent_usd:
                        type: number
                      spend_limit_usd:
                        type:
                        - number
                        - 'null'
        '401':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Credits
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            code:
              type: string
              enum:
              - invalid_api_key
              - permission_denied
              - invalid_request
              - model_not_found
              - not_found
              - conflict
              - insufficient_credits
              - monthly_cap_reached
              - key_limit_reached
              - rate_limited
              - upstream_error
              - upstream_timeout
              - unavailable
              - internal_error
          required:
          - message
          - type
          - code
      required:
      - error
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: An API key from https://api.thinkreasonlearn.com/console/keys.