7-day Trial

LinkedIn API for search, invites and messages, no partner approval

LinkedIn's official API opens only sign-in and sharing to every developer, and the rest needs partner approval. Gologin Connected Accounts searches, invites, messages and posts through its API from the accounts you connect, each in its own browser with a dedicated IP.

3 accounts free during early access, no card.

4.7 / 5 on G2from 79 reviews
POST /linkedin/invites/send

Dry run: 3 invites checked, nothing sent

Is there a LinkedIn API? Yes, but it's for partners

The LinkedIn API is LinkedIn's own set of developer APIs. Any developer can add Sign In with LinkedIn and Share on LinkedIn; messaging and invitations are for approved partners, Sales Navigator takes no new partners, and no official API searches people by keyword.

What you needOfficial LinkedIn API
Post, comment and reactOpen to allYes
Read profilesThe signed-in member onlyAny profile the account sees
Search people by keywordNo APIYes
Send connection invitesApproved partners onlyYes, dry run first
Send messagesApproved partners onlyYes, dry run first
Read the inboxNo APIEvery account in one list
How you get accessApp review + Partner approvalAn API key at sign-up

Want to see it on your own accounts? Book a demo.

Compare LinkedIn API providers side by side

Unipile and LinkupAPI cost less at 10 accounts, and both say they enforce no limits on their side. Gologin Connected Accounts gives each account its own browser and IP, keeps it inside daily limits, and adds a dry run, one inbox and an AI assistant for the price.

How Gologin Connected Accounts, Unipile, Linked API and LinkupAPI reach LinkedIn, what each one includes and what 10 and 100 accounts cost a month
What you getUnipileLinked APILinkupAPI
Search people, send invites and messages
Publish posts, comment, react
How it reaches LinkedInDedicated browserReverse engineeringDedicated browserServer-side
Dedicated IP for each account
Static or rotating residential IP, your pick
Choose the IP country
Your own proxy
Dry run before anything is sent
LinkedIn sign-in codes through the API
Daily limits kept per account
Automatic warm-up
One inbox for every accountOlder API only
AI assistant included
Connect accounts from a fileUp to 500
MCP serverComing soon
10 accounts, per month$89$55$690$55
100 accounts, per month$399$500$6,900$349.50
Free start3 accounts, no card7 days, no card7 days

Coming from Unipile? See the Unipile alternative in detail.

Use 66 LinkedIn API methods, grouped by job

22 LinkedIn actions plus everything to run the accounts: sign‑in checks, limits, warm‑up, bulk import, one inbox and a webhook.

  • LinkedIn people search API

    Search people
    Search companies
    Search posts
    Read a profile
    Read work experience
    List connections

  • LinkedIn invitation API

    Send an invite with a note
    Dry run before it is sent
    Accept an invitation
    Ignore an invitation
    List received invitations
    Track sent invites until accepted

  • LinkedIn messaging API

    Send a message
    Read a conversation
    List conversations
    One inbox for every account
    Unread counts per account
    Webhook for new messages

  • LinkedIn posts API

    Publish a text post
    Comment on a post
    Reply to a comment
    React to posts and comments
    List comments and reactions
    Read a post or your own posts

  • Account connection API

    Sign in with a password or cookies
    Connect a Gologin profile as it is
    Email, app and authenticator codes
    Live window for LinkedIn checks
    Import up to 500 accounts from a file
    Pick the IP country or your own proxy

  • Limits and warm-up API

    Read every daily and weekly limit
    See what is used and when it resets
    Set your own limits
    Reset them to recommended
    Move an account to another stage
    Warm up a session before a batch

Want a walkthrough of the methods for your use case? Book a demo.

Call the LinkedIn API from your code or AI agent

Plain REST over HTTPS, so any language works, Claude Code, Codex and Cursor included; a Gologin LinkedIn MCP server is coming soon. Your Gologin API token goes in as a Bearer token.

  1. Step 01

    Get your API key

    Sign up free and copy your Gologin API token.

  2. Step 02

    Connect your LinkedIn accounts

    With a password, LinkedIn cookies or the Gologin profile the account already works in, with no new sign-in. Its past conversations come in too, and up to 500 accounts load from one file.

  3. Step 03

    Search, then invite as a dry run

    The answer says whether the invite would go out. Set send to true when it is what you expect. Every method is in the LinkedIn API docs.

Run
GOLOGIN_TOKEN=your_token ACCOUNT_ID=your_account_id PROFILE_URL=url bash invite.sh
Base URL
https://ai.gologin.com/accounts-api
API=https://ai.gologin.com/accounts-api

curl "$API/linkedin/people/search?accountId=$ACCOUNT_ID&query=head+of+growth&limit=3" \
  -H "Authorization: Bearer $GOLOGIN_TOKEN"

curl -X POST "$API/linkedin/invites/send" \
  -H "Authorization: Bearer $GOLOGIN_TOKEN" \
  -H "Content-Type: application/json" \
  -d @- <<EOF
{
  "accountId": "$ACCOUNT_ID",
  "profileUrl": "$PROFILE_URL",
  "note": "Hi, I run growth at a SaaS too. Happy to connect.",
  "send": false
}
EOF

