{"uid":"cap_8fShmD3ZXFUF8_cjmY9-N","slug":"extract-data-attributes-as-csv-74444f71","name":"extract-data-attributes-as-csv","description":"Extract the page's data attributes as csv: fetches the URL, pulls every data attributes element and returns them as CSV rows, 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/data-attributes/csv?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_XpVFhDSl7e6dWyp5ECJWp","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 URL and extracts all HTML data-* attributes, returning them as CSV rows with a count.","exampleAgentPrompt":"Can you fetch https://example.com and pull out all the HTML data attributes as a CSV file, with a count of how many were found?","exampleUseCases":[{"title":"Audit data attributes for analytics tagging","prompt":"Go to https://shop.example.com/product/42 and extract all the data attributes as CSV — I need to audit what analytics tags are embedded on product pages."},{"title":"Pipeline ingestion of page metadata","prompt":"Fetch https://listings.example.com/item/789 and give me all the HTML data-* attributes as CSV rows so I can pipe them into our data processing workflow."},{"title":"Competitive research on page markup","prompt":"Pull every data attribute from https://competitor.com/landing-page and return them as CSV so I can see what tracking or configuration values they're embedding in their HTML."}],"resultDescription":"A CSV-formatted response containing one row per data attribute element found on the page, including the attribute name and value, along with a total count of matched elements.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with an error","Page has no data-* attributes — returns empty CSV with zero count","URL is behind authentication or a JavaScript-rendered SPA — server-side fetch may return incomplete HTML","Malformed URL input — request fails with a validation error","Payment not fulfilled — 402 response blocking access"],"whenToPreferThis":"Use this endpoint when you need a lightweight, structured CSV extraction of HTML data-* attributes from a static or server-rendered web page, without spinning up a browser. Prefer it over general scraping tools when you specifically want data attributes in a tabular, pipeline-ready format at low per-page cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:50.326Z","isFirstParty":false,"canonicalSlug":"extract-data-attributes-as-csv-74444f71"}