Page Metadata Extractor
html_metadata_extractorExtracts HTML metadata, OpenGraph, Twitter Cards, headings, word count, links, language (lang, hreflang), title and description lengths, image alt coverage (images: with_alt, empty_alt for decorative images, missing_alt) and JSON-LD (json_ld: blocks, how many parse as JSON, their @type values, and rich_results: each Product, Article, BreadcrumbList, Organization, LocalBusiness, Recipe, Event, VideoObject and SoftwareApplication (including MobileApplication/WebApplication) entity checked against the properties Google documents as required and recommended, with meets_required, missing_required, missing_recommended and unverified_required; rich_results_version names the evaluator; FAQPage is reported as retired because Google no longer shows the FAQ rich result; JSON-LD only, field checks do not verify authentic reviews, every schema.org value or Google policy compliance, and never guarantee a rich result) from a URL. url is the URL you asked for; final_url is where the request ended, with final_status, the redirect chain (status, url, location per hop) and redirect_host_changed, so the metadata can be tied to the HTTP response it came from. response_headers lists the content, caching, indexing and transport-security headers (never cookies or credentials); response_header_repeats names any of them the server sent more than once, with the count, values and what the repeat means, and response_header_clips names any whose value was cut at the reported bound, with the length of the whole value. With render true the page is also loaded once in headless Chrome (https pages only) and the result adds rendered: the page as served compared with the page after JavaScript ran (title, meta_description, canonical, robots_meta and h1 raw and rendered with a status of same, javascript_only, changed, removed or absent; word_count, headings and link counts; internal_links_only_rendered lists up to 25 internal addresses only the rendered page links to, which a crawler that does not run scripts cannot find there; javascript_only and changed_by_javascript name what depends on scripts) and rendered.lab, the lab metrics of that one load (time to first byte, first and largest contentful paint, DOMContentLoaded and load times, cumulative layout shift, request count, transfer bytes): lab data from DataFluxor's servers, one run, not Core Web Vitals field data and not a Lighthouse score. device mobile loads it as a phone under Lighthouse's mobile throttling, same price; rendered.lab.device says which device was measured. Credits: 1 per page; 5 with render when the page was rendered (a page that could not be rendered, rendered.status unavailable, is charged 1). The result is returned here and may also be kept for up to 30 days as a completed run: retained.run_id reads it again for free with scraper_run_get (retained.available false says why it was not kept). Saved synchronous results can be evicted earlier when storage is needed; set background true (with an idempotency_key) to start the work as a saved run at once. If the call would outlast the connection (many items, deep or fresh SERPs) or the platform has no free capacity, it is not failed: the result is an accepted answer (accepted true, run_id, state, next_step) and the work runs as a saved run; ask scraper_run_get about run_id (view status) as often as retry_after_seconds says. A batch tool's run is charged item by item as each item finishes (failed items are free); any other run once, when it completes. The same idempotency_key prevents a second charge during its retry window; a later new call may be charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "html_metadata_extractor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target webpage URL | |
| device | No | The device the browser load emulates, which its lab metrics describe: desktop (1365x900, no throttling) or mobile (a phone under Lighthouse's mobile throttling: 4x CPU slowdown, slow 4G; lab.method states it). Same price. It applies with render true. | desktop |
| render | No | Also render the page in a headless browser and compare it with the HTML as served, with lab metrics of the load (5 credits instead of 1). https URLs only. | |
| verbosity | No | concise: short summary of the answer; full: the whole answer. Only shapes the output. Send idempotency_key to read the other form later without a new charge. | |
| background | No | Optional. true starts this work as a saved background run and answers at once with run_id instead of the result; read it with scraper_run_get. Needs an idempotency_key: the same key returns the same run and never charges twice, for the 30 days the run is kept. Charged like the direct call, as the run's work completes. Without it, a call that would take too long is also answered as a saved run. | |
| idempotency_key | No | Optional retry key bound to this customer and these arguments. Matching retries replay the first result and do not reserve a second credit; the replay says so in billing (replayed true, credits_charged_this_call 0, original_credits_used). |