Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Company Enrichment Enrich API
description: API for enriching company data with contact information
version: 1.0.0
tags:
- name: Enrich
paths:
/enrich:
post:
summary: Enrich Company
description: 'Enrich a company with contact information.
Returns a list of contacts with first name, last name, email, linkedin profile, and phone number.
First checks the S3 database for cached results. If not found and enrichment takes too long,
returns a 503 status with a "try again later" message. The enrichment will continue in the
background and results will be saved to S3 for subsequent requests.'
operationId: enrich_company_enrich_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CompanyEnrichRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CompanyEnrichResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
tags:
- Enrich
/enrich/simple:
post:
summary: Enrich Company Simple
description: 'Enrich a company with contact information.
Returns a simple list of contacts in the format:
[{''first name'', ''last name'', ''email'', ''linkedin profile'', ''phone number''}]
First checks the S3 database for cached results. If not found and enrichment takes too long,
returns a 503 status with a "try again later" message. The enrichment will continue in the
background and results will be saved to S3 for subsequent requests.'
operationId: enrich_company_simple_enrich_simple_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CompanyEnrichRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
tags:
- Enrich
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
ContactInfo:
properties:
first name:
type: string
title: First Name
default: ''
last name:
type: string
title: Last Name
default: ''
email:
type: string
title: Email
default: ''
linkedin profile:
type: string
title: Linkedin Profile
default: ''
phone number:
type: string
title: Phone Number
default: ''
type: object
title: ContactInfo
description: Response model for a single contact.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
CompanyEnrichResponse:
properties:
company_name:
type: string
title: Company Name
company_url:
type: string
title: Company Url
default: ''
contacts:
items:
$ref: '#/components/schemas/ContactInfo'
type: array
title: Contacts
type: object
required:
- company_name
- contacts
title: CompanyEnrichResponse
description: Response model for company enrichment.
CompanyEnrichRequest:
properties:
company_name:
type: string
title: Company Name
description: The name of the company to enrich
first_name:
anyOf:
- type: string
- type: 'null'
title: First Name
description: Optional first name of a known contact
last_name:
anyOf:
- type: string
- type: 'null'
title: Last Name
description: Optional last name of a known contact
company_url:
anyOf:
- type: string
- type: 'null'
title: Company Url
description: Optional existing company URL
address:
anyOf:
- type: string
- type: 'null'
title: Address
description: Optional address for people search
location:
anyOf:
- type: string
- type: 'null'
title: Location
description: Optional location for LinkedIn search fallback
cheap_run:
type: boolean
title: Cheap Run
description: If True, skip expensive API calls
default: false
find_only_decision_makers:
type: boolean
title: Find Only Decision Makers
description: If True, only search for decision makers
default: false
type: object
required:
- company_name
title: CompanyEnrichRequest
description: Request model for company enrichment.
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key