v2
latestOpenAPI 3.1.02026-07-31125.9 KBReturns the content of the web pages
Returns the HTML or Markdown of a target webpage.
post/v1/contents
Request body
Example request
{
"urls": [
"https://www.you.com"
],
"formats": [
"html",
"markdown"
],
"crawl_timeout": 10,
"max_age": 86400
}Response
An array of JSON objects containing the page content of each web page
Example response
[
{
"url": "https://www.you.com",
"title": "The best website in the world",
"metadata": {
"site_name": "You.com",
"favicon_url": "https://api.ydc-index.io/favicon?domain=you.com&size=128"
}
}
]