Adhoc extractions let you instantly extract data from a single webpage. Unlike workflows which run on a schedule, these are one-time extractions that run instantly when requested.
To get the most out of this guide, you’ll need to:
Every Adhoc request includes schemaId
in the URL path:
html
: Returns the page’s raw HTMLbody
: Returns a cleaned HTML bodymarkdown
: Returns the page in MarkdownIf you need to specify a proxy location, you can retrieve valid locations first:
Sample Response
Use the returned isoCode
values in your Adhoc requests for location.isoCode
.
To initiate an adhoc extraction, send a POST request to the /adhoc
endpoint with the desired configuration.
A successful response should look like this:
Adhoc extractions let you instantly extract data from a single webpage. Unlike workflows which run on a schedule, these are one-time extractions that run instantly when requested.
To get the most out of this guide, you’ll need to:
Every Adhoc request includes schemaId
in the URL path:
html
: Returns the page’s raw HTMLbody
: Returns a cleaned HTML bodymarkdown
: Returns the page in MarkdownIf you need to specify a proxy location, you can retrieve valid locations first:
Sample Response
Use the returned isoCode
values in your Adhoc requests for location.isoCode
.
To initiate an adhoc extraction, send a POST request to the /adhoc
endpoint with the desired configuration.
A successful response should look like this: