
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "linkup",
"path": "/fetch",
"method": "POST",
"body": {
"url": ""
}
}'
{
"success": true,
"data": {
"markdown": "{markdown}",
"favicon": "{favicon}",
"rawContent": "{rawContent}",
"contentType": "html",
"rawHtml": "{rawHtml}",
"images": [],
"images[]": { … },
"data": {}
}
}
Example values, built from the documented fields.
$0.01per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 100% success · 2,601 ms median · 30 days
About this endpoint
The /fetch endpoint allows you to fetch a single webpage from a given URL.
Body parameters
urlrequiredstringThe URL of the webpage you want to fetch.renderJsbooleanDefines whether the API should render the JavaScript of the webpage.includeRawHtmlbooleanDefines whether the API should include the raw HTML of the webpage in its response.extractImagesbooleanDefines whether the API should extract the images from the webpage in its response.Response types
markdownClean markdown version of the webpage content.stringfaviconURL of the website favicon.stringrawContentRaw page content. Present only when includeRawContent is true.stringcontentTypeThe type of rawContent (e.g. html). Present only when rawContent is returned.stringrawHtmlDeprecated. Raw HTML version of the webpage. Use includeRawContent instead.stringimagesList of images extracted from the webpage. Present only when extractImages is true.arraydataStructured data extracted from the webpage. Present only when schema is provided in the request. Fields with no grounded value are omitted.object