DataGait icon

DataGait

Scrape, crawl, and extract structured data from JavaScript-heavy websites using DataGait API

Scrape Links

AI-generated

Summary

Extract all hyperlinks from a specified webpage, returning their resolved absolute URLs along with the page's URL, title, total link count, and timing information.

Inputs

  • URL (required) — The webpage URL to scrape links from.
  • Timeout (Seconds) — Maximum time to wait for page load and JavaScript execution, between 1 and 300 seconds; defaults to 15 seconds.
  • Additional Options — Optionally allow execution of cross-origin scripts by enabling 'Allow External Scripts' (default is false, allowing same-origin scripts only).

Output shape

a single JSON object per input item

The output JSON includes the URL of the scraped page, its title, an array of all extracted links with absolute URLs, a count of those links, and the time taken for the scraping operation in milliseconds.

Links

Discussion