Description
This endpoint returns the HTML or Markdown of a target webpage.Errors
The endpoint returns as a structured JSON object withstatus
, code
, title
, and detail
fields:
HTTP | Code | When it happens |
---|---|---|
401 | bad_request | This can happen for a missing API key: {"detail": "API key is required"} , an invalid/expired API key: {"detail": "Invalid or expired API key"} or for other auth parsing errors: {"detail": "<error message>"} |
403 | forbidden | API key lacks scope for the path (e.g., /v1/contents ): {"detail": "Missing required scopes"} |
500 | Internal Server Error (auth/authorization middleware) | This can happen in the case of authentication failure: {"detail": "Internal authentication error"} or authorization failure: {"detail": "Internal authorization error"} |
Authorizations
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