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

ParameterTypeRequiredDescription
domainstringYesDomain 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

CodeStatusDescription
INPUT_VALIDATION_ERROR400Missing or invalid domain
UNAUTHORIZED401Missing or invalid API key
NOT_FOUND404No brand cached for the domain
RATE_LIMITED429Rate limit exceeded
USAGE_EXCEEDED402Insufficient credits

Notes

  • Returns the human-readable industries array stored on the brand record. primary_industry is 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/retrieve for that domain first to trigger extraction.