Radar CNPJ Metrics API

The Metrics API from Radar CNPJ — 1 operation(s) for metrics.

Operations 1

GET /api/metrics Métricas operacionais: sem token, visitas de hoje e uso; com o token do… #

Documentation

Specifications

Other Resources

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/radar-cnpj-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

radar-cnpj-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Radar CNPJ Metrics API
  version: 2d690e87
  description: radar-cnpj.com — índice GET /api/.
servers:
- url: https://radar-cnpj.com
tags:
- name: Metrics
paths:
  /api/metrics:
    get:
      operationId: get_api_metrics
      summary: 'Métricas operacionais: sem token, visitas de hoje e uso; com o token do…'
      description: 'Conta visitantes distintos e **não** conta autocomplete — senão o painel mediria tecla, não gente. Sem `Authorization` devolve só `app`, `today_visits` e `usage`, com 5 min de cache na borda — é o que a linha de estado do rodapé lê, como nos outros produtos. Com `Bearer METRICS_TOKEN`, a resposta completa da origem (`days`, `accounts`), sem cache.

        Devolve: { app, today_visits, days, usage, accounts }'
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
        description: '`Bearer <METRICS_TOKEN>`, só para a série completa do operador.'
      responses:
        '200':
          description: '{ app, today_visits, days, usage, accounts }'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Metricas'
        '401':
          description: Token do operador errado.
        '503':
          description: Sem os secrets configurados no ambiente.
      tags:
      - Metrics
components:
  schemas:
    Metricas:
      type: object
      properties:
        app:
          type: string
          description: Nome do produto.
        today_visits:
          type: integer
          description: Visitantes distintos hoje — não conta autocomplete.
        days:
          type: array
          items:
            type: object
          description: Um registro por dia da janela.
        usage:
          type: object
          description: Uso por recurso — aqui, `queries`.
        accounts:
          type: object
          description: Sessões de monitoramento existentes.
      required:
      - app
      - today_visits
      - days
      - usage
      - accounts
      description: Métricas operacionais da origem, 7 dias. Sem token vêm só `app`, `today_visits` e `usage`; `days` e `accounts` exigem `METRICS_TOKEN`.