POST
/
v4
/
adhoc
/
{templateId}
curl --request POST \
  --url https://api.kadoa.com/v4/adhoc/{templateId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "link": "<string>",
  "location": {
    "type": "<string>",
    "isoCode": "<string>"
  }
}'
{
  "status": "<string>",
  "link": "<string>",
  "location": {},
  "data": {},
  "screenshotUrl": "<string>",
  "requestTimeMs": 123
}

Authorizations

x-api-key
string
header
required

Path Parameters

templateId
string
required

Either a custom template ID or one of the following special values:

  • html - Returns raw HTML of the page
  • body - Returns cleaned HTML body content
  • markdown - Returns content converted to markdown format

Body

application/json

Response

200
application/json
Response object containing scraping data and request metadata

The response is of type object.