1. Companies
Leadfeeder API
  • Leadfeeder API
  • Authentication
  • Getting Started
  • Rate Limits
  • Relationships
  • Company ID Lifecycle
  • OpenAPI Specification Access
  • List of NACE / WZ codes
  • List of Industries
  • AI & MCP (Beta)
    • Overview of the Leadfeeder MCP Server
    • Quickstart
    • Connect your AI tool
    • Authentication and permissions
  • Account
    • List Accounts
  • Companies
    • Get Company Details
      GET
    • Create Company Enrichment Job
      POST
    • Estimate Company Enrichment Job
      POST
    • Retrieve Companies
      GET
    • Company Financial Reports
      GET
    • Get Company Enrichment Job Status
      GET
    • Retrieve Company IPs
      GET
    • Match Companies
      POST
    • Search Companies
      POST
    • Search Company Signals
      POST
    • Update a Company
      PATCH
    • Remove Company from Lists
      DELETE
    • Add Company to Lists
      POST
    • Unassign Tags from Company
      DELETE
    • Assign Tags to Company
      POST
  • Contacts
    • Get Contact Details
    • Create Find Contact Data Job
    • Estimate Find Contact Data Job
    • Retrieve Contacts
    • Get Find Contact Data Job Status
    • Search Contacts
    • Update a Contact
    • Remove Contact from Lists
    • Add Contact to Lists
  • Web Visits
    • How to Create Custom Feed
    • Custom Feed - Filter Reference
    • Search Web Visits
    • Retrieve Custom Feeds
    • Retrieve Visitor Companies
    • Create a Custom Feed
    • Get Custom Feed Details
    • Update Custom Feed
    • Delete a Custom Feed
    • Retrieve Custom Feeds Folders
    • Retrieve Web Visits Tracker Script
  • Campaigns
    • Retrieve Campaigns
    • Get Campaign Details
    • Update Campaign
    • Retrieve Campaign Stats
  • IP
    • Enrich Company IP Address
  • Buyer Personas
    • Retrieve Buyer Personas
    • Create a Buyer Persona
    • Get Buyer Persona Details
    • Delete a Buyer Persona
    • Update a Buyer Persona
  • Ideal Customer Profiles
    • Retrieve Ideal Customer Profiles
    • Create an Ideal Customer Profile
    • Retrieve Company ICP Matches
    • Get Ideal Customer Profile Details
    • Delete an Ideal Customer Profile
    • Update an Ideal Customer Profile
  • Tags
    • Retrieve Tags
    • Create Tag
    • Create Batch Add Tags Job
    • Get Batch Add Tags Job
    • Delete Tag
    • Create Batch Remove Tags Job
    • Get Batch Remove Tags Job
    • Get Tag Details
    • Update Tag
  • Lists
    • Retrieve Lists
    • Create a List
    • Create Batch Add to List Job
    • Get List Details
    • Get Batch Add to List Job
    • Create Batch Remove from List Job
    • Delete List
    • Get Batch Remove from List Job
    • Retrieve Company List Memberships
    • Retrieve Contact List Memberships
    • Update List
    • Retrieve List Items
  • Custom Fields
    • Retrieve Custom Fields
    • Create Custom Field
    • Get Custom Field Details
    • Delete Custom Field
    • Update Custom Field
  • Users
    • Get Current User
  • Settings
    • Update Cookie Consent Settings
    • Get Data Processing Settings
    • Update Data Processing Settings
    • Get Cookie Consent Settings
  • Usage
    • Get Endpoints Usage
  • Reference Data
    • Get Geo Suggestions
    • Get Countries with Regions
    • Get Industries
  • Schemas
    • AccountCompanyV1
    • AccountSummaryV1
    • AccountV1
    • ApiUsageV1
    • BatchAddTagsJobV1
    • BatchAddToListJobV1
    • BatchRemoveFromListJobV1
    • BatchRemoveTagsJobV1
    • BuyerPersonaRequestV1
    • BuyerPersonaV1
    • CampaignLocationV1
    • CampaignSettingsV1
    • CampaignStatsV1
    • CampaignSummaryV1
    • CampaignV1
    • CompaniesAdvancedSearchFilterItem
    • CompanyFinancialsV1
    • CompanyIndustryV1
    • CompanyLocationV1
    • CompanyIpV1
    • CompanyMatchV1
    • CompanySummaryV1
    • CompanyV1
    • ContactFilterGroupsV1
    • ContactSummaryV1
    • ContactV1
    • CookieConsentSettingsV1
    • CountryV1
    • CustomFeedFolderV1
    • CustomFeedRequestV1
    • CustomFeedV1
    • CustomFieldV1
    • DataProcessingSettingsV1
    • EnrichedIpV1
    • CRMUserV1
    • ErrorObjectV1
    • CRMOrganizationV1
    • EnrichmentJobV1
    • CRMContactV1
    • GeoSuggestionV1
    • FindContactDataJobV1
    • CRMLeadV1
    • ICPV1
    • CRMConnectionV1
    • IpAddressExtendedV1
    • IcpRequestV1
    • CRMSuggestionV1
    • IpLocationV1
    • CRMGroupConnectionV1
    • LocationV1
    • ListV1
    • MaskedCompanySummaryV1
    • MaskedContactSummaryV1
    • NetworkV1
    • SignalV1
    • UserV1
    • TagV1
    • VisitLocationV1
    • WebVisitV1
    • WebVisitsTrackerScriptV1
  1. Companies

