{"uid":"cap_uMa31VgVFwrLZb6u7KUpg","slug":"agentshelf-css-time-datetime-extractor-5aa85520","name":"AgentShelf CSS time[datetime] Extractor","description":"Call when an agent needs time datetime values via time[datetime] from a public page or HTML (SSRF-safe). Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/css-time-datetime first.","url":"https://agentshelf.syntexa.ch/v1/css-time-datetime?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"description":"Public page to fetch. The selector or profile is fixed by the SKU. Provide url or html."},"html":{"type":"string","examples":["<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta charset=\"utf-8\"><meta name=\"description\" content=\"Desc\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"],"maxLength":200000,"minLength":1,"description":"HTML to extract from locally. Provide html or url. When both are set, html is used."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xr5YGEQcHAuXUKFQ0PW8Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts datetime attribute values from HTML time elements (CSS selector time[datetime]) on a given public webpage or raw HTML input.","exampleAgentPrompt":"Can you extract all the datetime values from the time elements on this page: https://example.com/news/article-123 — I need the machine-readable timestamps embedded in those HTML time tags.","exampleUseCases":[{"title":"Scrape article publication timestamps","prompt":"Pull all the datetime attribute values from the time elements on this news page so I can see exactly when each article was published: https://techcrunch.com/latest/"},{"title":"Extract event dates from raw HTML","prompt":"I have some HTML from an event listing page — can you parse out all the time[datetime] values from it so I can build a timeline? Here's the HTML: <html>...<time datetime=\"2024-06-15T14:00:00Z\">June 15</time>...</html>"},{"title":"Audit scheduled post dates on a CMS page","prompt":"Check this URL and give me all the machine-readable datetime values from the time elements — I want to audit the post schedule: https://myblog.example.com/schedule"}],"resultDescription":"A list of datetime attribute string values extracted from all time[datetime] elements found in the provided HTML or fetched from the given URL. Values are typically ISO 8601 formatted timestamps or date strings as authored in the page markup.","failureModes":["URL is unreachable or returns a non-200 response — no content to parse","No time[datetime] elements found in the HTML — empty result returned","HTML input exceeds 200,000 character limit — request rejected","URL or HTML string too short (under 8 characters) — validation error","SSRF-protected URL (private IP range or internal host) blocked by the service","Malformed HTML may result in incomplete or missed matches"],"whenToPreferThis":"Use this endpoint when you need to extract structured datetime values from time elements in a webpage or HTML snippet, particularly for scraping publish dates, event times, or any semantic time data authored with the HTML5 time[datetime] pattern. Prefer the free sandbox version (/v1/sandbox/css-time-datetime) for testing; use this paid endpoint in production when the sandbox is unavailable or has limitations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:18.031Z","isFirstParty":false,"canonicalSlug":"agentshelf-css-time-datetime-extractor-5aa85520"}