{"uid":"cap_U1YONaW43rD8O5xnZJgbo","slug":"xpath-time-extractor-agentshelf-syntexa-ch-07a03c78","name":"XPath Time Extractor (agentshelf.syntexa.ch)","description":"Call when an agent needs datetime attributes of //time via //time/@datetime from a public page or HTML (SSRF-safe). Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/xpath-time first.","url":"https://agentshelf.syntexa.ch/v1/xpath-time?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 name=\"description\" content=\"Desc\"><meta property=\"og:title\" content=\"OG\">\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_-BFoUyx8T4UM2dHWhWA3Q","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 attributes from //time elements via XPath from a public URL or raw HTML, in an SSRF-safe manner.","exampleAgentPrompt":"Can you grab the datetime attribute from the <time> elements on this article page? Here's the URL: https://example.com/news/article-2024.","exampleUseCases":[{"title":"Article publication date extraction","prompt":"Can you find the published date of this blog post by reading the datetime attribute from its time elements? The URL is https://techblog.example.com/posts/ai-trends-2024."},{"title":"Event date from HTML snippet","prompt":"I have some raw HTML from an events page — can you extract the datetime values from all the <time> tags in it so I know when these events are scheduled?"},{"title":"News article timestamp scraping","prompt":"What datetime is stored in the <time> element on this news article? Check https://news.example.com/story/breaking-update and pull out the machine-readable date."}],"resultDescription":"Returns the datetime attribute values and/or text content extracted from //time elements found in the provided URL or HTML, structured as key-value data from the XPath query result.","failureModes":["URL is not publicly accessible or returns non-200 status","No <time> elements with @datetime attributes found in the page","Input HTML exceeds the 200,000 character limit","URL is rejected as SSRF risk (private/internal IP ranges blocked)","Malformed HTML prevents XPath parsing","URL string shorter than 8 characters or longer than 2048 characters"],"whenToPreferThis":"Use this endpoint when you need to reliably extract machine-readable datetime attributes from HTML <time> elements via XPath, especially when working with news articles, blog posts, or event pages that use semantic HTML5 time markup. Prefer the unpaid sandbox at POST /v1/sandbox/xpath-time first to validate your input before paying $0.005 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:54:33.108Z","isFirstParty":false,"canonicalSlug":"xpath-time-extractor-agentshelf-syntexa-ch-07a03c78"}