Heron Analytics API

The Analytics API from Heron — 1 operation(s) for analytics.

Operations 1

GET /api/analytics/decline Get decline analytics for a user

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/heron-analytics-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 email required.

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

OpenAPI Specification

heron-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@herondata.io
    name: Support
  title: Heron Data Analytics API
  version: '2021-07-19'
servers:
- description: Production
  url: https://app.herondata.io
security:
- ApiKeyAuth:
  - key_XXX
tags:
- name: Analytics
paths:
  /api/analytics/decline:
    get:
      description: 'Returns aggregated decline analytics for end users within a date range, including total end users, total declined, and per-check pass/fail/missing counts. Only the latest policy evaluation per end user is considered.

        '
      parameters:
      - description: Start of the date range (filters by end_user created date)
        in: query
        name: start_date
        required: true
        schema:
          format: date-time
          type: string
      - description: End of the date range (filters by end_user created date)
        in: query
        name: end_date
        required: true
        schema:
          format: date-time
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  check_analytics:
                    items:
                      properties:
                        check_name:
                          type: string
                        total_failed:
                          type: integer
                        total_missing_data:
                          type: integer
                        total_passed:
                          type: integer
                      type: object
                    type: array
                  total_declined:
                    description: Number of end users with at least one failed check
                    type: integer
                  total_end_users:
                    description: Total number of end users with policy evaluations
                    type: integer
                type: object
          description: Decline analytics retrieved successfully
        '400':
          description: User does not have analytics configured
        '401':
          description: Authentication required
        '422':
          description: Missing required parameters
      summary: Get decline analytics for a user
      tags:
      - Analytics
components:
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey
externalDocs:
  description: Read Tutorial
  url: https://docs.herondata.io/