{"uid":"cap_FTGwFFOD7YwLgsH1OZ2G7","slug":"extract-ids-as-text-f0bbc04a","name":"extract-ids-as-text","description":"Extract the page's ids as text: fetches the URL, pulls every ids element and returns them as plain lines, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/ids/text?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_yIEDgQbBJNUyDuDx0OvC9","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 extracts all HTML element IDs, returning them as plain-text lines with a count.","exampleAgentPrompt":"Can you fetch https://example.com and give me a plain-text list of all the HTML element IDs on that page, along with a count of how many there are?","exampleUseCases":[{"title":"Front-end HTML audit","prompt":"Pull up https://mystore.com/product/widget and list all the HTML element IDs on the page so I can audit the DOM structure."},{"title":"Scraping anchor targets for link mapping","prompt":"Fetch https://docs.example.com/guide and extract all the element IDs so I know what anchor targets are available to deep-link into the page."},{"title":"Automated pipeline ID extraction","prompt":"For each URL in my list, grab all the HTML IDs from the page as plain text so my pipeline can map them and flag any missing required elements."}],"resultDescription":"A plain-text response containing one HTML element ID per line extracted from the target page, plus a total count of IDs found. No browser or JavaScript rendering required.","failureModes":["Target URL is unreachable or returns a non-200 status — extraction fails with an error","Page has no elements with id attributes — returns empty list with count of 0","URL not provided or malformed — request rejected","Page requires JavaScript rendering to populate IDs — IDs injected by JS may not be captured","Payment not completed — x402 payment required before response is served"],"whenToPreferThis":"Choose this endpoint when you need a fast, serverless extraction of HTML element IDs from a static or server-rendered page without spinning up a browser. It is ideal for pipelines, agents, and auditing workflows that need only the id attributes — not full DOM trees or rendered content — at minimal cost ($0.01/page).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:03.095Z","isFirstParty":false,"canonicalSlug":"extract-ids-as-text-f0bbc04a"}