
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "olostep",
"path": "/v1/scrapes",
"method": "POST",
"body": {
"url_to_scrape": ""
}
}'
{
"success": true,
"data": {
"id": "{id}",
"url": "{url}",
"object": "{object}",
"result": { … },
"created": 1,
"from_cache": true,
"retrieve_id": "{retrieve_id}"
}
}
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.
95.8% success · 7,997 ms median · 30 days
About this endpoint
Initiate a web page scrape
Body parameters
url_to_scraperequiredstringThe URL to start scraping from.wait_before_scrapingintegerTime to wait in milliseconds before starting the scraping.formatsstringFormats in which you want the content.remove_css_selectorsstringOption to remove certain CSS selectors from the content. Optionally, you can also pass a JSON stringified array of specific selectors you want to remove. The CSS selectors removed when this option is set to default are ['nav','footer','script','style','noscript','svg',[role=alert],[role=banner],[role=dialog],[role=alertdialog],[role=region][aria-label*=skip i],[aria-modal=true]] Available options: default, none, arrayactionsobject[]Actions to perform on the page before getting the content.countrystringResidential country to load the request from. Supported values are: * US (United States) * CA (Canada) * IT (Italy) * IN (India) * GB (England) * JP (Japan) * MX (Mexico) * AU (Australia) * ID (Indonesia) * UA (UAE) * RU (Russia) * RANDOM Some operations, like scraping Google Search and Google News, support all countries.transformerstringSpecify the HTML transformer to use, if any. Postlight's Mercury Parser library is used to remove ads and other unwanted content from the scraped content. Available options: postlight, noneremove_imagesbooleanOption to remove images from the scraped content. Defaults to false.remove_class_namesstringList of class names to remove from the content.parserobjectWhen defining json as a format, you can use this parameter to specify the parser to use. Parsers are useful to extract structured content from web pages. Olostep has a few parsers built in for most common web pages, and you can also create your own parsers.llm_extractobjectlinks_on_pageobjectWith this option, you can get all the links present on the page you scrape.screen_sizeobjectConfiguration for screen size. Preset dimensions are available through screen_type: desktop (1920x1080), mobile (414x896), or default (768x1024).metadataobjectUser-defined metadata. Not supported yetResponse types
idstringurlstringobjectstringcreatednumberfrom_cachebooleanretrieve_idstringcredits_consumednumberMore from Olostep
- Retrieve ContentGET/v1/retrieveFree
- Batch InfoGET/v1/batches/{batch_id}Free
- Start CrawlPOST/v1/crawlsFrom $0.01 per callRequest-based
- Create AnswerPOST/v1/answers$0.05 per callFixed
- MapsPOST/v1/maps$0.01 per callFixed
- Crawl PagesGET/v1/crawls/{crawl_id}/pagesFree
- Start BatchPOST/v1/batchesFrom $0.02 per callRequest-based
- Batch ItemsGET/v1/batches/{batch_id}/itemsFree
- Get ScrapeGET/v1/scrapes/{scrape_id}Free
- Get AnswerGET/v1/answers/{answer_id}Free
- Crawl InfoGET/v1/crawls/{crawl_id}Free
Similar endpoints
- Octen · ExtractPOST/extractFrom $0.0012 per standard URLResponse-based · up to $0.06
- Oxylabs Web Scraper API · Scrape any public URLPOST/universalUp to $0.00162 per callResponse-based
- Notte · Scrape WebpagePOST/scrape$0.01 per callFixed
- ScrapeGraphAI · Scrape a URLPOST/api/scrapeFrom $0.005 per callRequest-based
- Search1API · Structured data extractionPOST/extract$0.0109 per callFixed