API Company Enrichment

Company Enrichment Datalegion API

Enrich one company from a domain or a company name into Data Legion's premium firmographics: industry, size, founding year, office locations, stock tickers and social profiles, plus headcount, hiring, attrition, growth and turnover, workforce breakdowns by seniority, function and tenure, and monthly headcount history.

POST/v1/run/company_enrichment.datalegion
Доступность
100,00%
30d · Вызовов: 2
Запросы
2
30d
Ответ
4,0s
медиана · 30d

Цены

Цена API Company Enrichment Datalegion

Вы платите
480,60 USD
48,06 USD/1 тыс. запросов, только за то, чем пользуетесь. Без ежемесячного тарифа.
Ваши первые запросы (2) бесплатны за счёт стартового баланса 0,10 USD.

Вызвать

Получите Company Enrichment Datalegion одним запросом

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/company_enrichment.datalegion",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={},
)
print(res.json())
Открыть в
Пример ответа
{
  "data": {
    "averageTenureMonths": 29,
    "datasetVersion": "example",
    "departures": {},
    "domains": [
      "example.com"
    ],
    "employeeCount": 12500,
    "employeeCountByEducation": {},
    "employeeCountByExpenseCategory": {},
    "employeeCountByFunction": {},
    "employeeCountByMonth": [
      {
        "count": 12500,
        "departures": 42,
        "growthRate": 12.5,
        "hires": 42,
        "month": "example",
        "netChange": 42
      }
    ],
    "employeeCountBySeniority": {},
    "employeeCountByTenure": {},
    "employeeGrowthRate": {},
    "employeeTurnoverRate": {},
    "founded": 42,
    "growthRateByExpenseCategory": {},
    "growthRateByFunction": {},
    "growthRateBySeniority": {},
    "headline": "Example title",
    "industry": "general",
    "lastSeenUtc": 42,
    "legionId": "a1b2c3d4",
    "linkedinEmployeeCount": 12500,
    "linkedinFollowers": 12500,
    "linkedinId": "https://example.com/page",
    "linkedinUrl": "https://example.com/page",
    "locations": [
      {
        "addressLine2": "123 Main St",
        "continent": "example",
        "country": "US",
        "countryCode": "US",
        "geo": "example",
        "isCurrent": true,
        "isPrimary": true,
        "lastSeenUtc": 42,
        "locality": "example",
        "postalCode": "94107",
        "region": "CA",
        "regionCode": "CA",
        "streetAddress": "123 Main St"
      }
    ],
    "matchConfidence": "a1b2c3d4",
    "matchType": "general",
    "matchedOn": [
      "example"
    ],
    "name": "Example title",
    "nameNormalized": "Example title",
    "newHires": {},
    "numSources": 42,
    "profiles": [
      {
        "network": "example",
        "profileId": "a1b2c3d4",
        "url": "https://example.com/page",
        "username": "alex_rivera"
      }
    ],
    "size": "example",
    "summary": "A short example description of this item.",
    "tickers": [
      {
        "exchange": "example",
        "symbol": "example"
      }
    ],
    "type": "general",
    "website": "https://example.com/page"
  },
  "found": true,
  "reason": "not_found"
}

Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.

Справочник

Один запрос, один формат ответа.

Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.

Проверено 2026-10-25 · доступность и задержка измерены за 30d

Тело запроса

JSON, отправляется на этот эндпоинт.

  • domainstring

    hubspot.com

    Company website domain, e.g. hubspot.com. The strongest identifier. Send either domain or name, not both.

  • minConfidenceenum

    Lowest match confidence that still counts as found. Omit it for Data Legion's default.

  • namestring

    Company name, for when you have no domain. A domain matches more reliably.

  • requiredstring

    Fields a match must have, as a Data Legion expression over its snake_case field names combined with AND, OR and parentheses, e.g. linkedin_url AND founded. A match without them counts as not found.

Вы отправляете. Небольшое тело JSON. Показанные значения это примеры, замените их своими.

Ответ

JSON, по одному примеру значения на поле.

datadata

