OnyxMetric General API

General API operations.

GitHub OpenAPI

Operations 1

POST /api/track Sending Events #

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/onyxmetric-com:onyxmetric-com-general-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

onyxmetric-com-general-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onyxmetric Com General API
  version: 2.8.0-beta
  contact:
    name: OnyxMetric
    url: https://onyxmetric.com/contact
  termsOfService: https://onyxmetric.com/terms-and-conditions
  description: 'Operations tagged General across 2 of this provider''s published API definitions: onyxmetric-com-openapi.json, openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.onyxmetric.com
  description: OnyxMetric Cloud API
tags:
- name: General
  description: General API operations.
paths:
  /api/track:
    post:
      summary: Sending Events
      description: Track pageviews, custom events, performance, and errors from any platform using the HTTP API.
      operationId: postApiTrack
      tags:
      - General
      security:
      - {}
      - BearerAuth: []
      - QueryApiKey: []
      externalDocs:
        url: https://onyxmetric.com/docs/api/sending-events
      responses:
        '200':
          description: Successful response. Refer to the linked endpoint documentation for the response fields.
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Insufficient permission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Unexpected server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
    servers:
    - url: https://app.onyxmetric.com
      description: OnyxMetric Cloud API
components:
  schemas:
    ApiError:
      type: object
      additionalProperties: true
      required:
      - error
      - code
      - message
      - resolution
      properties:
        error:
          type: string
          description: Backward-compatible human-readable error.
        code:
          type: string
          description: Stable machine-readable error code.
        message:
          type: string
          description: Human-readable explanation.
        resolution:
          type: string
          description: Action the caller can take to recover.
        details:
          description: Optional structured context for this error.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Personal or organization API key sent as an Authorization Bearer token.
    QueryApiKey:
      type: apiKey
      in: query
      name: api_key
      description: Testing-only fallback. Bearer authentication is recommended.
    CookieSession:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: Authenticated dashboard session cookie. Secure deployments may prefix the cookie name with __Secure-.
externalDocs:
  description: OnyxMetric API documentation
  url: https://onyxmetric.com/docs/api/getting-started
x-refined-from:
- onyxmetric-com-openapi.json
- openapi.json