Keep each account inside its own LinkedIn limits

Every connected account has its own IP country, a stage and daily limits that the API reads and changes. A new account starts at 5 invites a day and steps up week by week to 20. Unipile and LinkupAPI leave that to you:

We don't enforce any limits on our side
Unipile and LinkupAPI

Use the same LinkedIn accounts in the app, with our AI or yours

Your code and your team share one set of accounts. Every reply lands in one inbox and goes back from the account it came to, and the Gologin AI assistant takes a job in one sentence and shows its plan before anything is sent. Unipile, Linked API and LinkupAPI sell the API alone.

LinkedIn API pricing: a browser per account from $3.99, not $69

Linked API charges $69 an account a month for a browser per account. Gologin Connected Accounts gives each account its own browser and IP from $3.99, with the AI assistant and one inbox included, and no credits or per-call fees.

Free during early access. No card.

LinkedIn API questions, answered

Is the LinkedIn API free?

LinkedIn charges no fee for its API today, but only Sign In and Share on LinkedIn are open to every developer; the rest needs approval. Gologin Connected Accounts is free for 3 accounts during early access, no card. After that, the Connected Accounts LinkedIn API costs from $29 a month for 3 accounts.

Does LinkedIn have an API?

Yes, for signing users in and posting for them. People search, invites and messages have no open API. The Gologin Connected Accounts API does those from the accounts you connect.

How do I get LinkedIn API access?

For the official API, create a LinkedIn Page and an app in the Developer Portal, have the Page admin verify the app, then request products; most need LinkedIn's approval. For Gologin Connected Accounts, sign up, copy your API token and connect a LinkedIn account. There is no app review.

How do I use the LinkedIn API?

Sign up, connect a LinkedIn account and call the methods over HTTPS with your Gologin API token as a Bearer token. Start with a people search, then send an invite as a dry run and read the answer before you set send to true. The cURL and Python LinkedIn API examples above do exactly that.

How do I get a LinkedIn API key?

LinkedIn gives a client ID and secret for each app in its Developer Portal. The Connected Accounts key is your Gologin API token: sign up free and copy it in the app.

Does the LinkedIn API have a people search endpoint?

Not in the official API. The Connected Accounts LinkedIn search API finds people by keywords, current or past company and followers, or by a LinkedIn search link you paste, one results page per call. Without code, the AI assistant in the LinkedIn prospecting tool runs the same search for you.

Can I read LinkedIn profiles through the API?

The official LinkedIn Profile API is restricted to developers LinkedIn approves; open apps get only the signed-in member's own name, photo and email. The Connected Accounts profile API reads any profile your connected account can open: the top card, the connection state and work experience.

Is there a LinkedIn messaging API?

LinkedIn's Messages API is for approved partners only and writes only to first-degree connections. The Connected Accounts messaging API writes to a person or continues a conversation, reads every account's inbox and sends new messages to your webhook. Paid InMail is never spent without asking.

Can I post on LinkedIn through the API?

Yes. The official Share on LinkedIn API posts for a signed-in member. The Connected Accounts posts API publishes text posts from the accounts you connect, comments, replies and reacts.

Can AI agents use the LinkedIn API?

Yes. Claude Code, Codex and Cursor call the Connected Accounts API over REST today; a Gologin LinkedIn MCP server is coming soon. Each action runs in the account's own browser for AI agents. For outreach without code, the LinkedIn AI agent takes the job in one sentence.

Where is the LinkedIn API documentation?

LinkedIn's is on Microsoft Learn. The Connected Accounts docs list all 66 methods with request and answer examples: LinkedIn API docs.

Can I use the LinkedIn API with Python?

Yes. It is plain REST over HTTPS with a Bearer token, so it works from Python requests, Node fetch, curl or any HTTP client. The Python sample above searches people and sends invites as a dry run.

Which countries can the account's IP come from?

By default, Gologin Connected Accounts gives each account a static IP of its own in one of 12 countries you pick. You can switch an account to a rotating residential IP from Gologin Proxies in 195+ countries, or bring your own LinkedIn proxy.

What are the LinkedIn API rate limits?

LinkedIn's official API counts calls per app and per member each day, resets at midnight UTC and answers 429 past the limit. Gologin Connected Accounts counts actions per account. A new account starts at 5 invites and 10 messages a day and reaches 20 invites and 50 messages after 4 clean weeks with 30%+ of invites accepted. The limits method shows what is used and when it resets.

Is Gologin Connected Accounts an official LinkedIn API?

No. It is not LinkedIn's API or partner access. Each action runs in the account's own browser, the way its owner would, within daily limits. That lowers the risk, but no tool can promise LinkedIn will never limit an account. More on AI LinkedIn outreach for multiple accounts and how to manage multiple LinkedIn accounts.

Connect LinkedIn once. Call it from your code today.

Each account gets its own browser and IP, stays signed in and keeps to its limits. Your API key comes with sign-up.

3 accounts free during early access, no card.

4.7 / 5 on G2from 79 reviews