API-Driven SEO
Ensure search engines efficiently crawl and index your entire website. Automate the creation, validation, and management of your sitemap.xml files with our powerful agentic workflow.
sitemap.xml
import { Client } from '@do-api/client'; const doApi = new Client({ apiKey: 'YOUR_API_KEY' }); const sitemap = await doApi.sitemapXml.generate({ rootUrl: 'https://example.com', options: { exclude: ['/admin', '/private/*'], changefreq: 'daily', priority: 0.7 } }); console.log(sitemap.url); // "https://cdn.do-api.com/sitemaps/unique-id.xml"