# extract-years-from-page

> extract-years-from-page is a paid API for AI agents from page.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Fetches a web page by URL and returns every year value found in the page text and markup, deduplicated with occurrence counts (up to 300 items).

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/extract/years?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-years-from-page-267a7906
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j831lcdszLlzoQo1eTxoo

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 extract-years-from-page-267a7906
```

Example prompt: Can you fetch https://en.wikipedia.org/wiki/World_War_II and extract every year mentioned on the page, with how many times each year appears?

## When to prefer this

Use this endpoint when you need to quickly identify and count all year references on a specific web page without writing HTML parsing logic. It is ideal for temporal analysis of articles, research pages, historical documents, or company timelines. Prefer this over general-purpose scraping when the specific entity of interest is year values and you want deduplication and counts out of the box.

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status — endpoint may return an error or empty result
- Page has no recognizable year values in text or markup — returns empty list
- Page requires JavaScript rendering and is not accessible via simple HTTP fetch — years in dynamically loaded content may be missed
- Malformed or missing URL input — request rejected
- Page returns very large content that exceeds processing limits — may return partial results up to 300 items

## How this service works

Extract years from a web page: fetches the URL and returns every years found in the page text and markup (deduplicated, with counts and up to 300 items), so an agent gets the values without parsing HTML. $0.01 per page.

## Output

A deduplicated list of year values (e.g. 1998, 2005, 2023) found in the page's text and HTML markup, each accompanied by a count of how many times it appears. Returns up to 300 distinct year entries. No HTML parsing required by the caller.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/extract-years-from-page-267a7906/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from page.intel.rallylive.ca](https://www.zero.xyz/host/page.intel.rallylive.ca/llms.txt)
