EdgeChat Year API

The Year API from EdgeChat — 1 operation(s) for year.

GitHub OpenAPI

Operations 1

GET /year/{year} Events in one year #

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-year-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-year-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Edgepedia Year 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: Year
paths:
  /year/{year}:
    get:
      operationId: getYear
      summary: Events in one year
      description: 50 a page. Years run from -9999 (9999 BC) to 2100; a year outside them is a 404. An index holds at most 2,000 events a year (`sampled`).
      parameters:
      - name: year
        in: path
        required: true
        description: An integer, negative for BC.
        schema:
          type: integer
        example: '1969'
      - name: page
        in: query
        required: false
        description: Page, from 1.
        schema:
          type: integer
          minimum: 1
      - $ref: '#/components/parameters/fields'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetYearResponse'
              examples:
                live:
                  summary: GET https://www.edgechat.ai/api/v1/year/1969
                  description: 'A live answer of 2026-10-07: arrays cut to two items, long text cut with an ellipsis.'
                  value:
                    year: 1969
                    total: 2000
                    page: 1
                    pages: 40
                    results:
                    - date: '1969'
                      text: Contrast studies in the heart were reported by Raymond Gramiak, Pravin M. Shah, and David H. Kramer in Radiology in 1969.
                      id: ep003ejhkk
                      slug: transthoracic-echocardiography
                      title: Transthoracic echocardiography
                      url: https://www.edgechat.ai/transthoracic-echocardiography
                    - date: '1969'
                      text: In 1969, after President Ray Heffner convened a Special Committee on Curricular Philosophy, the faculty voted the New Curriculum into existence on May 7, 1969.
                      id: ep007try5m
                      slug: brown-university
                      title: Brown University
                      url: https://www.edgechat.ai/brown-university
                    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:
      - Year
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:
    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
    GetYearResponse:
      type: object
      properties:
        year:
          type: integer
        total:
          type: integer
          description: The events in the index for this answer. An index holds at most 2000; when it is full the answer is a sample and says `sampled`.
        page:
          type: integer
        pages:
          type: integer
        results:
          type: array
          items:
            type: object
            properties:
              date:
                type: string
              text:
                type: string
              id:
                type: string
              slug:
                type: string
              title:
                type: string
              url:
                type: string
        license:
          type: object
          properties:
            name:
              type: string
            url:
              type: string
            summary:
              type: string
        sampled:
          type: boolean
          description: 'true when the index holds its cap (2000): `total` counts the sample, not every dated sentence.'
        cap:
          type: integer
      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.'
  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