API Reference

LinkedIn endpoints

Profile, company page and post metrics. Share counts need an extra lookup and may not always be available.

All 3 endpoints below take a single url parameter and return the same field vocabulary used across every platform. A full object costs 2 credits; a single field costs 1.
GET /api/v1/linkedin/profile
2 credits cache 1m

LinkedIn profile

Follower count, name, headline and location for a LinkedIn member profile.

Parameters

url required
Example: https://www.linkedin.com/in/username
field optional
Return a single value for 1 credit instead of 2.

Fields

slug · memberId · name · headline · location · followers

Example request

curl -H "Authorization: Bearer $TUBESTAT_KEY" \
  "https://tubestat.co/api/v1/linkedin/profile?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fusername"
GET /api/v1/linkedin/company
2 credits cache 1m

LinkedIn company

Follower and employee counts for a LinkedIn company page.

Parameters

url required
Example: https://www.linkedin.com/company/name
field optional
Return a single value for 1 credit instead of 2.

Fields

slug · organizationId · name · followers · employees · location

Example request

curl -H "Authorization: Bearer $TUBESTAT_KEY" \
  "https://tubestat.co/api/v1/linkedin/company?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fname"
GET /api/v1/linkedin/post
2 credits cache 1m

LinkedIn post

Reaction and comment counts for a LinkedIn post. Request the shares field to include the share count - it needs an extra upstream lookup and may be unavailable.

Parameters

url required
Example: https://www.linkedin.com/embed/feed/update/urn:li:activity:ACTIVITY_ID
field optional
Return a single value for 1 credit instead of 2.

Fields

activityId · reactions · comments · reactionTypes · authorSlug · shares

Example request

curl -H "Authorization: Bearer $TUBESTAT_KEY" \
  "https://tubestat.co/api/v1/linkedin/post?url=https%3A%2F%2Fwww.linkedin.com%2Fembed%2Ffeed%2Fupdate%2Furn%3Ali%3Aactivity%3AACTIVITY_ID"