NAICS Classification
Return the industry classification for a previously indexed brand. Industries are stored on the brand record at extraction time.
Endpoint: GET /v1/brand/naics
Credits: 5 per request
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Domain to classify (e.g., stripe.com) |
Response Schema
{
"data": {
"domain": "stripe.com",
"industries": ["Financial Technology", "Payment Processing", "Software"],
"primary_industry": "Financial Technology"
},
"_meta": {
"timing": { "total_ms": 42 },
"cache": { "hit": false }
}
}Code Examples
cURL
curl -X GET "https://api.orsa.dev/v1/brand/naics?domain=stripe.com" \
-H "Authorization: Bearer YOUR_API_KEY"TypeScript
const { data } = await client.brand.naics({
domain: 'stripe.com',
});
console.log(data.primary_industry); // "Financial Technology"
console.log(data.industries); // ["Financial Technology", ...]Python
res = client.brand.naics(domain="stripe.com")
print(res["data"]["primary_industry"]) # "Financial Technology"
print(res["data"]["industries"]) # ["Financial Technology", ...]Error Codes
| Code | Status | Description |
|---|---|---|
INPUT_VALIDATION_ERROR | 400 | Missing or invalid domain |
UNAUTHORIZED | 401 | Missing or invalid API key |
NOT_FOUND | 404 | No brand cached for the domain |
RATE_LIMITED | 429 | Rate limit exceeded |
USAGE_EXCEEDED | 402 | Insufficient credits |
Notes
- Returns the human-readable
industriesarray stored on the brand record.primary_industryis the first entry. - Numeric NAICS codes are not currently surfaced on this endpoint.
- The brand must already be cached. If the lookup returns 404, hit
/v1/brand/retrievefor that domain first to trigger extraction.