Warmup companies
Check available companies in Ocean's database and trigger process of data gathering for the missing ones
POST /v2/warmup/companies
curl \
-X POST https://api.ocean.io/v2/warmup/companies?apiToken=string \
-H "Content-Type: application/json" \
-d '{"domains":["ocean.io","denmark.dk"]}'
Request examples
{
"domains": [
"ocean.io",
"denmark.dk"
]
}
Response examples (200)
{
"successfulDomains": [
"successful-domain-1.com",
"successful-domain-2.com"
],
"triggeredDomains": [
"domain-to-be-crawled-1.com",
"domain-to-be-crawled-2.com"
],
"ignoredDomains": [
"bad-domain-1",
"bad-domain-2"
],
"missingDomains": {
"missing-domain-1.com": "bad content",
"missing-domain-2.com": "crawler failed"
},
"dataErrors": {
"data-errors-domain-1.com": "missing context vector",
"data-errors-domain-2.com": "missing industry features"
}
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}