
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "olostep",
"path": "/v1/maps",
"method": "POST",
"body": {
"url": ""
}
}'
{
"success": true,
"data": {
"id": "{id}",
"urls": [ 1 item ],
"urls_count": 1
}
}
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: 95.8% success · 8,224 ms median · 30 days
About this endpoint
This endpoint allows users to get all the urls on a certain website. It can take up to 120 seconds for complex websites. For large websites, results are paginated using cursor-based pagination
Body parameters
urlrequiredstringThe URL of the website for which you want the linkssearch_querystringAn optional search query to sort the links by search relevance.top_nnumberAn optional number to limit to only top n links for a search query.include_subdomainbooleanInclude subdomains of the given URL. true by default.include_urlsstringURL path patterns to include using glob syntax. For example: /blog/** to only include blog URLs. Only URLs matching these patterns will be returned.exclude_urlsstringURL path patterns to exclude using glob syntax. For example: /careers/**. Excluded URLs will supersede included URLs.cursorstringOPTIONAL: Pagination cursor from a previous response. When provided, returns the next set of URLs from where the previous request left off due to response size limit.Response types
idstringurls[]stringurls_countnumberMore 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
- 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