Scan a whole website and get URLs on it. Can be used to create a sitemap or run a crawler to fetch content of all pages of a destination.
import { Supadata, Map } from '@supadata/js'; // Initialize the client const supadata = new Supadata({ apiKey: 'YOUR_API_KEY', }); const siteMap: Map = await supadata.web.map('https://supadata.ai');
{ "urls": [ "string" // List of URLs found on the webpage ] }
Was this page helpful?