DNSFilter Metrics API

The Metrics API from DNSFilter — 2 operation(s) for metrics.

Operations 2

GET /v1/metrics/organization_usage/{id} Get usage #
GET /v1/metrics/organization_usage_detailed/{id} Get usage detailed #

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/dnsfilter-metrics-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

dnsfilter-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DNSFilter Metrics API
  description: '**Note:** If you are a distributor integrating with DNSFilter, please check

    out our Distributors Development Guide.'
  version: '2026-07-13'
servers:
- url: https://api.dnsfilter.com
  description: Production
tags:
- name: Metrics
  description: ''
paths:
  /v1/metrics/organization_usage/{id}:
    get:
      tags:
      - Metrics
      operationId: V1_Metrics-organization_usage
      parameters:
      - name: from
        description: 'Date in IS08601 format, ex: "2023-12-01"'
        required: true
        in: query
        schema:
          type: string
          format: date
      - name: id
        description: Organization ID
        required: true
        in: path
        schema:
          type: integer
      - name: to
        description: 'Date in IS08601 format, ex: "2023-12-01".'
        required: true
        in: query
        schema:
          type: string
          format: date
      responses:
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: JSON formatted result
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      organization_id:
                        type: integer
                      plan:
                        type: string
                      term:
                        type: string
                      user_count:
                        type: integer
                      wifi_count:
                        type: integer
                      total_requests:
                        type: integer
                      estimated_users:
                        type: integer
                      from:
                        type: string
                        format: date
                      to:
                        type: string
                        format: date
                      days_in_period:
                        type: integer
                  meta:
                    type: object
                    properties:
                      queries_per_user:
                        type: integer
      description: 'Gets usage information for the given Organization over the given date

        range. Maximum date range is 365 days.'
      summary: Get usage
      security:
      - header_authorization: []
      x-controller: v1/metrics
      x-action: organization_usage
  /v1/metrics/organization_usage_detailed/{id}:
    get:
      tags:
      - Metrics
      operationId: V1_Metrics-organization_usage_detailed
      parameters:
      - name: from
        description: 'Date in IS08601 format, ex: "2023-12-01"'
        required: false
        in: query
        schema:
          type: string
          format: date
      - name: id
        description: Organization ID
        required: true
        in: path
        schema:
          type: integer
      - name: to
        description: 'Date in IS08601 format, ex: "2023-12-01".'
        required: false
        in: query
        schema:
          type: string
          format: date
      responses:
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: JSON formatted result
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      organization_id:
                        type: integer
                      plan:
                        type: string
                      term:
                        type: string
                      user_count:
                        type: integer
                      wifi_count:
                        type: integer
                      roaming_client_count:
                        type: integer
                      mobile_roaming_client_count:
                        type: integer
                      total_requests:
                        type: integer
                      estimated_users:
                        type: integer
                      from:
                        type: string
                        format: date
                      to:
                        type: string
                        format: date
                      days_in_period:
                        type: integer
                  meta:
                    type: object
                    properties:
                      queries_per_user:
                        type: integer
      description: 'Gets usage information for the given organization.


        This differs from +organization_usage+ in the way +user_count+/+wifi_count+ are fetched from the DB,

        also these endpoints returns a roaming client count.'
      summary: Get usage detailed
      security:
      - header_authorization: []
      x-controller: v1/metrics
      x-action: organization_usage_detailed
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: 'Error message (e.x.: Not Authorized)'
      description: Error basic representation
  securitySchemes:
    header_authorization:
      type: apiKey
      name: Authorization
      in: header