Create Company Enrichment Job

POST
/v1/companies/enrichment-jobs
Trigger an asynchronous job to enrich companies with AI-generated custom field values. The custom field must exist and be an AI field type (ai_score, ai_text, ai_number, ai_boolean) or a contact_collection field. Create custom fields via the Custom Fields API first.
The job runs in the background; poll the status endpoint to check progress.
A maximum of 50,000 companies are enriched per job, whether targeted via company_ids, list_id, or advanced_search; companies beyond this limit are not processed. Split larger selections across multiple jobs.
Use advanced_search to enrich the companies matching a search query without listing their ids yourself. You control the selection with sort (which matches to prefer), page.size (how many to enrich), and excluded_company_ids (matches to skip). Add a list_id alongside advanced_search to also save the matched companies to that list before they are enriched.
Enrichment settings (prompt, external data usage, contact collection options) come from the custom field's saved configuration. The request may override any of them for a single run; the field's configuration is never modified.
Preview: send enrichment_strategy: "preview" with a prompt and an output_type — no custom_field_id needed — to dry-run the prompt against a sample of up to 100 of the targeted companies. Nothing is written: no custom field values, no list changes. The per-company results are returned on the job resource once it completes. contact_collection fields cannot be previewed.
Credit Note: Credits are consumed as companies are enriched.
INFO
Requires the companies:read OAuth2 scope.

Request

Authorization
API Key
Add parameter in header
X-Api-Key
Example:
X-Api-Key: ********************
or
Query Params

Body Params application/jsonRequired

Examples
{
    "data": {
        "attributes": {
            "advanced_search": {
                "filters": {
                    "items": [
                        {
                            "field": "country_code",
                            "operator": "in",
                            "type": "filter",
                            "value": [
                                "DE"
                            ]
                        }
                    ],
                    "operator": "and",
                    "type": "group"
                },
                "page": {
                    "size": 1000
                },
                "sort": {
                    "direction": "desc",
                    "field": "employee_count"
                }
            },
            "custom_field_id": "ai_account_score",
            "enrichment_strategy": "all"
        },
        "type": "enrichment_job"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://api.leadfeeder.com/v1/companies/enrichment-jobs?account_id=123456' \
--header 'X-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "data": {
        "attributes": {
            "advanced_search": {
                "filters": {
                    "items": [
                        {
                            "field": "country_code",
                            "operator": "in",
                            "type": "filter",
                            "value": [
                                "DE"
                            ]
                        }
                    ],
                    "operator": "and",
                    "type": "group"
                },
                "page": {
                    "size": 1000
                },
                "sort": {
                    "direction": "desc",
                    "field": "employee_count"
                }
            },
            "custom_field_id": "ai_account_score",
            "enrichment_strategy": "all"
        },
        "type": "enrichment_job"
    }
}'

Responses

🟢202Accepted
application/json
Job accepted and started
Bodyapplication/json

Example
{
    "data": {
        "attributes": {
            "created_at": "2026-03-10T12:00:00Z",
            "status": "running"
        },
        "id": "job_21662",
        "type": "enrichment_job"
    },
    "meta": {
        "request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
    }
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠422Parameter Error
🟠429Server Error
🔴500Server Error
Modified at 2026-09-17 07:46:23
Previous
Get Company Details
Next
Estimate Company Enrichment Job
Built with