Metadata Extraction

Extract page title, Open Graph tags, favicon, HTTP status, image dimensions, fonts, or full page content alongside the screenshot.

Metadata is returned in the JSON response. You must use response_type=json to receive the metadata fields. Each metadata_* flag is independent. Enable only what you need.

Content extraction

metadata_content=true returns the full rendered page content. Use metadata_content_format=markdown to get it as Markdown instead of HTML, useful for feeding pages into LLMs.

Parameters

NameTypeRequiredDescription
response_typestringrequiredMust be json (or base64) to receive metadata fields.
metadata_page_titlebooleanoptionalReturn the page <title> text in page_title.
metadata_open_graphbooleanoptionalReturn all og:* meta tags as an object in open_graph.
metadata_iconbooleanoptionalReturn the page favicon URL in icon.
metadata_http_response_status_codebooleanoptionalReturn the target page HTTP status code in http_response_status_code.
metadata_image_sizebooleanoptionalReturn the output image dimensions in image_size: {width, height}.
metadata_contentbooleanoptionalReturn the full rendered page content in content.
metadata_content_formatstringoptionalFormat for metadata_content: html (default) or markdown.
metadata_fontsbooleanoptionalReturn an array of all computed font families used on the page in fonts.

Code Examples

# Page title + OG tags + HTTP status
curl "https://screenshotcore.com/api/v1/screenshot?access_key=KEY&url=https://example.com&response_type=json&metadata_page_title=true&metadata_open_graph=true&metadata_http_response_status_code=true"

# Full page content as Markdown
curl "https://screenshotcore.com/api/v1/screenshot?access_key=KEY&url=https://example.com&response_type=json&metadata_content=true&metadata_content_format=markdown"

Response

{
  "url": "https://screenshotcore.com/storage/results/de0c7fc4-aa10-4d8c-bdb4-889dbb4c78d8.png",
  "expires_at": "2026-04-28T14:22:20+00:00",
  "mime_type": "image/png",
  "file_size_bytes": 11268,
  "response_time_ms": 246,
  "from_cache": false,
  "request_id": 201,
  "metadata": {
    "page_title": "Example Domain",
    "open_graph": {
      "og:title": "Example Domain",
      "og:description": null,
      "og:image": null
    },
    "icon": "https://example.com/favicon.ico",
    "http_response_status_code": 200,
    "image_size": { "width": 1280, "height": 800 },
    "fonts": ["Times New Roman", "serif"],
    "content": "# Example Domain\n\nThis domain is for use in illustrative examples in documents..."
  }
}