Scan Business Card
Enrichment
Scan Business Card
Extract contact details from a photo of a business card using OCR and AI parsing
POST
Scan Business Card
Request
Upload either a base64-encoded image or a URL. The endpoint runs OCR, parses the result with an LLM, and returns structured contact fields. It does not create a contact automatically - callPOST /v1/contacts with the returned data to persist it.
Headers
Optional UUID. Same image and key returns the cached result within 24 hours without consuming additional credits.
Body Parameters
Base64-encoded image bytes. Supported formats: PNG, JPG, WEBP, HEIC. Maximum 10 MB. Either
image_base64 or image_url is required.Public HTTPS URL to fetch the image from. The URL must be reachable within 5 seconds.
ISO 639-1 language hint for OCR (e.g.
en, de, fr). Defaults to automatic detection.When
true, the extracted data is used to create a new contact and the resulting contact_id is returned alongside the raw fields.Response
X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-Request-ID.
Example Response
Errors
| Status | Code | Description |
|---|---|---|
| 400 | validation_error | Neither image_base64 nor image_url provided, or image exceeds size cap |
| 401 | invalid_key | Invalid or expired API key |
| 402 | insufficient_credits | Workspace credit balance is exhausted |
| 403 | insufficient_permissions | Missing write:enrich permission |
| 409 | no_match | OCR detected no card-like fields |
| 413 | payload_too_large | Image exceeds 10 MB |
| 429 | rate_limited | Rate limit exceeded |