Leadfeeder API
    • Introduction
    • Authentication
    • Getting Started
    • Rate Limits
    • Relationships
    • Company ID Lifecycle
    • OpenAPI Specification Access
    • List of NACE / WZ codes
    • List of Industries
    • Account
      • List Accounts
    • Companies
      • Get Company Details
      • Retrieve Companies
      • Company Financial Reports
      • Search Company Signals
      • Search Companies
      • Match Companies
      • Retrieve Company IPs
      • Add Company to Lists
      • Remove Company from Lists
      • Assign Tags to Company
      • Unassign Tags from Company
    • Contacts
      • Get Contact Details
      • Retrieve Contacts
      • Search Contacts
      • Add Contact to Lists
      • Remove Contact from Lists
    • Web Visits
      • How to Create Custom Feed
      • Custom Feed - Filter Reference
      • Search Web Visits
      • Retrieve Custom Feeds
      • Create a Custom Feed
      • Get Custom Feed Details
      • Update Custom Feed
      • Delete a Custom Feed
      • Retrieve Custom Feeds Folders
      • Retrieve Web Visits Tracker Script
      • Retrieve Visitor Companies
    • IP
      • Enrich Company IP Address
    • Buyer Personas
      • Retrieve Buyer Personas
      • Get Buyer Persona Details
    • Ideal Customer Profiles
      • Retrieve Ideal Customer Profiles
      • Get Ideal Customer Profile Details
    • Tags
      • Retrieve Tags
      • Create Tag
      • Get Tag Details
      • Update Tag
      • Delete Tag
    • Lists
      • Retrieve Lists
      • Create a List
      • Get List Details
      • Update List
      • Delete List
    • Custom Fields
      • Retrieve Custom Fields
      • Create Custom Field
      • Get Custom Field Details
      • Update Custom Field
      • Delete Custom Field
    • Usage
      • Get Endpoints Usage
    • Schemas
      • VisitLocationV1
      • LocationV1
      • CRMUserV1
      • CRMOrganizationV1
      • ICPV1
      • CRMContactV1
      • IpAddressExtendedV1
      • CompanyIpV1
      • CRMLeadV1
      • WebVisitV1
      • BuyerPersonaV1
      • CRMConnectionV1
      • CRMSuggestionV1
      • IpLocationV1
      • CRMGroupConnectionV1
      • CustomFeedRequestV1
      • AccountV1
      • MaskedContactSummaryV1
      • CustomFeedV1
      • CustomFeedFolderV1
      • WebVisitsTrackerScriptV1
      • CompanyLocationV1
      • AccountSummaryV1
      • ErrorObjectV1
      • MaskedCompanySummaryV1
      • CompanyV1
      • NetworkV1
      • CompanyFinancialsV1
      • SignalV1
      • CompanySummaryV1
      • TagV1
      • ListV1
      • CompanyMatchV1
      • CustomFieldV1
      • ContactV1
      • ContactSummaryV1
      • EnrichedIpV1
      • ApiUsageV1

    Relationships

    Some endpoints in the Leadfeeder API have the capability to return related objects.
    For example, when fetching a Contact via the Get Contact Details endpoint, part of the response will be a relationships object, which will contain a company key, which in turn will contain an object with only the following keys:
    id: the ID of the related object
    type: the type of the related object (in the above example, it would be "company")
    You can then use the Get Company Details endpoint to fetch the details of that particular company using the id returned above.
    Additionally, some endpoints support fetching related objects in a single request. As the Get Contact Details endpoint is one such endpoint, we can use it as an example.
    To fetch the related data, we add the include parameter to the query string as follows: include=<relationship names separated by commas>. In this example, we would add include=company. Note that you can specify multiple relationships this way.
    The response would then include the entire Company object under the Contact's relationship key.
    Note that the feature is only supported by endpoints that explicitly mention it in theit documentation, and we only support fetching immediate relationships (i.e. there is currently no way to fetch relationships that are more than one level deep).
    Modified at 2026-03-24 07:59:06
    Previous
    Rate Limits
    Next
    Company ID Lifecycle
    Built with