# Clearbit-compatibele verrijking

Teruggegeven door [`GET /people/find`](/api/enrichment#person-api), [`GET /companies/find`](/api/enrichment#company-api) en [`GET /combined/find`](/api/enrichment#combined-api). Deze endpoints gebruiken de veldnamen van Clearbit; de [migratiegids voor Clearbit](/migration/clearbit/introduction) bevat de mapping. Gebruik voor het eigen formaat van Tomba [Email Enrichment](/attributes/person).

Als er geen match is, geven deze endpoints status `200` terug met een object `errors` in plaats van `data`: type `not_found` als Tomba geen record heeft, en `params_invalid` voor een wegwerp- of webmailadres of -domein. Controleer op `errors` voordat je `data` leest; zie [Fouten](/error-handling#error-format).

## Persoonsvelden

`GET /people/find` geeft deze velden terug in `data`, en het adres dat je hebt opgezocht in `meta.email`.

| Veld                                                | Type           | Beschrijving                                                                                                      |
| ---------------------------------------------------- | -------------- | ---------------------------------------------------------------------------------------------------------------- |
| `email`                                              | string         | Het e-mailadres.                                                                                               |
| `name.fullName`, `name.givenName`, `name.familyName` | string         | Volledige naam, voornaam en achternaam.                                                                                      |
| `gender`                                             | string of null | `male` of `female`.                                                                                              |
| `location`                                           | string of null | Landcode van twee letters. Clearbit geeft hier een volledige locatie terug.                                                  |
| `geo.country`                                        | string         | Naam van het land, zoals `United States`.                                                                           |
| `geo.countryCode`                                    | string of null | Landcode van twee letters.                                                                                         |
| `employment.domain`                                  | string         | Domein van de werkgever.                                                                                               |
| `employment.name`                                    | string of null | Naam van de werkgever.                                                                                                 |
| `employment.title`                                   | string of null | Functietitel.                                                                                                       |
| `employment.role`                                    | string of null | Afdeling, zoals `engineering`. Zie [Afdelingen](/attributes/person#departments).                            |
| `linkedin.handle`                                    | string of null | URL van het LinkedIn-profiel. Clearbit geeft hier een handle terug.                                                            |
| `twitter.handle`                                     | string of null | URL van het Twitter (X)-profiel. Clearbit geeft hier een handle terug.                                                         |
| `phone`                                              | boolean        | `true` als Tomba een telefoonnummer voor de persoon heeft.                                                             |
| `verification.status`, `verification.date`           | string of null | De laatste controle van het adres door Tomba, zoals in het [Person-antwoord](/attributes/person#fields). Geen veld van Clearbit. |
| `indexedAt`                                          | string         | Wanneer Tomba het record voor het laatst heeft bijgewerkt, in RFC 3339-notatie.                                                          |

Altijd `null`: `timeZone`, `utcOffset`, `bio`, `site`, `avatar`, `fuzzy`, `emailProvider`, `activeAt`, `inactiveAt`, `geo.city`, `geo.state`, `geo.stateCode`, `geo.lat`, `geo.lng`, `employment.subRole`, `employment.seniority`, `facebook.handle`, elk `github`-veld, elk `gravatar`-veld en elk `twitter`-veld behalve `handle`.

## Bedrijfsvelden

`GET /companies/find` geeft deze velden terug in `data`, en het domein dat je hebt opgezocht in `meta.domain`.

| Veld                                                                    | Type                          | Beschrijving                                                                                                                                  |
| ------------------------------------------------------------------------ | ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `name`                                                                   | string of null                | Bedrijfsnaam. `legalName` heeft dezelfde waarde.                                                                                                |
| `domain`                                                                 | string                        | Het domein.                                                                                                                                  |
| `description`                                                            | string of null                | Korte beschrijving van het bedrijf.                                                                                                            |
| `foundedYear`                                                            | string of null                | Oprichtingsjaar.                                                                                                                                |
| `type`                                                                   | string of null                | Type bedrijf, in dezelfde vorm als `company_type` in het [Company-antwoord](/attributes/company#values).                                      |
| `tags`                                                                   | array van strings of null      | Trefwoorden die het bedrijf beschrijven.                                                                                                          |
| `location`                                                               | string of null                | Landcode van twee letters van het hoofdkantoor.                                                                                                 |
| `geo.country`                                                            | string                        | Naam van het land.                                                                                                                                |
| `geo.countryCode`                                                        | string of null                | Landcode van twee letters.                                                                                                                     |
| `geo.city`, `geo.state`, `geo.postalCode`                                | string of null                | Stad, staat of regio en postcode. `geo.stateCode` herhaalt `geo.state`.                                                                 |
| `geo.streetAddress`                                                      | string of null                | Straatadres. `geo.streetNumber` en `geo.streetName` herhalen het.                                                                           |
| `site.phoneNumbers`                                                      | array van strings of null      | Het telefoonnummer van het bedrijf, als Tomba er een heeft.                                                                                                |
| `site.emailAddresses`                                                    | array van strings of null      | Generieke adressen (functieadressen) bij het domein.                                                                                                      |
| `category.sicCode`, `category.sic4Codes`                                 | string of null, array of null | SIC-codes. Zie [SIC-codes](/attributes/sic).                                                                                                 |
| `category.naicsCode`, `category.naics6Codes`, `category.naics6Codes2022` | string of null, array of null | NAICS-codes. Zie [NAICS-codes](/attributes/naics).                                                                                           |
| `metrics.employees`                                                      | string of null                | Bereik van het aantal medewerkers, zoals in `company_size`.                                                                                                  |
| `metrics.annualRevenue`                                                  | string of null                | Bereik van de geschatte jaaromzet. `metrics.estimatedAnnualRevenue` heeft dezelfde waarde.                                                         |
| `metrics.trafficRank`                                                    | string of null                | Populariteitsrang van het domein op het web, als getal in een string. Hoe lager, hoe populairder. Clearbit geeft hier een label zoals `very_high` terug. |
| `facebook.handle`, `linkedin.handle`, `twitter.handle`                   | string of null                | Handles van de profielen van het bedrijf.                                                                                                           |
| `emailProvider`                                                          | string of null                | Mailprovider die is afgeleid uit de MX-records van het domein, zoals `Google`.                                                                       |
| `tech`                                                                   | array van strings of null      | Namen van de technologieën die op de website zijn gedetecteerd. Zie [Technology-antwoord](/attributes/technology).                                        |
| `techCategories`                                                         | array van strings of null      | Categorieën van die technologieën.                                                                                                            |
| `whois`                                                                  | object                        | Domeinregistratie, met sleutels in snake_case. Zie [WHOIS](/attributes/company#whois). Geen veld van Clearbit.                                     |
| `indexedAt`                                                              | string                        | Wanneer Tomba het record voor het laatst heeft bijgewerkt, in RFC 3339-notatie.                                                                                      |

Altijd `null`: `domainAliases`, `timeZone`, `utcOffset`, `logo`, `ticker`, `identifiers.usEIN`, `category.sector`, `category.industryGroup`, `category.industry`, `category.subIndustry`, `geo.subPremise`, `geo.lat`, `geo.lng`, `facebook.likes`, elk `twitter`-veld behalve `handle`, `metrics.alexaUsRank`, `metrics.alexaGlobalRank`, `metrics.marketCap`, `metrics.raised`, `metrics.fiscalYearEnd`, `parent.domain` en `ultimateParent.domain`. Gebruik voor de branche `industries` uit [Domain Search](/attributes/company); gebruik voor het logo [Logo API](/logo-api).

## Gecombineerde velden

`GET /combined/find` geeft de persoonsvelden terug in `data.person`, de bedrijfsvelden voor het domein van het adres in `data.company` en het adres in `meta.email`. Als Tomba geen record voor het domein heeft, is elk `company`-veld `null` en is `meta.email` leeg.

## Voorbeeld

`GET /people/find?email=jane.doe@stripe.com`:

```json
{
    "data": {
        "name": {
            "fullName": "Jane Doe",
            "givenName": "Jane",
            "familyName": "Doe"
        },
        "email": "jane.doe@stripe.com",
        "location": "US",
        "gender": "female",
        "timeZone": null,
        "utcOffset": null,
        "geo": {
            "city": null,
            "state": null,
            "stateCode": null,
            "country": "United States",
            "countryCode": "US",
            "lat": null,
            "lng": null
        },
        "bio": null,
        "site": null,
        "avatar": null,
        "employment": {
            "domain": "stripe.com",
            "name": "Stripe",
            "title": "Software Engineer",
            "role": "engineering",
            "subRole": null,
            "seniority": null
        },
        "facebook": { "handle": null },
        "github": {
            "handle": null,
            "id": null,
            "avatar": null,
            "company": null,
            "blog": null,
            "followers": null,
            "following": null
        },
        "twitter": {
            "handle": null,
            "id": null,
            "bio": null,
            "followers": null,
            "following": null,
            "statuses": null,
            "favorites": null,
            "location": null,
            "site": null,
            "avatar": null
        },
        "linkedin": { "handle": null },
        "gravatar": {
            "handle": null,
            "urls": null,
            "avatar": null,
            "avatars": null
        },
        "verification": {
            "date": "2025-01-15T10:32:00+01:00",
            "status": "valid"
        },
        "phone": false,
        "fuzzy": null,
        "emailProvider": null,
        "indexedAt": "2025-04-03T13:23:24+02:00",
        "activeAt": null,
        "inactiveAt": null
    },
    "meta": { "email": "jane.doe@stripe.com" }
}
```

`GET /companies/find?domain=stripe.com`:

```json
{
    "data": {
        "name": "Stripe",
        "legalName": "Stripe",
        "domain": "stripe.com",
        "domainAliases": null,
        "site": {
            "phoneNumbers": ["+1 415-555-0100"],
            "emailAddresses": ["support@stripe.com"]
        },
        "category": {
            "sector": null,
            "industryGroup": null,
            "industry": null,
            "subIndustry": null,
            "sicCode": null,
            "sic4Codes": ["7372"],
            "naicsCode": null,
            "naics6Codes": ["522320"],
            "naics6Codes2022": ["522320"]
        },
        "tags": ["payments", "billing", "fintech"],
        "description": "Stripe is a financial infrastructure platform for businesses.",
        "foundedYear": "2010",
        "location": "US",
        "timeZone": null,
        "utcOffset": null,
        "geo": {
            "streetNumber": "354 Oyster Point Blvd",
            "streetName": "354 Oyster Point Blvd",
            "subPremise": null,
            "streetAddress": "354 Oyster Point Blvd",
            "city": "South San Francisco",
            "postalCode": "94080",
            "state": "California",
            "stateCode": "California",
            "country": "United States",
            "countryCode": "US",
            "lat": null,
            "lng": null
        },
        "logo": null,
        "facebook": { "handle": "StripeHQ", "likes": null },
        "linkedin": { "handle": "stripe" },
        "twitter": {
            "handle": "stripe",
            "id": null,
            "bio": null,
            "followers": null,
            "following": null,
            "location": null,
            "site": null,
            "avatar": null
        },
        "whois": {
            "registrar_name": "SafeNames Ltd.",
            "created_date": "1995-09-12T04:00:00Z",
            "referral_url": "http://www.safenames.net"
        },
        "emailProvider": "Google",
        "type": "private",
        "ticker": null,
        "identifiers": { "usEIN": null },
        "metrics": {
            "alexaUsRank": null,
            "alexaGlobalRank": null,
            "trafficRank": "310",
            "employees": "5K-10K",
            "marketCap": null,
            "raised": null,
            "annualRevenue": "$1B-$10B",
            "estimatedAnnualRevenue": "$1B-$10B",
            "fiscalYearEnd": null
        },
        "indexedAt": "2025-04-03T13:23:24+02:00",
        "tech": ["Intercom", "Stripe"],
        "techCategories": ["Live chat", "CRM", "Payment processors"],
        "parent": { "domain": null },
        "ultimateParent": { "domain": null }
    },
    "meta": { "domain": "stripe.com" }
}
```
