Skip to content
ToolsOnDuty - free online tools
ToolsOnDuty / docs
Browse documentation

Reference / Web

Web API

1 endpoint for web workflows. Every call requires bearer authentication and uses the standard ToolsOnDuty response envelope.

Try it

Runs a real request from your browser to your own ToolsOnDuty account. Your key is only kept in this page and is never stored.

POST/v1/web/html-metadata1 credit / call

HTML metadata extractor

Extract title, description, canonical, robots, Open Graph and Twitter metadata from HTML.

ParameterTypeRequiredDescription
htmlstringYesHTML 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"
  }
}