LinkedIn company page API
  1. Docs
  2. LinkedIn
  3. LinkedIn company page API

LinkedIn company page API

A company page: description, website, industry, size, headquarters, specialties, locations, followers, employee count, affiliated and similar pages.

GET /v1/linkedin/company

GET /v1/linkedin/company

A company page: description, website, industry, size, headquarters, specialties, locations, followers, employee count, affiliated and similar pages.

  • Cost: 1 credit
  • Cache: Results are kept up to 30 days; send max_age_days to reuse them for free.
  • Timeout: A request still running after about 25 seconds answers 202 with a job to poll (Batch and jobs).

Parameters#

NameTypeRequiredDescription
urlURLyesCompany page URL (linkedin.com/company/<slug>). Accepted hosts: linkedin.com.

Every request also accepts:

  • trim: true for a smaller response without null fields and extra.
  • raw: true to also get the platform's original object as raw.
  • max_age_days: accept a cached result up to this many days old, for 0 credits (Caching).

Example request#

Set your key in the environment first (see Authentication).

1curl -G "https://api.socialscrape.dev/v1/linkedin/company" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode "url=https://www.linkedin.com/company/microsoft"

Example response#

This is a sample from a recorded response, lists and long text are shortened. Status 200.

200 OKSample response
1{2  "ok": true,3  "credits_charged": 1,4  "credits_remaining": 4999,5  "cached": false,6  "cached_at": null,7  "request_id": "req_effcd4396c0e4af796ebf091",8  "data": {9    "object": "profile",10    "platform": "linkedin",11    "id": "1035",12    "handle": "microsoft",13    "name": "Microsoft",14    "headline": null,15    "url": "https://www.linkedin.com/company/microsoft",16    "kind": "company",17    "bio": "Every company has a mission. What's ours? To empower every person and every organization to achieve more. We believe technology can and should be a force for good and that meaningful innovation contributes to a brighter world in the future...",18    "avatar_url": "https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_200_200/B56ZYQ0mrGGoAM-/0/1744038948046/microsoft_logo?e=2147483647&v=beta&t=ts9MGrTk7Lz3R1bmAfzCL8euuuuPWPCoXfdiLA2_IzM",19    "banner_url": "https://media.licdn.com/dms/image/v2/D4E3DAQGWOa_gAs1qXg/image-scale_325_1920/B4EZ8ZTX5SJEAI-/0/1782835937311/microsoft_cover?e=2147483647&v=beta&t=z_r5wUburw7hBaw0p2LprNAGNhvq22Evh-q5biHXpYM",20    "verified": null,21    "is_private": null,22    "external_url": "https://news.microsoft.com/",23    "links": [24      {25        "title": "Website",26        "url": "https://news.microsoft.com/"27      }28    ],29    "location": "Redmond, Washington",30    "category": "Software Development",31    "created_at": null,32    "stats": {33      "followers": 29402101,34      "following": null,35      "posts": null,36      "likes": null,37      "views": null38    },39    "extra": {40      "address": "1 Microsoft Way, Redmond, Washington, 98052, US",41      "affiliated_pages": [42        {43          "name": "GitHub",44          "slug": "github",45          "url": "https://www.linkedin.com/company/github"46        },47        {48          "name": "Microsoft Learn",49          "slug": "microsoftlearn",50          "url": "https://www.linkedin.com/showcase/microsoftlearn/"51        },52        {53          "name": "Microsoft Azure",54          "slug": "microsoft-azure",55          "url": "https://www.linkedin.com/showcase/microsoft-azure/"56        }57      ],58      "company_size": "10,001+ employees",59      "employees_count": 231133,60      "employees_on_linkedin": 231133,61      "employees_sample": [62        {63          "name": "Reid Hoffman",64          "url": "https://www.linkedin.com/in/reidhoffman"65        }66      ],67      "headquarters": "Redmond, Washington",68      "industry": "Software Development",69      "locations": [70        "1 Microsoft Way Redmond, Washington 98052, US",71        "1 Denison Street North Sydney, NSW 2060, AU",72        "1950 Meadowvale Blvd Mississauga, Ontario L5N 8L9, CA"73      ],74      "organization_type": "Public Company",75      "postal_address": {76        "addressCountry": "US",77        "addressLocality": "Redmond",78        "addressRegion": "Washington",79        "postalCode": "98052",80        "streetAddress": "1 Microsoft Way"81      },82      "similar_pages": [83        {84          "name": "Google",85          "slug": "google",86          "url": "https://www.linkedin.com/company/google"87        },88        {89          "name": "Amazon",90          "slug": "amazon",91          "url": "https://www.linkedin.com/company/amazon"92        },93        {94          "name": "Apple",95          "slug": "apple",96          "url": "https://www.linkedin.com/company/apple"97        }98      ],99      "source": "logged_out_public_view",100      "specialties": [101        "Business Software",102        "Developer Tools",103        "Home & Educational Software"104      ]105    }106  },107  "cursor": null,108  "has_more": null109}

Response#

A Profile object in data.

See Data models for every field. The envelope around data is described in Responses.

Errors#

Failures are free: credits_charged is 0. Branch on error.code, never on the message.

CodeHTTPRetryMeaning
invalid_params400noA parameter is missing, unknown or has the wrong type.
unsupported_url400noThe URL is not one this endpoint accepts (wrong platform or form).
not_found404noThe platform says this profile, post or item does not exist.

Every request can also fail with the account and platform errors listed on the Errors page.

Example error:

1{2  "ok": false,3  "error": {4    "code": "not_found",5    "message": "The platform says this profile, post or item does not exist.",6    "retryable": false7  },8  "credits_charged": 0,9  "request_id": "req_efbd1da264d86028e02f4cc1"10}