> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keyapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get company profile

> Get LinkedIn company profile information

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">1 credit</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">per request</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 Why Code When AI Can Do It For You?</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">Stop writing code like it's 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.</p>
  </div>

  <div className="mt-4">
    <button
      type="button"
      className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50"
      onClick={() => navigator.clipboard.writeText(`I want to make an API call to https://api.keyapi.ai/v1/linkedin/get_company_profile.

Please help me write code to make this API call and handle the response appropriately. Include error handling and best practices.

Here are the details:

Endpoint: GET https://api.keyapi.ai/v1/linkedin/get_company_profile

Description: Get LinkedIn company profile information

Required Headers:
--header 'Authorization: Bearer <YOUR_API_KEY>'

Parameters:
- company (Optional): Company name (choose one with company_id). Example: rapidapi
- company_id (Optional): Company ID (choose one with company) (costs 1 additional request)

Example Response:
{
"code": 0,
"message": "success",
"data": {
"id": "10649600",
"name": "Rapid (acquired by Nokia)",
"universal_name": "rapidapi",
"description": "RapidAPI is the world’s largest API Hub where millions of developers find and connect to tens of thousands of public APIs. 

We're a team of developers, building for developers, based in San Francisco, Tel Aviv, Tallinn, Berlin, and remote locations around the world.",
"linkedin_url": "https://www.linkedin.com/company/rapidapi/",
"website_url": "https://RapidAPI.com/",
"active": true,
"archived": false,
"follower_count": 24583,
"employee_count": 337,
"employee_count_range": {
  "start": 51,
  "end": 200
},
"claimable": false,
"verification": {
  "verified": true,
  "last_modified_at": "2023-09-12T18:18:31.454Z"
},
"founded_on": {
  "day": null,
  "month": null,
  "year": 2015
},
"headquarter": {
  "country": "US",
  "city": "San Francisco",
  "geographic_area": "California",
  "line1": "2 Shaw Alley",
  "line2": "Floor #4",
  "postal_code": "94105"
},
"locations": [
  {
    "name": "Berlin",
    "address": {
      "country": "DE",
      "city": "Berlin",
      "geographic_area": null
    },
    "lat_long": {
      "latitude": 52.560253,
      "longitude": 13.296672
    }
  },
  {
    "name": "San Francisco",
    "address": {
      "
... (truncated)`)}
    >
      <span>✨</span>
      <span>Copy for AI</span>
    </button>
  </div>
</div>


## OpenAPI

````yaml en/linkedin.openapi.json GET /v1/linkedin/get_company_profile
openapi: 3.0.1
info:
  title: LinkedIn API english documentation
  description: >-
    The english reference documentation of the LinkedIn API includes the
    interface's purpose, parameter description, response status, and sample
    structure.
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Production
security:
  - JWT Bearer: []
