Index a docs site from its sitemap
Build a search index of a documentation site from its sitemap.xml, then query it at /customsearch/v1 with cx=httpx-docs. The example uses the open-source HTTPX docs (up to 40 pages); replace the URL with a site you own.
Input
Output fields
Sign up on Apify or log in
The Google Custom Search API Alternative (Site Search) Actor is ready to run with the inputs already set for "Index a docs site from its sitemap". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Index a docs site from its sitemap" task
The Google Custom Search API Alternative (Site Search) Actor will start running based on the input automatically. You can also change all the input fields, like your website urls or sitemap urls, index name (your cx), and more, to match your specific use case.
Receive the "Index a docs site from its sitemap" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as page, indexed, title, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Index a docs site from its sitemap" task via API.
