Retrieve Brand by Email

Look up brand data using a business email address. The domain is extracted from the email and used to retrieve brand information.

Endpoint: GET /v1/brand/retrieve-by-email Credits: 10 per request

Parameters

ParameterTypeRequiredDescription
emailstringYesBusiness email address (e.g., ceo@stripe.com)

Response Schema

{
  "data": {
    "id": "...",
    "domain": "stripe.com",
    "title": "Stripe",
    "description": "Financial infrastructure for the internet.",
    "logos": {
      "primary": "https://stripe.com/img/v3/home/social.png",
      "favicon": "https://stripe.com/favicon.ico"
    },
    "colors": { "primary": "#635BFF" },
    "industries": ["Financial Technology"],
    "socialLinks": {
      "twitter": "https://twitter.com/stripe",
      "linkedin": "https://linkedin.com/company/stripe"
    },
    "pageLinks": { "pricing": "https://stripe.com/pricing" }
  },
  "_meta": { "cache": { "hit": false } }
}

Code Examples

cURL

curl -X GET "https://api.orsa.dev/v1/brand/retrieve-by-email?email=ceo@stripe.com" \
  -H "Authorization: Bearer YOUR_API_KEY"

TypeScript

const { data: brand } = await client.brand.retrieveByEmail({
  email: 'ceo@stripe.com',
});
 
console.log(brand.domain);           // "stripe.com"
console.log(brand.title);            // "Stripe"
console.log(brand.colors?.primary);  // "#635BFF"

Python

res = client.brand.retrieve_by_email(email="ceo@stripe.com")
brand = res["data"]
 
print(brand["domain"])              # "stripe.com"
print(brand["title"])               # "Stripe"
print(brand["colors"]["primary"])   # "#635BFF"

Error Codes

CodeStatusDescription
INPUT_VALIDATION_ERROR400Invalid email format
UNAUTHORIZED401Missing or invalid API key
NOT_FOUND404No brand data found for the email domain
RATE_LIMITED429Rate limit exceeded
USAGE_EXCEEDED402Insufficient credits

Notes

  • The domain is extracted from the email (e.g., ceo@stripe.comstripe.com).
  • The brand record must already be cached; this endpoint does not trigger live extraction. If the lookup returns 404, hit /v1/brand/retrieve for that domain first.