{"uid":"cap_j831lcdszLlzoQo1eTxoo","slug":"extract-years-from-page-267a7906","name":"extract-years-from-page","description":"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.","url":"https://page.intel.rallylive.ca/page/extract/years?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uljKQf-99hjQ_4UPBc6xM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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).","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Timeline extraction from news article","prompt":"Go to this news article at https://www.bbc.com/news/world-us-canada-12345678 and pull out every year mentioned on the page — I want to see them all with their counts so I can understand the historical timeline being referenced."},{"title":"Audit historical years on a company page","prompt":"Can you scan the page at https://www.apple.com/newsroom/2024/01/apple-announces-results/ and tell me every year that appears in the text or markup, deduplicated and counted?"},{"title":"Verify date coverage on a research summary","prompt":"I need to check which years are cited on this research summary page at https://www.nber.org/papers/w12345 — can you extract all the years mentioned and how frequently each one shows up?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:36.143Z","isFirstParty":false,"canonicalSlug":"extract-years-from-page-267a7906"}