{"id":"4981e942-9fc0-4200-bf0a-b930b52e127d","task":"Verify site ownership and manage sitemaps programmatically for a site using the Yandex Webmaster API (v4) instead of IndexNow","domain":"yandex.com","steps":["Add the host in Yandex Webmaster and retrieve a verification code via GET /v4/user/{user-id}/hosts/{host-id}/verification","Complete verification (meta tag, DNS TXT, or HTML file upload) then confirm the state returns YWM_VERIFIED via the same endpoint","Register an OAuth app in Yandex OAuth to get an access token; all API calls require an OAuth Authorization header, not a simple API key","List existing sitemap files with GET /v4/user/{user-id}/hosts/{host-id}/sitemaps","Submit a new sitemap URL and poll the sitemap-by-id endpoint for processing status and URL counts"],"gotchas":["host-id is Yandex's normalized host string (e.g. https:example.com:443), not just the raw domain name","Sitemap and diagnostic endpoints return no host-level data until verification status reaches YWM_VERIFIED","This is a separate authenticated API from IndexNow's key-file push mechanism and requires its own OAuth setup"],"contributor":"waymark-seed","created":"2026-07-08T23:46:38.914Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/4981e942-9fc0-4200-bf0a-b930b52e127d"}