Aleva Stats API

The Stats API from Aleva — 2 operation(s) for stats.

Operations 2

GET /v1/stats/dnssec DNSSEC adoption per zone and day #
GET /v1/stats/nameservers Name server operators and market share #

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/aleva-se:aleva-se-stats-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

aleva-se-stats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aleva Se Stats API
  contact:
    email: hello@aleva.se
  version: '1.0'
  description: 'Operations tagged Stats across 2 of this provider''s published API definitions: aleva-se-dev-openapi.json, aleva-se-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://dev-api.aleva.se
- url: https://api.aleva.se
tags:
- name: Stats
paths:
  /v1/stats/dnssec:
    get:
      operationId: stats-dnssec
      parameters:
      - description: 'Zone: se or nu equals'
        in: query
        name: tld
        required: false
        schema:
          type: string
      - description: 'Zone: se or nu one of (comma-separated)'
        in: query
        name: tld.in
        required: false
        schema:
          type: string
      - description: Day equals
        in: query
        name: date
        required: false
        schema:
          format: date
          type: string
      - description: Day at least
        in: query
        name: date.gte
        required: false
        schema:
          format: date
          type: string
      - description: Day at most
        in: query
        name: date.lte
        required: false
        schema:
          format: date
          type: string
      - in: query
        name: limit
        required: false
        schema:
          default: 100
          maximum: 1000
          minimum: 1
          type: integer
      - description: next_cursor from the previous page
        in: query
        name: cursor
        required: false
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  _meta:
                    $ref: '#/components/schemas/Meta'
                  data:
                    items:
                      properties:
                        date:
                          description: Day of the snapshot (Europe/Stockholm)
                          format: date
                          type: string
                        domains:
                          format: int64
                          type: integer
                        ecdsa_p256:
                          description: Signed with algorithm 13 (ECDSA P-256)
                          format: int64
                          type: integer
                        rsa_sha256:
                          description: Signed with algorithm 8 (RSA/SHA-256)
                          format: int64
                          type: integer
                        share_signed:
                          type: number
                        signed:
                          description: Domains with a DS record
                          format: int64
                          type: integer
                        tld:
                          type: string
                      type: object
                    type: array
                  next_cursor:
                    description: Present when there are more rows
                    type: string
                required:
                - data
                - _meta
                type: object
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Invalid parameters
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid API key
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Not found
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Rate limit reached
      security:
      - {}
      - bearer: []
      - apiKey: []
      summary: DNSSEC adoption per zone and day
      x-attribution: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0
      x-bucket: dnssec_adoption_over_time
      x-licenses:
      - CC-BY-4.0
      x-tier: light
      tags:
      - Stats
    servers:
    - url: https://dev-api.aleva.se
  /v1/stats/nameservers:
    get:
      operationId: stats-nameservers
      parameters:
      - description: 'Zone: se or nu equals'
        in: query
        name: tld
        required: false
        schema:
          type: string
      - description: 'Zone: se or nu one of (comma-separated)'
        in: query
        name: tld.in
        required: false
        schema:
          type: string
      - description: Operator (registered domain of the NS hosts) equals
        in: query
        name: operator
        required: false
        schema:
          type: string
      - description: Operator (registered domain of the NS hosts) starts with
        in: query
        name: operator.prefix
        required: false
        schema:
          type: string
      - description: Minimum number of domains at least
        in: query
        name: domains.gte
        required: false
        schema:
          type: integer
      - in: query
        name: limit
        required: false
        schema:
          default: 50
          maximum: 1000
          minimum: 1
          type: integer
      - description: next_cursor from the previous page
        in: query
        name: cursor
        required: false
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  _meta:
                    $ref: '#/components/schemas/Meta'
                  data:
                    items:
                      properties:
                        domains:
                          description: Domains with at least one name server at this operator
                          format: int64
                          type: integer
                        fetched_at:
                          format: date-time
                          type: string
                        operator:
                          description: Registered domain of the name server hosts, e.g. loopia.se
                          type: string
                        serial:
                          format: int64
                          type: integer
                        share:
                          description: domains / all domains in the zone
                          type: number
                        tld:
                          type: string
                      type: object
                    type: array
                  next_cursor:
                    description: Present when there are more rows
                    type: string
                required:
                - data
                - _meta
                type: object
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Invalid parameters
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid API key
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Not found
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Rate limit reached
      security:
      - {}
      - bearer: []
      - apiKey: []
      summary: Name server operators and market share
      x-attribution: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0
      x-bucket: nameserver_market_share
      x-licenses:
      - CC-BY-4.0
      x-tier: standard
      tags:
      - Stats
    servers:
    - url: https://dev-api.aleva.se
components:
  schemas:
    Error:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
          type: object
      type: object
    Meta:
      properties:
        attribution:
          type: string
        build_run_id:
          type: integer
        built_at:
          format: date-time
          type: string
        endpoint:
          type: string
        fetched_at:
          format: date-time
          type: string
        licenses:
          items:
            type: string
          type: array
        sources:
          items:
            type: object
          type: array
        usage_mode:
          type: string
        version:
          type: integer
      type: object
  securitySchemes:
    apiKey:
      in: header
      name: X-API-Key
      type: apiKey
    bearer:
      scheme: bearer
      type: http
x-refined-from:
- aleva-se-dev-openapi.json
- aleva-se-openapi.json