The enriched company, or null when nothing matched.

  • averageTenureMonthsnumber

    Average tenure of current employees, in months.

  • datasetVersionstring

    Data Legion dataset build the record came from.

  • departuresobject

    Departures over the trailing 1, 3, 6 and 12 months, keyed 1m, 3m, 6m and 12m.

  • domainsstring[]

    Every website domain Data Legion links to the company, the primary one included.

  • employeeCountinteger

    Employees Data Legion currently counts from the people profiles it holds, usually below the LinkedIn figure.

  • employeeCountByEducationobject

    Current employees per highest degree, e.g. bachelors, masters, doctorate.

  • employeeCountByExpenseCategoryobject

    Current employees per expense category, e.g. research_and_development, sales_and_marketing.

  • employeeCountByFunctionobject

    Current employees per job function, e.g. engineering, sales, product.

  • employeeCountBySeniorityobject

    Current employees per seniority level, e.g. c_level, director, manager, senior.

  • employeeCountByTenureobject

    Current employees per tenure band, e.g. <1yr, 1-2yr, 2-5yr.

  • employeeGrowthRateobject

    Headcount growth rate as a fraction over the trailing 1, 3, 6 and 12 months, keyed 1m, 3m, 6m and 12m.

  • employeeTurnoverRateobject

    Turnover rate as a fraction over the trailing 1, 3, 6 and 12 months, keyed 1m, 3m, 6m and 12m.

  • foundedinteger

    Year the company was founded.

  • growthRateByExpenseCategoryobject

    Headcount growth rate per expense category, each keyed 1m, 3m, 6m and 12m.

  • growthRateByFunctionobject

    Headcount growth rate per job function, each keyed 1m, 3m, 6m and 12m.

  • growthRateBySeniorityobject

    Headcount growth rate per seniority level, each keyed 1m, 3m, 6m and 12m.

  • headlinestring

    One-line company tagline, as the company writes it.

  • industrystring

    Company industry, lowercase, e.g. software development.

  • lastSeenUtcinteger

    UTC epoch timestamp in seconds (Unix time) of the month Data Legion last saw the company, at the first of that month. Multiply by 1000 for a JS Date in milliseconds.

  • legionIdstring

    Data Legion persistent company id.

  • linkedinEmployeeCountinteger

    Employee count the company's LinkedIn page states.

  • linkedinFollowersinteger

    LinkedIn follower count.

  • linkedinIdstring

    Company LinkedIn numeric id.

  • linkedinUrlstring

    Company LinkedIn page URL.

  • matchConfidencestring

    How sure the match is: high, moderate or low.

  • matchTypestring

    How the identifier matched, e.g. exact.

  • matchedOnstring[]

    Identifiers the match was made on, e.g. domain or name.

  • namestring

    Company name as Data Legion displays it.

  • nameNormalizedstring

    Lowercase normalized company name, the form Data Legion matches on.

  • newHiresobject

    Hires over the trailing 1, 3, 6 and 12 months, keyed 1m, 3m, 6m and 12m.

  • numSourcesinteger

    Number of sources Data Legion merged into this record.

  • sizestring

    Employee headcount band, e.g. 51-200.

  • summarystring

    Long company description, as the company writes it.

  • typestring

    Ownership type, e.g. private, public.

  • websitestring

    Primary company website domain, e.g. hubspot.com.

each employeeCountByMonthdata.employeeCountByMonth[]

Monthly headcount history, oldest month first.

  • countinteger

    Employees counted that month.

  • departuresinteger

    Employees who left that month.

  • growthRatenumber

    Change in headcount from the month before, as a fraction.

  • hiresinteger

    Employees who joined that month.

  • monthstring

    Calendar month as YYYY-MM.

  • netChangeinteger

    Change in headcount from the month before.

each locationdata.locations[]

Office locations, the headquarters marked isPrimary.

  • addressLine2string

    Second line of the address.

  • continentstring

    Continent.

  • countrystring

    Country.

  • countryCodestring

    ISO 3166-1 alpha-2 country code, e.g. US.

  • geostring

    Coordinates as "lat,lon".

  • isCurrentboolean

    True while the office is still in use.

  • isPrimaryboolean

    True for the headquarters.

  • lastSeenUtcinteger

    UTC epoch timestamp in seconds (Unix time) Data Legion last saw this location. Multiply by 1000 for a JS Date in milliseconds.

  • localitystring

    City.

  • postalCodestring

    Postal code.

  • regionstring

    State or region.

  • regionCodestring

    ISO 3166-2 region code, e.g. US-MA.

  • streetAddressstring

    Street address.

