Enriches company records with firmographics and website-verified data.
The Company Enrichment API enriches company records with comprehensive firmographics data including company details, location information, industry classification, size range, and geographic coordinates.
record_id: Unique identifier for this enrichment request (required)company_name: Company name (optional) - improves accuracy when provideddomain: Company domain (optional) - improves accuracy when providedcountry: Country code or name (optional) - helps with geographic targetingexternal_ids: External system IDs (optional) - for integration with CRM systemseffort: Enrichment effort level (optional, default: low)max_credits: Maximum credits to spend on this request (optional, defaults to your account limit)
record_idis requiredcompany_name,domainare optional but improves accuracy when providedexternal_idsshould be a dictionary of key-value pairs (e.g., {"sf_account_id": "001xx000..."})max_creditsmust be a positive integer if provided
success: Boolean indicating request successrecord_id: Echo of the input record IDcompany: Enriched company data object containing:name: Company namedomain: Company domainlinkedin_url: LinkedIn company page URLhq: Headquarters location (city, state, country, postal_code)size_range: Employee size range (e.g., "500+")industry: Industry classificationgeo: Geographic coordinates and location details (lat, lon, county)last_verified_at: ISO timestamp of last verification
confidence: Confidence score (0.0-1.0) or null if disabled/not foundcredits_consumed: Number of credits used for this requestcredits_remaining(int | null): Approximate remaining credit balance. Use GET /v1/credits/remaining for precise value.processing_time_ms: Time taken to process the request in millisecondscached: Boolean indicating if this result was returned from cache
Company enrichment consumes credits based on the data sources queried:
- Cached Result: 0 credits (if same company queried recently)
- Company Lookup: 5 credits
Security
BearerAuth
- Lantern API serverhttps://api-gateway.agenthq.withlantern.com/v1/enrich/company
- Local API serverhttp://localhost:8000/v1/enrich/company
curl -i -X POST \
https://api-gateway.agenthq.withlantern.com/v1/enrich/company \
-H 'Authorization: Bearer <YOUR_ApiToken_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"record_id": "string",
"company_name": "string",
"domain": "string",
"country": "string",
"external_ids": {
"property1": "string",
"property2": "string"
},
"effort": "low",
"max_credits": 1
}'Success Response
Any of:
Confidence score (0.0-1.0) or null if disabled/not found
[ 0 .. 1 ]
number
Any of:
Approximate remaining credit balance. Use GET /v1/credits/remaining for precise balance.
integer
Time taken to process the request in milliseconds
Response
{ "success": true, "record_id": "company_001", "company": { "name": "Databricks", "domain": "databricks.com", "linkedin_url": "https://www.linkedin.com/company/databricks", "hq": { … }, "size_range": "500+", "industry": "Technology", "geo": { … }, "last_verified_at": "2025-09-12T18:22:01Z" }, "confidence": 0.9, "credits_consumed": 1, "credits_remaining": 950, "processing_time_ms": 1200, "cached": true }