Enrichment API
Enrich lead
Enrich lead information with additional details such as contact information, social profiles, and company details.
Endpoint
Request
Headers
Name | Type | Required | Description |
---|---|---|---|
x-api-key | string | Yes | Your Sixtyfour API key |
Content-Type | string | Yes | Must be application/json |
Body
Field | Type | Required | Description |
---|---|---|---|
lead_info | object | Yes | Initial lead information as key-value pairs |
struct | object | Yes | Fields to collect about the lead |
research_plan | string | No | Optional research plan to guide enrichment |
Example Request
Response
Success Response (200)
Returns enriched lead data with detailed information and sources.
Error Response (400)
Type Casting
The API automatically handles type casting for structured data output with intelligent type preservation and conversion.
Type Priority Order
- Explicit Type Definitions (Highest Priority) - Specified in
struct
field definitions - Original Input Types - Types from
lead_info
when not explicitly overridden - Inferred Types - From example values in
struct
- Default to String (Lowest Priority)
Supported Types
Type | Example Values |
---|---|
"str" or "string" | "John Doe" |
"int" or "integer" | 30 , 1000 |
"float" | 95.5 , 3.14 |
"bool" or "boolean" | true , false |
"list" | ["item1", "item2"] |
"dict" | {"key": "value"} |
Examples
Type Override:
Explicit Type Definition:
Type Inference from Values:
Rate Limits
The API is rate limited to 1000 requests per minute per API key.