AnyGas Keys Hooks API

Optional developer keys and completion webhooks

Operations 3

POST /api/keys/create Create an optional developer key #
GET /api/keys/usage Usage stats for your key #
POST /api/hooks/register Register a completion webhook #

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/anygas-xyz:anygas-xyz-keys-hooks-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

anygas-xyz-keys-hooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anygas Xyz Keys Hooks API
  version: 3.28.2
  contact:
    name: Robyn AnyGas
    url: https://anygas.xyz
  license:
    name: Service terms
    url: https://anygas.xyz/svc/api/terms
  x-lastUpdated: '2026-07-29'
  description: 'Operations tagged keys-hooks across 2 of this provider''s published API definitions: anygas-openapi.json, anygas-xyz-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.anygas.xyz/svc
  description: Production gateway (also https://anygas.xyz/svc)
tags:
- name: keys-hooks
  description: Optional developer keys and completion webhooks
paths:
  /api/keys/create:
    post:
      tags:
      - keys-hooks
      summary: Create an optional developer key
      description: Self-serve key for a stable identity + usage visibility. The API stays keyless; a key just tags requests. The key is shown once. Rate limit 5/hour.
      operationId: createKey
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                label:
                  type: string
                  example: docs-example
      responses:
        '200':
          description: Key created (shown once)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyCreated'
    servers:
    - url: https://api.anygas.xyz/svc
      description: Production gateway (also https://anygas.xyz/svc)
  /api/keys/usage:
    get:
      tags:
      - keys-hooks
      summary: Usage stats for your key
      description: Hour + day aggregates and recent calls. Pass the key via the x-anygas-key header or ?key=.
      operationId: keyUsage
      parameters:
      - $ref: '#/components/parameters/ApiKeyHeader'
      - name: key
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Usage
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyUsage'
    servers:
    - url: https://api.anygas.xyz/svc
      description: Production gateway (also https://anygas.xyz/svc)
  /api/hooks/register:
    post:
      tags:
      - keys-hooks
      summary: Register a completion webhook
      description: 'Get called on DONE/FAILED for a route id instead of polling. We POST {event,routeId,status,destTx,srcTx,ts}. If secret is set, deliveries carry x-anygas-signature: sha256=HMAC(secret, rawBody). Watch state at GET /api/hooks/{id}. Rate limit 120/min.'
      operationId: registerHook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - routeId
              - url
              properties:
                routeId:
                  type: string
                  example: rt_abc123
                url:
                  type: string
                  example: https://example.com/webhook
                secret:
                  type: string
      responses:
        '200':
          description: Hook registered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HookRegistered'
    servers:
    - url: https://api.anygas.xyz/svc
      description: Production gateway (also https://anygas.xyz/svc)
components:
  schemas:
    KeyUsage:
      type: object
      properties:
        key:
          type: object
          properties:
            label:
              type: string
            created:
              type: integer
        hour:
          type: object
          properties:
            total:
              type: integer
            errors:
              type: integer
            topPaths:
              type: array
              items:
                type: object
                additionalProperties: true
        day:
          type: object
          properties:
            total:
              type: integer
            errors:
              type: integer
            topPaths:
              type: array
              items:
                type: object
                additionalProperties: true
        recent:
          type: array
          items:
            type: object
            additionalProperties: true
    KeyCreated:
      type: object
      properties:
        key:
          type: string
          example: ak_9fa383a39ca3b33b74775e7d8f3d04c70b98057c
        label:
          type: string
          example: docs-example
        created:
          type: integer
          example: 1784012809055
        note:
          type: string
    HookRegistered:
      type: object
      properties:
        id:
          type: string
          example: wh_1008e656e4d46f7aec
        routeId:
          type: string
          example: rt_abc123
        url:
          type: string
          example: https://example.com/webhook
        status:
          type: string
          example: pending
        note:
          type: string
  parameters:
    ApiKeyHeader:
      name: x-anygas-key
      in: header
      required: false
      description: Optional API key (ak_…). Never required for reads; only tags requests for usage visibility.
      schema:
        type: string
x-refined-from:
- anygas-openapi.json
- anygas-xyz-openapi.json