POST
/
v1
/
contents
Returns the content of the web pages
curl --request POST \
  --url https://api.ydc-index.io/v1/contents \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "urls": [
    "https://www.you.com"
  ],
  "format": "html"
}'
[
  {
    "url": "https://www.you.com",
    "title": "The title of the web page",
    "html": "The HTML content of the web page",
    "markdown": "The Markdown content of the web page"
  }
]

Authorizations

X-API-Key
string
header
required

A unique API Key required to authorize API access. Ensure it is kept confidential. Get a free API Key at you.com/platform.

Body

application/json

Response

200 - application/json

An array of JSON objects containing the page content of each web page

The response is of type object[].