SciDraw AI Credits API

Read the available balance.

GitHub OpenAPI

Operations 1

GET /api/v1/credits Read the current credit balance #

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/sci-draw-com:sci-draw-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

sci-draw-com-credits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SciDraw Public Image Credits API
  version: '2026-08-07'
  description: 'Asynchronous image generation, editing, conversion, and data chart generation API. Public limits: 20 job creations per minute per API key; 120 authenticated reads per minute per API key; 20 active jobs per account; 4 outputs per generation or edit job; bounded waits up to 30 seconds.'
servers:
- url: https://sci-draw.com
tags:
- name: Credits
  description: Read the available balance.
paths:
  /api/v1/credits:
    get:
      tags:
      - Credits
      summary: Read the current credit balance
      security:
      - bearerAuth: []
      responses:
        '200':
          description: The current available credit balance.
          content:
            application/json:
              example:
                success: true
                data:
                  balance: 125
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                    - true
                  data:
                    type: object
                    properties:
                      balance:
                        type: integer
                        minimum: 0
                    required:
                    - balance
                    additionalProperties: false
                required:
                - success
                - data
                additionalProperties: false
        '401':
          description: A valid API key is required.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - INVALID_REQUEST
                        - UNAUTHORIZED
                        - FORBIDDEN
                        - INSUFFICIENT_CREDITS
                        - RATE_LIMIT_EXCEEDED
                        - IDEMPOTENCY_CONFLICT
                        - CONTENT_POLICY_VIOLATION
                        - JOB_NOT_FOUND
                        - JOB_FAILED
                        - JOB_CANCELED
                        - INTERNAL_ERROR
                      message:
                        type: string
                        minLength: 1
                      request_id:
                        type: string
                    required:
                    - code
                    - message
                    - request_id
                    additionalProperties: false
                required:
                - success
                - error
                additionalProperties: false
        '403':
          description: The API key does not have the required scope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - INVALID_REQUEST
                        - UNAUTHORIZED
                        - FORBIDDEN
                        - INSUFFICIENT_CREDITS
                        - RATE_LIMIT_EXCEEDED
                        - IDEMPOTENCY_CONFLICT
                        - CONTENT_POLICY_VIOLATION
                        - JOB_NOT_FOUND
                        - JOB_FAILED
                        - JOB_CANCELED
                        - INTERNAL_ERROR
                      message:
                        type: string
                        minLength: 1
                      request_id:
                        type: string
                    required:
                    - code
                    - message
                    - request_id
                    additionalProperties: false
                required:
                - success
                - error
                additionalProperties: false
        '429':
          description: A public request-rate or account active-job limit has been exceeded.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - INVALID_REQUEST
                        - UNAUTHORIZED
                        - FORBIDDEN
                        - INSUFFICIENT_CREDITS
                        - RATE_LIMIT_EXCEEDED
                        - IDEMPOTENCY_CONFLICT
                        - CONTENT_POLICY_VIOLATION
                        - JOB_NOT_FOUND
                        - JOB_FAILED
                        - JOB_CANCELED
                        - INTERNAL_ERROR
                      message:
                        type: string
                        minLength: 1
                      request_id:
                        type: string
                    required:
                    - code
                    - message
                    - request_id
                    additionalProperties: false
                required:
                - success
                - error
                additionalProperties: false
        '500':
          description: The request could not be completed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - INVALID_REQUEST
                        - UNAUTHORIZED
                        - FORBIDDEN
                        - INSUFFICIENT_CREDITS
                        - RATE_LIMIT_EXCEEDED
                        - IDEMPOTENCY_CONFLICT
                        - CONTENT_POLICY_VIOLATION
                        - JOB_NOT_FOUND
                        - JOB_FAILED
                        - JOB_CANCELED
                        - INTERNAL_ERROR
                      message:
                        type: string
                        minLength: 1
                      request_id:
                        type: string
                    required:
                    - code
                    - message
                    - request_id
                    additionalProperties: false
                required:
                - success
                - error
                additionalProperties: false
      operationId: getApiV1Credits
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: SciDraw API key
externalDocs:
  description: SciDraw API documentation
  url: https://sci-draw.com/docs/api