LinkedIn API

SkillDatabases & data

Query LinkedIn API — profile info, posts (when approved), org stats. Supports multi-account via OAuth. Use when user asks about LinkedIn metrics, LinkedIn profile, LinkedIn posts, or any reference to LinkedIn analytics.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the LinkedIn API skill

What this skill tells your AI

The instructions your AI receives, as published by evolution-foundation/evo-nexus in .claude/skills/int-linkedin/SKILL.md and read by ahel’s review.

LinkedIn integration to monitor user profile and (future) Company Page. Multi-account via OAuth (Social Auth App).

Setup

Accounts configured via make social-auth. Saved in .env:

SOCIAL_LINKEDIN_1_LABEL=Your Name
SOCIAL_LINKEDIN_1_ACCESS_TOKEN=YOUR_TOKEN
SOCIAL_LINKEDIN_1_PERSON_URN=urn:li:person:YOUR_URN

API Client

python3 {project-root}/.claude/skills/int-linkedin/scripts/linkedin_client.py <command> [args]

Commands

linkedin_client.py accounts                    # List accounts
linkedin_client.py profile [account]           # Profile (name, email, photo)
linkedin_client.py my_posts [account] [N]      # Recent posts (requires scope w_member_social)
linkedin_client.py post_stats POST_URN         # Reactions/comments of a post
linkedin_client.py org_followers [account]     # Org followers (requires Advertising API)
linkedin_client.py summary                     # Summary of all accounts

Available scopes

ScopeStatusLinkedIn Product
openid profile emailActiveSign In with OpenID Connect
w_member_socialActiveShare on LinkedIn
r_organization_socialPendingAdvertising API (request form)
r_organization_adminPendingAdvertising API (request form)

Current limitations

  • Posts: Reading posts requires an additional scope not available in the current tier
  • Company Page: Requires Advertising API (pending approval)
  • Workaround: Export CSV from LinkedIn Analytics for Company Page data

Note on versioned API

  • Base URL: https://api.linkedin.com/rest/ (org/analytics endpoints)
  • Required headers: Linkedin-Version: 202603, X-Restli-Protocol-Version: 2.0.0
  • Personal profile uses /v2/userinfo (OpenID Connect)

Signals

GitHub stars
535
Forks
177
Last commit
May 2026
Advanced
Catalog kind
skill
Gateway key
int-linkedin
Source
github.com/evolution-foundation/evo-nexus
LinkedIn API (int-linkedin): Skill · ahel