Made Account API

Balance, ledger and keys.

GitHub OpenAPI

Operations 5

GET /v1/balance Get the credit balance #
GET /v1/ledger List spends, refunds and grants #
GET /v1/keys List API keys #
POST /v1/keys Create an API key #
DELETE /v1/keys/{id} Revoke an API key #

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/made-app:made-app-account-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

made-app-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Made Account API
  version: 1.0.0
  summary: Image, video and audio models and ready-made tools, priced in credits.
  description: 'Create a key at https://www.made.app/account/api-keys and send it as `Authorization: Bearer made_sk_…`, from your server. Prices and balances are in credits; a credit is 10 cents. Fields named …Cents count cents (60 = 6 credits). Quote first (POST /v1/cost or /v1/tools/{id}/quote, free), then create with request_id and max_cost_cents so a retry never charges twice and a price change is refused, not charged. If the provider a job was quoted on fails, Made moves the job to a backup provider and charges that provider''s price, which can be above max_cost_cents; send `X-MADE-Backup-Pricing: cap` to have such a job fail instead. Jobs are asynchronous: poll GET /v1/generations/{id}. A failed or canceled job is refunded.'
  contact:
    email: support@made.app
    url: https://www.made.app/developers
servers:
- url: https://www.made.app/api
security:
- bearerAuth: []
tags:
- name: Account
  description: Balance, ledger and keys.
paths:
  /v1/balance:
    get:
      operationId: getBalance
      tags:
      - Account
      summary: Get the credit balance
      responses:
        '200':
          description: The balance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Balance'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/ledger:
    get:
      operationId: listLedger
      tags:
      - Account
      summary: List spends, refunds and grants
      description: Every change to the balance, newest first, with the balance after each.
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
      - name: before
        in: query
        schema:
          type: integer
        description: The previous page's nextBefore.
      responses:
        '200':
          description: A page of entries.
          content:
            application/json:
              schema:
                type: object
                properties:
                  entries:
                    type: array
                    items:
                      $ref: '#/components/schemas/LedgerEntry'
                  nextBefore:
                    type:
                    - integer
                    - 'null'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/keys:
    get:
      operationId: listKeys
      tags:
      - Account
      summary: List API keys
      responses:
        '200':
          description: The account's keys (no secrets).
          content:
            application/json:
              schema:
                type: object
                properties:
                  keys:
                    type: array
                    items:
                      $ref: '#/components/schemas/ApiKey'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      operationId: createKey
      tags:
      - Account
      summary: Create an API key
      description: The secret is in this response only; it's never shown again.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  maxLength: 80
      responses:
        '201':
          description: The new key with its secret.
          content:
            application/json:
              schema:
                type: object
                properties:
                  key:
                    allOf:
                    - $ref: '#/components/schemas/ApiKey'
                    - type: object
                      properties:
                        secret:
                          type: string
                          example: made_sk_…
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: The account already has 10 active keys; revoke one first.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/keys/{id}:
    delete:
      operationId: revokeKey
      tags:
      - Account
      summary: Revoke an API key
      description: Anything using it stops working right away.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Key id.
      responses:
        '200':
          description: Revoked.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    const: true
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such key on this account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    LedgerEntry:
      type: object
      additionalProperties: true
      properties:
        seq:
          type: integer
        kind:
          type: string
          enum:
          - spend
          - refund
          - grant
          - revoke
        amountCents:
          type: number
        balanceAfterCents:
          type: number
        ref:
          type: string
          description: The job (or purchase) the entry settles.
        createdAt:
          type: string
          format: date-time
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: What went wrong, in plain words.
    ApiKey:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
        name:
          type: string
        prefix:
          type: string
          description: The first characters of the secret, to tell keys apart.
        createdAt:
          type: string
          format: date-time
        lastUsedAt:
          type:
          - string
          - 'null'
          format: date-time
        revokedAt:
          type:
          - string
          - 'null'
          format: date-time
    Balance:
      type: object
      properties:
        balanceCredits:
          type: number
          description: The balance in credits.
          example: 46.9
        balanceCents:
          type: number
          description: The balance in cents (10 cents = 1 credit).
          example: 469
        freeImages:
          type: integer
          description: Free image starts left.
        freeVideos:
          type: integer
          description: Free video starts left.
        credits:
          type: number
          deprecated: true
          description: 'Legacy: the balance in dollars (balanceCents / 100). Use balanceCredits.'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A made_sk_… key from https://www.made.app/account/api-keys.
externalDocs:
  description: Guides and examples
  url: https://www.made.app/developers