LinkedIn similar and affiliated pages

GET https://api.api.sh/linkedin/v1/company/similar
1 credit / call social try it in the playground →

The pages a LinkedIn company page lists as similar and its affiliated pages (subsidiaries, showcase pages): name, link, kind (company, showcase, school), slug, industry, location and logo, with the counts.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
urlrequired string Company link (linkedin.com/company/<slug>) or slug. Example: microsoft

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/linkedin/v1/company/similar?url=microsoft" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"company": "Microsoft","url": "https://www.linkedin.com/company/microsoft","similar_count": 10,"similar_pages": [{"name": "Google","url": "https://www.linkedin.com/company/google","kind": "company","slug": "google","industry": "Software Development","location": "Mountain View, CA","logo": "https://media.licdn.com/dms/image/v2/D4E0BAQGv3cqOuUMY7g/company-logo_100_100/B4EZmhegXHGcAU-/0/1759350753990/google_logo?e=2147483647&v=bet…"},{"name": "Amazon","url": "https://www.linkedin.com/company/amazon","kind": "company","slug": "amazon","industry": "Software Development","location": null,"logo": "https://media.licdn.com/dms/image/v2/D560BAQGDLy4STCnHbg/company-logo_100_100/B56ZnZxDipI0AQ-/0/1760295142304/amazon_logo?e=2147483647&v=bet…"},"… 8 more"],"affiliated_count": 52,"affiliated_pages": [{"name": "GitHub","url": "https://www.linkedin.com/company/github","kind": "company","slug": "github","industry": "Software Development","location": "San Francisco, CA","logo": "https://media.licdn.com/dms/image/v2/D560BAQGxQRyEwD643g/company-logo_100_100/B56Z3045ErGgAQ-/0/1777930048179/github_logo?e=2147483647&v=bet…"},{"name": "Microsoft Learn","url": "https://www.linkedin.com/showcase/microsoftlearn/","kind": "showcase","slug": "microsoftlearn","industry": "IT Services and IT Consulting","location": "Redmond, Washington","logo": "https://media.licdn.com/dms/image/v2/D4E0BAQHgSFh_G4-OUQ/company-logo_100_100/B4EZ7Vy.5ZIAAQ-/0/1781703372677/microsoftlearn_logo?e=21474836…"},"… 50 more"],"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.