AnyHook Usage API
The Usage API from AnyHook — 1 operation(s) for usage.
The Usage API from AnyHook — 1 operation(s) for usage.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/anyhook-net:anyhook-net-usage-api"
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.
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: 3.2.0
info:
title: Anyhook Net Usage API
version: 1.0.0
description: 'Operations tagged Usage across 2 of this provider''s published API definitions: openapi.json, anyhook-net-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://anyhook.net
description: Management API
- url: https://in.anyhook.net
description: Ingress (webhook receiver)
security:
- ApiKeyAuth: []
tags:
- name: Usage
paths:
/api/v1/usage:
get:
operationId: getUsage
summary: Plan limits and this account's usage
description: 'Every limit the plan enforces and what this account has used of each, with when it resets: events this month (counted per delivery, once per started 64 KB of body and headers), overage, the compute allowance in micro-dollars and what used it (retries, replays, waiting on slow destinations, code runs, package installs, schedule firings, drills), API calls today, code runs and package snapshots. Each call with an API key or an MCP client counts one API call; past the plan''s daily limit every /api/v1 route answers 429 with error ''api_limit'' and Retry-After until 00:00 UTC.'
security:
- ApiKeyAuth: []
responses:
'200':
description: Limits and usage
content:
application/json:
schema:
type: object
properties:
plan:
type: string
month:
type: string
description: YYYY-MM, UTC
resets_at:
type: string
format: date-time
events:
type: object
properties:
used:
type: integer
included:
type:
- integer
- 'null'
overage:
type: object
properties:
enabled:
type: boolean
used:
type: integer
budget:
type: integer
cap_cents:
type: integer
cost_cents:
type: integer
rate_cents_per_1k:
type:
- integer
- 'null'
compute:
type: object
properties:
used_micros:
type: integer
allowance_micros:
type:
- integer
- 'null'
used_pct:
type:
- integer
- 'null'
by_kind:
type: object
additionalProperties:
type: integer
api_calls:
type: object
properties:
today:
type: integer
limit:
type:
- integer
- 'null'
resets_at:
type: string
format: date-time
code_runs:
type: object
properties:
used:
type: integer
limit:
type:
- integer
- 'null'
snapshots:
type: object
properties:
bytes:
type: integer
limit_bytes:
type: integer
schedules_paused:
type: integer
'401':
description: Unauthorized
'429':
description: The day's API calls are used up (error 'api_limit'). Check Retry-After.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Usage
servers:
- url: https://anyhook.net
description: Management API
- url: https://in.anyhook.net
description: Ingress (webhook receiver)
components:
schemas:
Error:
type: object
properties:
error:
type: string
securitySchemes:
ApiKeyAuth:
type: http
scheme: bearer
bearerFormat: ahk_live_xxx
description: 'API key from Dashboard Settings > API Keys. Format: ahk_live_<32 alphanumeric chars>. Example header: Authorization: Bearer ahk_live_a1b2c3...'
x-refined-from:
- openapi.json
- anyhook-net-openapi.json