API referenceDatabase
POST
/database/companies/enrich

JavaScript SDK: swarmhit.database.companies.enrich(params)

Full database record for one company (headcount and growth, funding, revenue estimate, the number of open job listings) from its website domain (preferred), LinkedIn URL or name; when several are sent, the first in that order is used. Consumes workspace AI credits on a match, at the Company enrichment price (Settings → Credits usage, for owners and admins); a 404 (no match) is not charged. Out of credits is a 400 with code: warning-no-credits.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key created on the Access tokens page.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/database/companies/enrich" \  -H "Content-Type: application/json" \  -d '{    "domain": "stripe.com"  }'
{  "data": {    "id": 0,    "name": "string",    "domain": "string",    "website": "string",    "linkedinUrl": "string",    "description": "string",    "companyType": "string",    "yearFounded": 0,    "industry": "string",    "industries": [      "string"    ],    "headcount": 0,    "headcountRange": "string",    "headcountGrowth12m": 0,    "country": "string",    "headquarters": "string",    "funding": {      "totalUsd": 0,      "lastRoundUsd": 0,      "lastRoundType": "string",      "lastRoundDate": "string",      "investors": [        "string"      ]    },    "followers": 0,    "openings": 0,    "estimatedRevenue": {      "minUsd": 0,      "maxUsd": 0    }  }}