Unkey · Schema

KeysVerifyKeyCredits

Controls credit consumption for usage-based billing and quota enforcement. Omitting this field uses the default cost of 1 credit per verification. Credits provide globally consistent usage tracking, essential for paid APIs with strict quotas.

APIKeysRate LimitingAuthenticationDeveloper PlatformAccess ControlIdentityAnalytics

Properties

Name Type Description
cost integer Sets how many credits to deduct for this verification request. Use 0 for read-only operations or free tier access, higher values for premium features. Credits are deducted after all security checks pa
View JSON Schema on GitHub

JSON Schema

unkey-keysverifykeycredits-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/KeysVerifyKeyCredits",
  "title": "KeysVerifyKeyCredits",
  "type": "object",
  "required": [
    "cost"
  ],
  "properties": {
    "cost": {
      "type": "integer",
      "format": "int64",
      "minimum": 0,
      "maximum": 1000000000000,
      "description": "Sets how many credits to deduct for this verification request.\nUse 0 for read-only operations or free tier access, higher values for premium features.\nCredits are deducted after all security checks pass.\nEssential for implementing usage-based pricing with different operation costs.\n",
      "example": 5
    }
  },
  "additionalProperties": false,
  "description": "Controls credit consumption for usage-based billing and quota enforcement.\nOmitting this field uses the default cost of 1 credit per verification.\nCredits provide globally consistent usage tracking, essential for paid APIs with strict quotas.\n"
}

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/unkey-keysverifykeycredits"
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 email required.

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