{"uid":"cap_AXh9w9F1m207OxBIJ_YHk","slug":"extract-canonical-and-alternates-as-csv-153830d8","name":"extract-canonical-and-alternates-as-csv","description":"Extract the page's canonical and alternates as csv: fetches the URL, pulls every canonical and alternates 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/canonical-and-alternates/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_H90fS5LZCAcbhqL_X6MTV","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 and extracts all canonical and alternate link elements, returning them as CSV rows with a count","exampleAgentPrompt":"Can you fetch https://example.com and pull out all the canonical and alternate link elements as a CSV, including a count of how many there are?","exampleUseCases":[{"title":"SEO canonical audit for a webpage","prompt":"Go to https://www.mysite.com/blog/post-1 and extract all the canonical and alternate link tags as a CSV so I can audit its SEO setup."},{"title":"Hreflang discovery for localization","prompt":"Fetch https://shop.example.com/products/widget and give me all the hreflang alternate URLs as a CSV — I need to see which language and region versions are declared."},{"title":"Duplicate content investigation","prompt":"I think https://news.example.com/article-123 might have a canonical pointing somewhere else — can you pull the canonical and alternate elements from that page as CSV rows so I can check?"}],"resultDescription":"A CSV-formatted response containing one row per canonical or alternate link element found on the fetched page, along with a count of total elements extracted. Each row represents a distinct canonical or alternate tag.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with an error","Page has no canonical or alternate elements — returns empty CSV with zero count","URL parameter missing or malformed — request rejected","Page blocks crawlers via robots.txt or firewall — fetch fails","Payment of $0.01 USDC not completed — 402 response returned"],"whenToPreferThis":"Choose this endpoint when you need structured CSV output of canonical and alternate link elements specifically, without a browser or JavaScript rendering environment. Ideal for agent pipelines and SEO audit workflows that need machine-readable, row-per-element CSV data. Prefer over JSON or text variants when downstream tooling expects CSV format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:47.391Z","isFirstParty":false,"canonicalSlug":"extract-canonical-and-alternates-as-csv-153830d8"}