Swetrix · OpenAPI Overlay 1.0.0

API Evangelist enhancements for Swetrix Admin Annotations Traffic API

5 actions 5 updates update extends openapi/swetrix-traffic-api-openapi.yml
Derived by API Evangelist Built from the contracts Swetrix publishes. Swetrix did not publish this file.
View Overlay File View on GitHub Overlay Specification

What the actions change

termsOfServicex-apievangelist-sourcex-apievangelist-artifactsx-rate-limitsx-api-versionsx-error-envelopex-apievangelist-docs-index

Targets 2

$.info
$.externalDocs

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist enhancements for Swetrix Admin Annotations Traffic API
  version: 1.0.0
extends: openapi/swetrix-traffic-api-openapi.yml
x-generated: '2026-08-13'
x-method: generated
actions:
- target: $.info
  description: 'Correct the terms-of-service URL: the harvested value pointed at the privacy policy. Swetrix
    publishes terms at https://swetrix.com/terms (HTTP 200, probed 2026-08-13).'
  update:
    termsOfService: https://swetrix.com/terms
- target: $.info
  description: Attach API Evangelist provenance and the real, per-plan rate limits published at https://swetrix.com/docs/statistics-api
    and https://swetrix.com/pricing.
  update:
    x-apievangelist-source: Written from the published Swetrix developer reference; Swetrix publishes
      no OpenAPI (the NestJS Swagger document is mounted only when isDevelopment is true).
    x-apievangelist-artifacts:
    - conventions/swetrix-conventions.yml
    - errors/swetrix-problem-types.yml
    - rate-limits/swetrix-rate-limits.yml
    - authentication/swetrix-authentication.yml
    - lifecycle/swetrix-lifecycle.yml
    x-rate-limits:
      standard: 300 requests/hour
      plus: 6000 requests/hour
      enterprise: custom
      status_on_exhaustion: 429
      headers: none documented
      docs: https://swetrix.com/docs/statistics-api
- target: $.info
  description: Record the second, additive API version. The v2 statistics API is documented at https://swetrix.com/docs/api/stats-v2
    and is not modelled in these specs.
  update:
    x-api-versions:
    - version: v1
      status: current
      docs: https://swetrix.com/docs/statistics-api
    - version: v2
      status: current
      docs: https://swetrix.com/docs/api/stats-v2
      note: Per-dimension read API with a {data, meta} envelope, limit/offset pagination and sort. Additive
        — v1 keeps working.
- target: $.info
  description: Record the error envelope. Swetrix does not emit RFC 9457 problem+json.
  update:
    x-error-envelope:
      format: nest-http-exception
      shape: '{ "statusCode": <int>, "message": <string|string[]>, "error": <string> }'
      problem_json: false
      catalog: errors/swetrix-problem-types.yml
- target: $.externalDocs
  description: Point external docs at the live developer index.
  update:
    x-apievangelist-docs-index: https://swetrix.com/docs

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/swetrix-traffic-api-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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. See our Privacy Policy and Terms.

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