# Article Dates Extractor

> Article Dates Extractor is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-01).

Extracts published and modified dates from a public web page URL or raw HTML input, with SSRF protection.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/article-dates?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/article-dates-extractor-38cd68e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cjregvjH_fdyqhZT-VYSD

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 article-dates-extractor-38cd68e4 -d '<json body>'
```

Example prompt: Can you find the published and last-modified dates for this article? Here's the URL: https://www.bbc.com/news/technology-12345678

## When to prefer this

Choose this endpoint when you need to reliably extract publication or modification dates from a public web page or pre-fetched HTML, especially in an agentic pipeline where content freshness matters. It is SSRF-safe, making it suitable for server-side agents processing arbitrary user-supplied URLs. Prefer the free sandbox endpoint (/v1/sandbox/article-dates) for testing; use this paid endpoint for production workloads requiring reliability.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error
- Page has no recognizable date metadata — returns null/empty date fields
- SSRF-blocked URL (private IP ranges, localhost) — rejected for security reasons
- HTML input exceeds 200,000 character limit — request rejected
- URL shorter than 8 characters or longer than 2048 characters — validation error
- Page uses JavaScript-rendered dates only — dates may not be detected from static HTML

## How this service works

Call when an agent needs published and modified dates extracted from a public page or HTML (SSRF-safe). Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/article-dates first.

## Output

Returns the extracted published date and/or last-modified date found in the page's metadata (e.g. Open Graph tags, JSON-LD schema, meta tags, HTTP headers). Dates are returned in a structured format. If dates are not found, the response will indicate their absence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 8,
   "description": "Public http(s) URL to fetch. When html is also sent, this is only the base for relative links. Provide url or html."
  },
  "html": {
   "type": "string",
   "examples": [
    "<meta property=\"article:published_time\" content=\"2026-01-02T00:00:00Z\">"
   ],
   "maxLength": 200000,
   "minLength": 1,
   "description": "HTML to parse locally instead of fetching. When both html and url are set, html is used. Provide html or url."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/article-dates-extractor-38cd68e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
