
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "olostep",
"path": "/v1/crawls",
"method": "POST",
"body": {
"start_url": "",
"max_pages":
}
}'
{
"success": true,
"data": {
"id": "{id}",
"object": "{object}",
"status": "{status}",
"created": 1,
"max_depth": null,
"max_pages": 1,
"start_url": "{start_url}",
"start_date": "{start_date}",
"pages_count": 1,
"exclude_urls": [],
"include_urls": [ 1 item ],
"current_depth": 1,
"include_external": true
}
}
Example values, built from the documented fields.
The price changes with the values you send.
from$0.01per call
Request-basedThe price depends on what you send. You see it before you run.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 95.8% success · 8,224 ms median · 30 days
About this endpoint
Starts a new crawl. You receive a id to track the progress. The operation may take 1-10 mins depending upon the site and depth and pages parameters.
Body parameters
start_urlrequiredstringThe starting point of the crawl.max_pagesrequirednumberMaximum number of pages to crawl. Recommended for most use cases like crawling an entire website. The price is per page.include_urlsstringURL path patterns to include in the crawl using glob syntax. Defaults to /** which includes all URLs. Use patterns like /blog/** to crawl specific sections (e.g., only blog pages), /products/*.html for product pages, or multiple patterns for different sections. Supports standard glob features like * (any characters) and ** (recursive matching).exclude_urlsstringURL path names in glob pattern to exclude. For example: /careers/**. Excluded URLs will supersede included URLs.max_depthnumberMaximum depth of the crawl. Useful to extract only up to n-degree of links. Used for the price only when max_pages is omitted (per depth level).include_externalbooleanCrawl first-degree external links.include_subdomainbooleanInclude subdomains of the website. false by default.search_querystringAn optional search query to find specific links and also sort the results by relevance.top_nnumberAn optional number to only crawl the top N most relevant links on every page as per search query.webhook_urlstringAn optional POST request endpoint called when this crawl is completed. The body of the request will be same as the response of this [v1/crawls/{crawl_id}](./info#response-created) endpoint.timeoutnumberEnd the crawl after n seconds with the pages completed until then. May take ~10s extra from provided timeout.Response types
idstringobjectstringstatusstringcreatednumbermax_pagesnumberstart_urlstringstart_datestringpages_countnumberexclude_urlsarrayinclude_urls[]stringcurrent_depthnumberinclude_externalbooleanMore from Olostep
- Retrieve ContentGET/v1/retrieveFree
- Batch InfoGET/v1/batches/{batch_id}Free
- 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
- Create ScrapePOST/v1/scrapes$0.01 per callFixed
- 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
- ScrapeGraphAI · Start CrawlPOST/api/crawlFrom $0.01 per callRequest-based
- Search1API · Site crawl startPOST/deepcrawl$0.0218 per callFixed
- Tavily · Tavily CrawlPOST/crawlUp to $0.15 per callResponse-based
- Scrapfly · Website crawlPOST/crawlFrom $0.000164 per callRequest-based · up to $5.7225
- Supadata · Website crawlPOST/web/crawlFrom $0.0109 per callRequest-based · up to $54.50
- ZenRows · Crawl startPOST/crawlsFrom $0.0115 per callRequest-based · up to $1,149.95