tags: []
paths:
  /v1/linkedin/get_company_profile:
    get:
      tags: []
      summary: Get company profile
      description: Get LinkedIn company profile information
      parameters:
        - name: company
          in: query
          description: Company name (choose one with company_id)
          required: false
          example: rapidapi
          schema:
            type: string
        - name: company_id
          in: query
          description: Company ID (choose one with company) (costs 1 additional request)
          required: false
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: 0
                message: success
                data:
                  id: '10649600'
                  name: Rapid (acquired by Nokia)
                  universal_name: rapidapi
                  description: >-
                    RapidAPI is the world’s largest API Hub where millions of
                    developers find and connect to tens of thousands of public
                    APIs. 


                    We're a team of developers, building for developers, based
                    in San Francisco, Tel Aviv, Tallinn, Berlin, and remote
                    locations around the world.
                  linkedin_url: https://www.linkedin.com/company/rapidapi/
                  website_url: https://RapidAPI.com/
                  active: true
                  archived: false
                  follower_count: 24583
                  employee_count: 337
                  employee_count_range:
                    start: 51
                    end: 200
                  claimable: false
                  verification:
                    verified: true
                    last_modified_at: '2023-09-12T18:18:31.454Z'
                  founded_on:
                    day: null
                    month: null
                    year: 2015
                  headquarter:
                    country: US
                    city: San Francisco
                    geographic_area: California
                    line1: 2 Shaw Alley
                    line2: 'Floor #4'
                    postal_code: '94105'
                  locations:
                    - name: Berlin
                      address:
                        country: DE
                        city: Berlin
                        geographic_area: null
                      lat_long:
                        latitude: 52.560253
                        longitude: 13.296672
                    - name: San Francisco
                      address:
                        country: US
                        city: San Francisco
                        geographic_area: California
                        line1: 2 Shaw Alley
                        line2: 'Floor #4'
                        postal_code: '94105'
                      lat_long:
                        latitude: 37.39271
                        longitude: -122.042
                    - name: Tallinn
                      address:
                        country: EE
                        city: Tallinn
                        geographic_area: null
                      lat_long:
                        latitude: 59.437214
                        longitude: 24.745369
                    - name: Tel Aviv
                      address:
                        country: IL
                        city: Tel Aviv
                        geographic_area: null
                        line1: Menachem Begin Blv. 148
                      lat_long:
                        latitude: 30.812426
                        longitude: 34.859478
                  logo:
                    - width: 200
                      height: 200
                      url: >-
                        https://media.licdn.com/dms/image/v2/D560BAQHnqRt58Ae7ig/company-logo_200_200/company-logo_200_200/0/1731507876313/rapidapi_logo?e=1774483200&v=beta&t=VTyHRZgj-ziZJEooIa6wi4GLlgZMuTdk94LnszJmLWs
                      expires_at: 1774483200000
                    - width: 100
                      height: 100
                      url: >-
                        https://media.licdn.com/dms/image/v2/D560BAQHnqRt58Ae7ig/company-logo_100_100/company-logo_100_100/0/1731507876313/rapidapi_logo?e=1774483200&v=beta&t=1wt9Pf-f7Fv5HqI8B7_9pgQC6l7YczANVBiPDYnoAPs
                      expires_at: 1774483200000
                    - width: 400
                      height: 400
                      url: >-
                        https://media.licdn.com/dms/image/v2/D560BAQHnqRt58Ae7ig/company-logo_400_400/company-logo_400_400/0/1731507876313/rapidapi_logo?e=1774483200&v=beta&t=O6ZudcfMdBacQfqYkaAyjG3rKC2_EPURIYcaTWfDm1E
                      expires_at: 1774483200000
                  cover:
                    - width: 1920
                      height: 1080
                      url: >-
                        https://media.licdn.com/dms/image/v2/D561BAQGyzYbC2bAI5g/company-background_10000/company-background_10000/0/1731507926382/rapidapi_cover?e=1773302400&v=beta&t=8GFgCBZXLzvB_Ed4kUSvu_XP7rR7Y1i7aZlbCDxcdw4
                      expires_at: 1773302400000
                    - width: 400
                      height: 225
                      url: >-
                        https://media.licdn.com/dms/image/v2/D561BAQGyzYbC2bAI5g/company-background_400/company-background_400/0/1731507926382/rapidapi_cover?e=1773302400&v=beta&t=vr_9F4YwLbVP4BtBJoWTOm6auImGnHfE-f-IBE6x_ao
                      expires_at: 1773302400000
                    - width: 200
                      height: 112
                      url: >-
                        https://media.licdn.com/dms/image/v2/D561BAQGyzYbC2bAI5g/company-background_200/company-background_200/0/1731507926382/rapidapi_cover?e=1773302400&v=beta&t=BkATIJNar5mJNoW1oSwsU0Iyqcv04NU-ka_qNMx6wMk
                      expires_at: 1773302400000
                  specialities:
                    - API Hub
                    - API
                    - Web
                    - Developers
                    - API Client
                    - REST API
                    - GraphQL
                    - Kafka
                    - OpenAPI
                    - Application Programming Interface
                    - Web APIs
                    - JavaScript
                    - React
                    - Vue
                    - Python
                    - Java
                    - PHP
                    - C
                    - C#
                    - C++
                    - TypeScript
                    - .NET
                  industries:
                    - Information Technology & Services
                  hashtags:
                    - name: '#dev'
                      follower_count: 12602
                    - name: '#rapidapi'
                      follower_count: 36
                    - name: '#api'
                      follower_count: 14865
                  funding_info:
                    last_funding_round:
                      money_raised: {}
                      announced_on: {}
                requestId: 0e12fea3-4dab-4868-a39b-7b4978d3a260
          headers: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 400
                  data: null
                  message: 'Missing required parameter: handle'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 401
                  data: null
                  message: apiKey is null
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 402
                  data: null
                  message: apiKey quota is not enough
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 429
                  data: null
                  message: qps limit exceeded
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 500
                  data: null
                  message: Internal server error
      deprecated: false
      security:
        - JWT Bearer: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl --request GET \
              --url 'https://api.keyapi.ai/v1/linkedin/get_company_profile?company=rapidapi&company_id=' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.keyapi.ai/v1/linkedin/get_company_profile',
                params={"company": "rapidapi", "company_id": ""},
                headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
            )
            print(response.json())
        - lang: javascript
          label: JavaScript
          source: >-
            const params = new URLSearchParams({"company": "rapidapi",
            "company_id": ""});


            const response = await
            fetch(`https://api.keyapi.ai/v1/linkedin/get_company_profile?${params}`,
            {
              method: 'GET',
              headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
            });

            const data = await response.json();

            console.log(data);
components:
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        API key for authentication. Format: `sk_live_xxxxxxxxxxxxx`
        Get your API key from the [Dashboard](http://keyapi.ai/app/dashboard).

````