microlink_extract
Extract structured metadata (title, description, author, image) from any public URL. Optionally scrape custom fields via CSS selectors and generate screenshots or PDFs.
Instructions
Extract structured metadata from any public URL via Microlink. Returns normalized fields: title, description, author, publisher, date, image, logo, lang, and url. Use the data parameter to scrape custom fields via CSS selectors (selector/selectorAll, attr, type, evaluate). Combine with screenshot, pdf, video, audio, insights, palette, iframe in a single request. For screenshot, pdf, and insights, pass true to enable defaults or pass a config object with options; {} is treated as true. Supports device emulation (device), custom headers, proxy, JavaScript injection (scripts, modules, function), interaction (click, scroll), and caching (ttl, staleTtl, force). The CDN asset URL for any enabled media feature is in data.<feature>.url (e.g. data.screenshot.url).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| ttl | No | ||
| url | Yes | ||
| data | No | ||
| meta | No | ||
| ping | No | ||
| audio | No | ||
| click | No | ||
| embed | No | ||
| force | No | ||
| proxy | No | ||
| retry | No | ||
| video | No | ||
| apiKey | No | ||
| device | No | ||
| filter | No | ||
| iframe | No | ||
| scroll | No | ||
| styles | No | ||
| adblock | No | ||
| headers | No | ||
| modules | No | ||
| palette | No | ||
| scripts | No | ||
| timeout | No | ||
| filename | No | ||
| function | No | ||
| insights | No | ||
| staleTtl | No | ||
| viewport | No | ||
| mediaType | No | ||
| prerender | No | ||
| waitUntil | No | ||
| animations | No | ||
| javascript | No | ||
| screenshot | No | ||
| colorScheme | No | ||
| waitForTimeout | No | ||
| waitForSelector | No |