Extract page metadata and Open Graph tags
extract_website_metadataFetch URLs and return page metadata such as title, meta description, canonical URL, language, social tags, JSON-LD, favicon, RSS feeds, and hreflang for link previews, enrichment, and SEO checks.
Instructions
Fetch a list of URLs (plain HTTP, no browser) and return each page's title, meta description, canonical URL, language, Open Graph and Twitter card tags, schema.org JSON-LD, favicon, RSS feeds and hreflang links. Use it for link previews, enrichment or quick SEO checks of specific pages. Failed URLs come back as free error rows. Cost, charged to your own Apify account: $0.001 per URL processed; $0.00005 per Actor start (per GB of memory, once per run). Each call is capped at maxCostUsd (default $0.25). Runs Apify Actor fecklesspleb/website-metadata-extractor (https://apify.com/fecklesspleb/website-metadata-extractor).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | URLs. Pages to read, one row per URL, e.g. ["https://www.python.org/", "https://books.toscrape.com/"]. Plain URL strings or {"url": "..."} objects; duplicates are removed and a URL without http(s):// gets https:// added. Only the given URLs are fetched (no crawling); robots.txt is obeyed. Default ["https://www.python.org/"] alone is a sample run that stops after 15 s. | |
| maxCostUsd | No | Most this call may charge your Apify account, in US dollars. Default 0.25, maximum 5. Passed to Apify as maxTotalChargeUsd, the most Apify will charge for this run. | |
| maxResults | No | Max results. Maximum rows saved in the run. Default 0 = no cap. Free rows for failed URLs also count. Each row with metadata costs $0.001. | |
| includeJsonLd | No | Include JSON-LD data. If true (default), each row includes jsonLd: the parsed schema.org JSON-LD blocks, with email, telephone, author, creator, contributor, editor and reviewedBy keys removed. Set false for smaller rows; jsonLdTypes and jsonLdErrors are always included. | |
| maxConcurrency | No | Max concurrency. URLs fetched in parallel, 1 to 30. Default 10. Requests to the same host are spaced at least 0.5 s apart (longer if robots.txt sets a crawl delay). | |
| includeFailedUrls | No | Include failed URLs. Add a row with the error for URLs that fail (HTTP 400 or higher, not an HTML page, DNS or connection errors, timeouts, robots.txt blocks). These rows are free. Turn off to skip them. |