EdgeChat Stats API

The Stats API from EdgeChat — 1 operation(s) for stats.

GitHub OpenAPI

Operations 1

GET /stats Corpus statistics, counts only #

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/edgechat-ai:edgechat-ai-stats-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

edgechat-ai-stats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Edgepedia Stats API
  version: '1'
  description: Read-only JSON access to the Edgepedia encyclopedia articles. Keyless. 600 requests a minute and 100,000 a day per IP address (429 with Retry-After past that). Free with credit under the Edgepedia Community License 1.0; AI training is open to everyone.
  license:
    name: Edgepedia Community License 1.0
    url: https://www.edgechat.ai/edgepedia/license
  contact:
    url: https://www.edgechat.ai/developers
    name: EdgeChat
    email: olivia.jin@biostate.ai
  x-logo:
    url: https://www.edgechat.ai/assets/edgechat-chestnut-orange-logo-v2.png
    altText: EdgeChat
    backgroundColor: '#FFFFFF'
    href: https://www.edgechat.ai/developers
  x-origin:
  - format: openapi
    version: '3.1'
    url: https://www.edgechat.ai/openapi.json
servers:
- url: https://www.edgechat.ai/api/v1
tags:
- name: Stats
paths:
  /stats:
    get:
      operationId: getStats
      summary: Corpus statistics, counts only
      description: Articles, links, and other names.
      parameters:
      - name: topic
        in: query
        required: false
        description: ''
        schema:
          type: string
      - name: geo
        in: query
        required: false
        description: ''
        schema:
          type: string
      - name: by
        in: query
        required: false
        description: ''
        schema:
          type: string
          enum:
          - period
      - $ref: '#/components/parameters/fields'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetStatsResponse'
              examples:
                live:
                  summary: GET https://www.edgechat.ai/api/v1/stats
                  description: 'A live answer of 2026-10-07: arrays cut to two items, long text cut with an ellipsis.'
                  value:
                    corpus:
                      articles: 366998
                      links: 2886169
                      other_names: 140098
                      topic_nodes: 38389
                      geo_nodes: 9217
                    license:
                      name: Edgepedia Community License 1.0
                      url: https://www.edgechat.ai/edgepedia/license
                      summary: Free with credit, commercial use included. AI training is open to everyone. For other uses, organizations over USD 100M in revenue or 100M monthly users license separately.
          headers:
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            ETag:
              $ref: '#/components/headers/ETag'
            Last-Modified:
              $ref: '#/components/headers/Last-Modified'
            Content-Digest:
              $ref: '#/components/headers/Content-Digest'
            Edgepedia-Corpus-Version:
              $ref: '#/components/headers/Edgepedia-Corpus-Version'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
      tags:
      - Stats
components:
  headers:
    RateLimit-Policy:
      description: 'The limiter''s two windows, per IP address and per server instance (IETF RateLimit header fields): 600 requests a minute and 100,000 a day.'
      schema:
        type: string
        example: '"minute";q=600;w=60, "day";q=100000;w=86400'
    Content-Digest:
      description: sha-256 of the body (RFC 9530).
      schema:
        type: string
    Edgepedia-Corpus-Version:
      description: The corpus release that answered.
      schema:
        type: string
    Last-Modified:
      description: The corpus release date (informational; only the ETag validates).
      schema:
        type: string
    ETag:
      description: A hash of the body; send it back as If-None-Match for a 304.
      schema:
        type: string
  responses:
    Error:
      description: 'An error: { error: { code, message } }'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    GetStatsResponse:
      type: object
      properties:
        corpus:
          type: object
          properties:
            articles:
              type: integer
            links:
              type: integer
            other_names:
              type: integer
            topic_nodes:
              type: integer
            geo_nodes:
              type: integer
        license:
          type: object
          properties:
            name:
              type: string
            url:
              type: string
            summary:
              type: string
        node:
          type: object
          properties:
            id:
              type: string
            label:
              type: string
            tree:
              type: string
              enum:
              - topics
              - geo
        articles:
          type: integer
        links:
          type: integer
        other_names:
          type: integer
        by_period:
          type: object
          additionalProperties:
            type: integer
        children:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              label:
                type: string
              articles:
                type: integer
              links:
                type: integer
              other_names:
                type: integer
              by_period:
                type: object
                additionalProperties:
                  type: integer
        periods:
          type: object
          additionalProperties:
            type: string
      description: 'Shape read from a live answer of 2026-10-07; fields may be added, never renamed or removed. Every field is optional: an answer carries the fields of its own branch. Without topic or geo: `corpus`. With one: that node''s `node`, counts, and `children`. `articles` here counts distinct articles; /geo and /trees/geo count placements (an article in two periods counts twice there).'
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            hint:
              type: string
            next:
              type: string
              format: uri
            did_you_mean:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  slug:
                    type: string
                  title:
                    type: string
                  api_url:
                    type: string
          required:
          - code
          - message
      required:
      - error
  parameters:
    fields:
      name: fields
      in: query
      required: false
      description: 'Comma-separated keys: each result (or the answer, when it has no results) keeps only these.'
      schema:
        type: string