---
title: "Events on a day of the year"
method: GET
path: "/onthisday"
---

# Events on a day of the year

`GET /onthisday`

## Request

- Base URL: `https://www.edgechat.ai/api/v1`
- URL: `https://www.edgechat.ai/api/v1/onthisday`
- Auth: none declared

50 a page. A day's index holds at most 500 events (`sampled`).

## Query parameters

- `date` string
- `page` integer
- `fields` string

## Response `200`

OK

- GetOnThisDayResponse: 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.
  - `date` string
  - `total` integer: The events in the index for this answer. An index holds at most 500; when it is full the answer is a sample and says `sampled`.
  - `page` integer
  - `pages` integer
  - `results` object[]
    - `date` string
    - `text` string
    - `id` string
    - `slug` string
    - `title` string
    - `url` string
  - `license` object
    - `name` string
    - `url` string
    - `summary` string
  - `sampled` boolean: true when the index holds its cap (500): `total` counts the sample, not every dated sentence.
  - `cap` integer

## Other responses

- `400`: An error: { error: { code, message } }
- `404`: An error: { error: { code, message } }
- `503`: An error: { error: { code, message } }

---

[API](https://skmtc.dev/edgechat/apis/edgepedia-api.md) · [All operations](https://skmtc.dev/edgechat/apis/edgepedia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/edgechat/apis/edgepedia-api/revisions/cd4eb5972d56?raw)