each profiledata.profiles[]

Social and directory profiles Data Legion links to the company.

  • networkstring

    Network the profile is on, e.g. linkedin, facebook, crunchbase.

  • profileIdstring

    Numeric or opaque id on that network.

  • urlstring

    Profile URL.

  • usernamestring

    Handle on that network.

each tickerdata.tickers[]

Stock tickers the company trades under. Empty for a private company.

  • exchangestring

    Exchange the ticker lists on, e.g. NYSE.

  • symbolstring

    Ticker symbol, e.g. HUBS.

top level
  • foundboolean

    False when Data Legion matched no company, or none at the requested confidence or with the required fields.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Вы получаете. Именованные типизированные поля в одном формате, какой бы источник ни ответил.

Вопросы и ответы

Об API Company Enrichment Datalegion

AnyAPI Company Enrichment Datalegion API возвращает данные Company Enrichment в виде нормализованного JSON одним вызовом POST к /v1/run/company_enrichment.datalegion. Enrich one company from a domain or a company name into Data Legion's premium firmographics: industry, size, founding year, office locations, stock tickers and social profiles, plus headcount, hiring, attrition, growth and turnover, workforce breakdowns by seniority, function and tenure, and monthly headcount history. AnyAPI возвращает одну нормализованную схему, какой бы источник ни ответил. Это стоит от 48,06 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 100,0% вызовов Company Enrichment Datalegion через AnyAPI завершились успешно, медианное время ответа 4,0 с, измерено вызовов: 2.

Это стоит от 48,06 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. Вы пополняете один кошелёк в долларах США, и каждый вызов списывает с него. По некоторым неудавшимся запросам, оплаченным из кошелька, возникают расходы на обработку; мы передаём их по себестоимости, без наценки, а сумма списания указана в ответе с ошибкой.

Enrich one company from a domain or a company name into Data Legion's premium firmographics: industry, size, founding year, office locations, stock tickers and social profiles, plus headcount, hiring, attrition, growth and turnover, workforce breakdowns by seniority, function and tenure, and monthly headcount history. Ответ это нормализованный JSON с тем же конвертом, что возвращает каждый эндпоинт AnyAPI, поэтому разбор второго эндпоинта это смена URL и ничего больше.

За последние 30 дней 100,0% вызовов Company Enrichment Datalegion через AnyAPI завершились успешно, медианное время ответа 4,0 с, измерено вызовов: 2. Это собственные измерения AnyAPI по трафику через шлюз, пересчитываемые непрерывно, а не опубликованный целевой уровень обслуживания.

Да. Новый аккаунт AnyAPI стартует с бесплатным балансом 0,10 USD, карта не нужна. Этого хватает на 2 вызовов Company Enrichment Datalegion по 0,04806 USD за каждый.

Отправьте запрос POST на https://api.getanyapi.com/v1/run/company_enrichment.datalegion с вашим ключом AnyAPI в заголовке "Authorization: Bearer" и входными данными в теле JSON. Один и тот же ключ и один и тот же кошелёк работают на каждом эндпоинте AnyAPI.

Нет. Вы пополняете один предоплаченный баланс AnyAPI в долларах США, и каждый запрос списывает с него. Ежемесячного тарифа и минимума нет, а один и тот же баланс оплачивает каждый эндпоинт AnyAPI.

Да. Установите @getanyapi/sdk из npm для TypeScript или getanyapi из pip для Python. Оба вызывают любой эндпоинт AnyAPI с одним и тем же ключом, а ещё подойдёт любой HTTP-клиент.

Да. Агент может подключиться к MCP-серверу AnyAPI по адресу https://api.getanyapi.com/mcp или создать собственный бесплатный пробный ключ одним POST без аутентификации на https://api.getanyapi.com/agent/signup и вызывать этот эндпоинт по HTTP.