Company by LinkedIn
POST/companies/by-linkedin1 credit

Company by LinkedIn

Resolve a LinkedIn company URL (or handle) to a StartupHub company record, with a live fetch fallback when it is not already in the database. More expensive than a DB lookup because it can scrape LinkedIn. 3 credits.

POSThttps://www.startuphub.ai/api/v1/companies/by-linkedin

Request

curl -X POST "https://www.startuphub.ai/api/v1/companies/by-linkedin" \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"linkedin":"linkedin.com/company/anthropicresearch"}'

Parameters

linkedinstringrequired

LinkedIn company URL or handle (e.g. https://www.linkedin.com/company/anthropicresearch)

Response

json
{
  "data": {
    "id": "uuid",
    "name": "Anthropic",
    "slug": "anthropic",
    "website": "https://anthropic.com",
    "linkedin_url": "https://www.linkedin.com/company/anthropicresearch",
    "source": "database",
    "startuphub_url": "https://www.startuphub.ai/startups/anthropic"
  },
  "credits": { "cost": 3, "remaining_period": 9999, "remaining_balance": 1997 }
}

Errors

400Missing linkedin parameter
401Invalid or missing API key
404No company matched
429Insufficient credits