POST
/v1/web/html-metadata1 credit / callHTML metadata extractor
Extract title, description, canonical, robots, Open Graph and Twitter metadata from HTML.
| Parameter | Type | Required | Description |
|---|---|---|---|
| html | string | Yes | HTML source. |
Request
curl -X POST https://toolsonduty.com/api/v1/web/html-metadata \
-H "Authorization: ******" \
-H "Content-Type: application/json" \
-d '{"html":"<title>Example</title><meta name=\"description\" content=\"Page\">"}'Response
{
"ok": true,
"data": {
"title": "Example",
"description": "Page"
}
}