Request

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');

Parameters

ParameterTypeRequiredDescription
urlstringYesURL of the website to map

Response Format

{
  "urls": [
    "string" // List of URLs found on the webpage
  ]
}

Pricing

  • 1 map request = 1 credit