
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "context-dev",
"path": "/web/naics",
"method": "GET",
"query": {
"input": ""
}
}'
{
"success": true,
"data": {
"type": "{type}",
"codes": [ 1 item ],
"domain": "{domain}",
"status": "{status}",
"key_metadata": {}
}
}
Example values, built from the documented fields.
$0.03per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 100% success · 19,327 ms median · 30 days
About this endpoint
Classify any brand into 2022 NAICS industry codes from its domain or name.
Query parameters
inputrequiredstringBrand domain or title to retrieve NAICS code for. If a valid domain is provided in input, it will be used for classification, otherwise, we will search for the brand using the provided title.timeoutMSintegerOptional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed value is 300000ms (5 minutes).minResultsintegerMinimum number of NAICS codes to return. Must be at least 1. Defaults to 1.maxResultsintegerMaximum number of NAICS codes to return. Must be between 1 and 10. Defaults to 5.Response types
typestringdomainstringstatusstringMore from Context.dev
- Retrieve brand data by email addressGET/brand/retrieve-by-email$0.03 per callFixed
- Query website data using AIPOST/brand/ai/query$0.03 per callFixed
- Scrape images from a URLGET/web/scrape/images$0.03 per callFixed
- Scrape ScreenshotGET/web/screenshot$0.03 per callFixed
- Retrieve simplified brand data by domainGET/brand/retrieve-simplified$0.03 per callFixed
- Retrieve brand data by stock tickerGET/brand/retrieve-by-ticker$0.03 per callFixed
- Prefetch brand data for a domainPOST/brand/prefetch$0.03 per callFixed
- Crawl website and extract MarkdownPOST/web/crawl$0.03 per callFixed
- Retrieve brand data by domainGET/brand/retrieve$0.03 per callFixed
- Scrape raw HTML from a URLGET/web/scrape/html$0.03 per callFixed
- Retrieve brand data by ISINGET/brand/retrieve-by-isin$0.03 per callFixed
- Scrape URL and convert to MarkdownGET/web/scrape/markdown$0.03 per callFixed