API Reference
Icon endpoint
Retrieve a company icon by domain.
Request
GET https://logo.parsew.com/{domain}?token={publishable_key}<img
src="https://logo.parsew.com/stripe.com?token=pk_...&size=128&format=webp"
alt="Stripe"
/>The default output is a 128-pixel PNG. Use size, format, and retina to match your interface.
When no icon is available, the endpoint returns a monogram by default. Set fallback=404 to receive a 404 response instead.
TypeScript
import { ParsewBrands } from '@parsew/sdk/client'
const images = new ParsewBrands({ token: 'pk_...' })
const url = images.url('stripe.com', {
size: 128,
format: 'webp',
fallback: 'monogram',
})Responses
| Status | Meaning |
|---|---|
200 | Image returned |
400 | Invalid or missing domain |
401 | Invalid key or disallowed browser origin |
404 | No image and fallback=404 |
429 | Monthly request limit reached |