Companies
Your Goodfit API key, sent as the bare header value
Primary domain, without scheme or path
fieldNames of the data points to return, from the data points list. The identifying data points always come back. Omit for every data point; ["*"] also means every one; [] means only the identifying data points
Get a company by domain
Bad request
Unauthorized
Forbidden
No company in your dataset has this domain
Too many requests
Internal server error
GET /dataset/companies/{domain} HTTP/1.1
Host: api.goodfit.io
Authorization: YOUR_API_KEY
Accept: */*
{
"company": {
"__company_id": "text",
"__added_at": "text",
"__updated_at": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}Your Goodfit API key, sent as the bare header value
Rows per page, 1 to 1000
100Opaque cursor from a previous response. Omit for the first page
Only rows updated on or after this date
Only rows added on or after this date
Only companies currently in this segment
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$fieldNames of the data points to return, from the data points list. The identifying data points always come back. Omit for every data point; ["*"] also means every one; [] means only the identifying data points
List companies
Pass as iterator to fetch the next page. Null on the last page
Bad request
Unauthorized
Forbidden
No segment in your account has this segment_id
Too many requests
Internal server error
GET /dataset/companies HTTP/1.1
Host: api.goodfit.io
Authorization: YOUR_API_KEY
Accept: */*
{
"companies": [
{
"__company_id": "text",
"__added_at": "text",
"__updated_at": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"totalCompanies": 1,
"nextIterator": "text",
"hasMoreResults": true
}Your Goodfit API key, sent as the bare header value
List company data points
Unauthorized
Forbidden
Too many requests
Internal server error
GET /dataset/companies/fields HTTP/1.1
Host: api.goodfit.io
Authorization: YOUR_API_KEY
Accept: */*
{
"fields": [
{
"fieldName": "text",
"displayName": "text",
"fieldType": "String",
"operators": [
"exists"
],
"description": "text",
"isIntel": true
}
]
}Your Goodfit API key, sent as the bare header value
Filter group over the data points listed by GET /companies/fields
{"id":"root","combinator":"and","rules":[{"id":"r1","field":"__match_sourcing_criteria","operator":"booleanTrue"}]}100fieldNames of the data points to return, from the data points list. The identifying data points always come back. Omit for every data point; ["*"] also means every one; [] means only the identifying data points
Search companies
Bad request
Unauthorized
Forbidden
Too many requests
Internal server error
POST /dataset/companies/search HTTP/1.1
Host: api.goodfit.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 180
{
"filters": {
"id": "root",
"combinator": "and",
"rules": [
{
"id": "r1",
"field": "__match_sourcing_criteria",
"operator": "booleanTrue"
}
]
},
"limit": 100,
"iterator": "text",
"data_points": [
"text"
]
}{
"companies": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"totalCompanies": 1,
"nextIterator": "text",
"hasMoreResults": true
}Last updated