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
| Name | Type | Required | Description |
|---|---|---|---|
response_type | string | required | Must be json (or base64) to receive metadata fields. |
metadata_page_title | boolean | optional | Return the page <title> text in page_title. |
metadata_open_graph | boolean | optional | Return all og:* meta tags as an object in open_graph. |
metadata_icon | boolean | optional | Return the page favicon URL in icon. |
metadata_http_response_status_code | boolean | optional | Return the target page HTTP status code in http_response_status_code. |
metadata_image_size | boolean | optional | Return the output image dimensions in image_size: {width, height}. |
metadata_content | boolean | optional | Return the full rendered page content in content. |
metadata_content_format | string | optional | Format for metadata_content: html (default) or markdown. |
metadata_fonts | boolean | optional | Return 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..."
}
}