LinkedIn partner API vs public data

Choose between LinkedIn-authorised integrations and public-data lookups, then try a company lookup in Social Fetch.

LinkedInUpdated
RequestGET /v1/linkedin/companies
const base = "https://api.socialfetch.dev";
const path = "/v1/linkedin/companies?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fmicrosoft";
const res = await fetch(`${base}${path}`, {
headers: { "x-api-key": "YOUR_API_KEY" },
});
Response200 OK
{
"data": {
"lookupStatus": "found",
"company": {
"platform": "linkedin",
"id": "784652",
"handle": "shopify",
// …
On this page

A LinkedIn connection and a public company lookup solve different jobs. If your app needs to publish for a member or manage their ads, start with LinkedIn's authorised products. If you need selected fields from a public company page, check whether a public-data lookup returns what you need.

This guide helps you choose, then shows how to prepare a Microsoft company lookup in Social Fetch and read a saved real response. You need a Social Fetch account and credits to send your own request. You do not need a LinkedIn developer app for this Social Fetch lookup.

Choose the access you need

An API is a way for software to request data or actions. With LinkedIn's APIs, your app's enabled product and permissions determine what it can request. OAuth is the process that grants an app access; it is not a promise that the app can read any LinkedIn URL.

Your taskWhere to startWhat to check
Let a member sign in to your appLinkedIn's Sign in with LinkedIn using OpenID ConnectThe sign-in product and the requested member permissions
Publish for a connected member or manage a PageLinkedIn's sharing or Community Management productsThe exact action, product access, permissions and member's role
Manage ads or retrieve account reportingLinkedIn's Advertising APIProduct approval, account access and required permissions
Look up selected public company or profile fieldsA documented Social Fetch public-data endpointSupported input, returned fields, lookup outcome and price

LinkedIn's access guide distinguishes self-service permissions from products requiring approval. Some approved programmes use application authentication, so it is inaccurate to describe every official request as a member connection.

A Social Fetch lookup does not grant LinkedIn publishing, ad-management or account-reporting permissions. A public Ad Library lookup is also different from access to an advertiser's account analytics. Keep those features separate in your application.

If you need LinkedIn-authorised access

Start with the LinkedIn product for the action you want to perform. A generic request for "partner API access" does not tell you which permissions you need.

  1. Read LinkedIn's product access requirements for your use case.
  2. In your own LinkedIn Developer Portal account, select your app from My Apps. If Settings shows the app's LinkedIn Page as unverified, have a Page admin verify it first: until then, Request access stays greyed out.
  3. Open Products and request the relevant product where LinkedIn makes it available.
  4. Check the product's approval status and permissions before implementing its documented authorisation flow. Confirm any required Page or ad-account roles too.
LinkedIn Developer Portal Products tab for a new app, listing Share on LinkedIn, Advertising API, Lead Sync API and other products. Advertising API, Development Tier, is annotated, and its Request access button is greyed out. The Client ID is redacted.
A new app before its Page is verified: Advertising API can't be requested yet. Your app's status may differ, and this guide does not promise LinkedIn approval.

For login, follow LinkedIn's OpenID Connect guide. Its profile information concerns the member who signs in. Do not treat that token as an arbitrary-profile enrichment credential.

If you need LinkedIn-approved access as a condition of your project, confirm the appropriate programme with LinkedIn. Public availability of a page does not establish permission for every use. Review the applicable terms and privacy requirements for what you intend to collect, retain and use.

Try a public company lookup

Use a public company as your first example. This keeps the input recognisable and avoids collecting an ordinary person's details while you learn.

  1. Sign in to Social Fetch.
  2. Open this company endpoint in the Playground. Check that the endpoint reads Get LinkedIn company page and the path is /v1/linkedin/companies.
  3. In url, enter https://www.linkedin.com/company/microsoft.
Real Social Fetch Playground with Microsoft's public company URL entered and the company URL field annotated.
Prepared request before Send. The Response area is empty until you send a request.
  1. Read the company operation's pricing and schema, then click Send when you want to spend credits on the lookup.
  2. In Response, check data.lookupStatus before saving any company fields. Keep meta.requestId if you need help with the request.

The company endpoint accepts company pages. A person's /in/ URL belongs on the profile endpoint. Schools and mixed organisation pages use the organisation routes linked from the company operation.

For application code, create a key using the API key guide. Keep the key on your server. In a Bash shell, set SOCIALFETCH_API_KEY to your own key privately, then run:

Request
bash

This sends a real, metered request. The API key authenticates you to Social Fetch; it is separate from a LinkedIn OAuth token.

Read the response and its cost

The response has data for the lookup result and meta for request information. This reading view uses selected fields from a real saved Microsoft company response. It is a visual explanation, not a Social Fetch dashboard screen or a fresh lookup.

Reading view of saved Microsoft company fields, with the found outcome and actual 1-credit charge annotated. Only public company information appears.
Saved real response from 21 October 2026. Found means a company result was returned; it does not prove every field is complete or current.
  • data.lookupStatus: found means there is a result to inspect. Read only the fields your application needs and handle null values.
  • data.lookupStatus: not_found means the lookup did not find a result. Do not overwrite an existing company record with empty fields.
  • meta.creditsCharged records the actual charge. A completed not_found lookup can still cost credits.
  • meta.requestId identifies the request for support.

The company endpoint shown here costs 1 credit per completed lookup. A profile lookup costs 5 credits per requested profile URL. Search and list operations have their own prices; check each operation before sending volume. See billing and credits for how credits work.

A result is a snapshot of available fields. It does not establish full LinkedIn coverage, private data access, member consent, permission to contact someone or a complete employment history. A public company employee range is not a verified count of current staff.

Troubleshooting

The Playground shows Example response

You are looking at the endpoint's example, not your company's result. Check the URL and use Send to run a metered request. Read the returned outcome and charge before storing fields.

The company endpoint rejects a person or school URL

Choose the operation for that page type. Use the profile endpoint for /in/ URLs; follow the company operation's organisation-route guidance for school pages. Changing API keys will not change the input type an endpoint accepts.

LinkedIn says my app lacks permission

Check the LinkedIn product, enabled permissions, authorisation and any required member role for that action. A Social Fetch API key cannot unlock a LinkedIn product. Conversely, a LinkedIn access token is not a Social Fetch API key.

A field is missing or null

Check the documented response schema and handle unavailable values. Do not assume that every public URL returns the same fields. If a documented response looks wrong, keep the request ID and contact support.

FAQ

Does LinkedIn have an API?

Yes. It has self-service and approval-based products. Start with the product and permission needed for your action, rather than assuming all access needs the same partner programme.

Can I use LinkedIn's sign-in token to enrich any profile URL?

Do not assume that you can. Sign in with LinkedIn returns information about the member who signs in. Other products have their own access rules.

Does Social Fetch replace LinkedIn partner APIs?

No. The company lookup demonstrated here returns public company fields. It does not authorise publishing, ad management or access to private member data.

Does public availability mean unrestricted use?

No. Review the applicable terms, privacy requirements and your intended use. Neither an API response nor this guide gives legal permission for a particular project.

Next steps

Share this article

Try the API

Profiles, posts, comments and metrics on 87 platforms through one REST API.

Try the Playground