DataGait icon

DataGait

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

Scrape Metadata

AI-generated

Summary

Extract metadata including meta tags, Open Graph data, Twitter Cards, and JSON-LD structured data from a specified URL.

Inputs

  • URL (required) — The URL to extract metadata from
  • Timeout (Seconds) — Maximum time in seconds to wait for page load and JavaScript execution (default 15, range 1-300)
  • Additional Options — Optional settings such as allowing execution of cross-origin scripts (default is same-origin only)

Output shape

a single JSON object

The output contains the original URL, page title, extracted meta tags, structured data (JSON-LD, Open Graph, Twitter Card), timing information in milliseconds, and optionally proxy usage details if a proxy was used during the scraping.

Examples

Example 1: Extract metadata from a webpage

Provide the target URL, optionally adjust timeout and allow external scripts if needed.

Links

Discussion