{"uid":"cap_gSvhuenOk_Jphgtsiid5p","slug":"www-vs-apex-domain-canonical-check-e6ed1e3d","name":"www vs Apex Domain Canonical Check","description":"www vs apex check: fetches both https://domain/ and https://www.domain/ (and the http:// variants), reports which one is canonical, whether the other redirects to it, status of each, and any inconsistencies such as one host failing, both serving 200 without redirect (duplicate content), or an http variant not upgrading. $0.01 per domain.","url":"https://intel.rallylive.ca/monitor/www-vs-apex","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__1qwoijOwjLMbBGq1Ci1C","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 both the www and apex (root) variants of a domain over HTTP and HTTPS, reporting which is canonical, whether redirects are in place, and any inconsistencies like duplicate content or missing HTTPS upgrades.","exampleAgentPrompt":"Can you check whether example.com and www.example.com are properly set up — which one is canonical, does the other redirect to it, and do both http:// versions upgrade to https?","exampleUseCases":[{"title":"SEO canonical redirect audit","prompt":"Check if myshop.com and www.myshop.com are consistent — I need to know which one is the canonical domain, whether the other redirects properly, and if there are any duplicate content issues."},{"title":"HTTP to HTTPS upgrade verification","prompt":"Can you verify that both http://myblog.com and http://www.myblog.com correctly redirect to the https versions? I want to make sure there are no insecure variants serving content."},{"title":"New domain launch sanity check","prompt":"We just launched newstartup.io — can you run a www-vs-apex check to confirm the redirects are configured correctly and that both variants aren't both returning 200 without redirecting to each other?"}],"resultDescription":"Returns which host (www or apex) is canonical, the HTTP status of each of the four variants (https://domain, https://www.domain, http://domain, http://www.domain), whether non-canonical variants redirect to the canonical one, and flags for inconsistencies such as both hosts returning 200 without a redirect (duplicate content), a host being unreachable, or http variants not upgrading to https.","failureModes":["Domain does not exist or DNS resolution fails — both variants return errors","Target server blocks automated requests — status may appear as 4xx or timeout","Both hosts return 200 without redirect — flagged as duplicate content inconsistency","One host is unreachable while the other is healthy — reported as partial failure","Domain input missing or malformed — request rejected with validation error"],"whenToPreferThis":"Use this endpoint when you need to audit or verify the canonical URL setup between www and apex variants of a domain, especially for SEO hygiene, redirect chain correctness, or HTTPS upgrade compliance. Prefer this over a generic URL status check when the specific www-vs-apex relationship and redirect consistency is the concern rather than simple uptime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:08:20.843Z","isFirstParty":false}