Ironfang · Schema

Usage

Developer Toolsscreenshot-apiwebsite screenshotHTML to PDFPDF APIImage APIOG Image APIQR Code APIWebsite-to-VideoRendering InfrastructureMCPUK-hosted

Properties

Name Type Description
period string The period these numbers cover. Follows the billing anniversary for subscribers, the calendar month otherwise.
credits integer Credits spent so far this period. Cache hits are free and not counted.
renders integer The same number under the name the API shipped with.
limit integer Credits included in the plan for this period, grants included.
period_start string
period_end string The period as [period_start, period_end) in UTC dates.
by_kind object Where this period's credits went, keyed by render kind (`screenshot`, `pdf`, `image`, `qr`, `clip`). Kinds with no spend are absent.
unattributed integer Credits from before per-kind metering existed. The breakdown plus this always equals `credits`.
daily array The last 30 days of spend, oldest first, zero days included.
View JSON Schema on GitHub

JSON Schema

ironfang-usage-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ironfang/main/json-schema/ironfang-usage-schema.json",
  "title": "Usage",
  "x-generated": "2026-09-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ironfang-account-api-openapi.yml#/components/schemas/Usage",
  "type": "object",
  "properties": {
    "period": {
      "type": "string",
      "description": "The period these numbers cover. Follows the billing anniversary for\nsubscribers, the calendar month otherwise.\n"
    },
    "credits": {
      "type": "integer",
      "description": "Credits spent so far this period. Cache hits are free and not counted."
    },
    "renders": {
      "type": "integer",
      "deprecated": true,
      "description": "The same number under the name the API shipped with."
    },
    "limit": {
      "type": "integer",
      "description": "Credits included in the plan for this period, grants included."
    },
    "period_start": {
      "type": "string",
      "format": "date"
    },
    "period_end": {
      "type": "string",
      "format": "date",
      "description": "The period as [period_start, period_end) in UTC dates."
    },
    "by_kind": {
      "type": "object",
      "description": "Where this period's credits went, keyed by render kind\n(`screenshot`, `pdf`, `image`, `qr`, `clip`). Kinds with no spend\nare absent.\n",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "credits": {
            "type": "integer"
          },
          "count": {
            "type": "integer"
          }
        }
      }
    },
    "unattributed": {
      "type": "integer",
      "description": "Credits from before per-kind metering existed. The breakdown plus\nthis always equals `credits`.\n"
    },
    "daily": {
      "type": "array",
      "description": "The last 30 days of spend, oldest first, zero days included.",
      "items": {
        "type": "object",
        "properties": {
          "day": {
            "type": "string",
            "format": "date"
          },
          "credits": {
            "type": "integer"
          },
          "by_kind": {
            "type": "object",
            "additionalProperties": {
              "type": "integer"
            }
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/ironfang-usage"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.