# Wikipedia On This Day

> Wikipedia On This Day is a paid API for AI agents from wikipedia-attention.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns historical events, births, deaths, or holidays for a given calendar date (month and day), with years and linked Wikipedia article titles.

## Facts

- Endpoint: GET https://wikipedia-attention.x402tookit.com/on-this-day?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikipedia-on-this-day-830fc9b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iGF4vBGbVQNRRScQ_CHgh

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability wikipedia-on-this-day-830fc9b9
```

Example prompt: What are the top 5 historical events that happened on July 4th according to Wikipedia — can you pull those up with the years and article links?

## When to prefer this

Choose this endpoint when you need structured, year-stamped historical facts, notable births, deaths, or holidays tied to a specific calendar date (month and day). It is ideal for trivia apps, calendar widgets, anniversary features, or any context where 'on this day in history' data is needed with direct links to Wikipedia articles for further reading.

## Known failure modes

- Invalid month or day values (outside 1-12 or 1-31) result in errors
- No data found for rare or unsupported dates
- Rate limiting or payment failure with x402 protocol
- kind parameter with unsupported value returns error or empty results
- limit outside 1-30 range may be rejected

## How this service works

Historical events, births, deaths or holidays on a calendar date (month and day), with years and linked article titles.

## Output

Returns a structured list of up to 30 items for the specified date, each containing a year, descriptive text, and linked Wikipedia article titles. Also includes metadata such as the kind (events, births, deaths, holidays), source URL, attribution, total count listed, and a summary. May include degraded status and disclaimer if data quality is reduced.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "month",
      "day"
     ],
     "properties": {
      "day": {
       "type": "integer",
       "description": "Day 1 to 31"
      },
      "kind": {
       "type": "string",
       "description": "events (default), births, deaths or holidays"
      },
      "limit": {
       "type": "integer",
       "description": "Items 1 to 30 (default 10)"
      },
      "month": {
       "type": "integer",
       "description": "Month 1 to 12"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "day": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "kind": {
       "type": [
        "null",
        "string"
       ]
      },
      "items": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "text": {
          "type": [
           "null",
           "string"
          ]
         },
         "year": {
          "type": [
           "null",
           "number"
          ]
         },
         "articles": {
          "type": [
           "array",
           "null"
          ],
          "items": {
           "type": "string"
          }
         }
        }
       }
      },
      "month": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikipedia-on-this-day-830fc9b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wikipedia-attention.x402tookit.com](https://www.zero.xyz/host/wikipedia-attention.x402tookit.com/llms.txt)
