> ## 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.

# 获取公司资料

> 获取LinkedIn公司资料信息

<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">每次请求</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">🤖 让 AI 帮你写调用代码</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">点击按钮复制一段结构化提示词，可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。</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("我想调用 KeyAPI 接口：GET https://api.keyapi.ai/v1/linkedin/get_company_profile\n\n请帮我编写调用代码，并包含必要的错误处理、参数校验和响应处理逻辑。\n\n接口信息：\n\nEndpoint: GET https://api.keyapi.ai/v1/linkedin/get_company_profile\n\nDescription: LinkedIn 的「公司详情」接口用于根据指定标识查询完整信息，返回基础资料、统计指标以及示例中的扩展字段。可结合接口参数进行筛选或分页查询。\n\nRequired Headers:\n--header 'Authorization: Bearer <YOUR_API_KEY>'\n\nParameters:\n- company (Optional): company 参数. Example: rapidapi\n- company_id (Optional): company_id 标识符. Example: \n\nExample Response:\n{\n  \"code\": 0,\n  \"message\": \"success\",\n  \"data\": {\n    \"id\": \"10649600\",\n    \"name\": \"Rapid (acquired by Nokia)\",\n    \"universal_name\": \"rapidapi\",\n    \"description\": \"RapidAPI is the world’s largest API Hub where millions of developers find and connect to tens of thousands of public APIs. \\n\\nWe're a team of developers, building for developers, based in San Francisco, Tel Aviv, Tallinn, Berlin, and remote locations around the world.\",\n    \"linkedin_url\": \"https://www.linkedin.com/company/rapidapi/\",\n    \"website_url\": \"https://RapidAPI.com/\",\n    \"active\": true,\n    \"archived\": false,\n    \"follower_count\": 24583,\n    \"employee_count\": 337,\n    \"employee_count_range\": {\n      \"start\": 51,\n      \"end\": 200\n    },\n    \"claimable\": false,\n    \"verification\": {\n      \"verified\": true,\n      \"last_modified_at\": \"2023-09-12T18:18:31.454Z\"\n    },\n    \"founded_on\": {\n      \"day\": null,\n      \"month\": null,\n      \"year\": 2015\n    },\n    \"headquarter\": {\n      \"country\": \"US\",\n      \"city\": \"San Francisco\",\n      \"geographic_area\": \"California\",\n      \"line1\": \"2 Shaw Alley\",\n      \"line2\": \"Floor #4\",\n      \"postal_code\": \"94105\"\n    },\n    \"locations\": [\n      {\n        \"name\": \"Berlin\",\n        \"address\": {\n          \"country\": \"DE\",\n          \"city\": \"Berlin\",\n          \"geographic_area\": null\n        },\n        \"lat_long\": {\n          \"latitude\": 52.560253,\n          \"longitude\": 13.296672\n        }\n      },\n      {\n        \"name\": \"San Francisco\",\n        \"address\": {\n          \"country\": \"US\",\n          \"city\": \"San Francisco\",\n          \"geographic_area\": \"California\",\n          \"line1\": \"2 Shaw Alley\",\n          \"line2\": \"Floor #4\",\n          \"postal_code\": \"94105\"\n        },\n        \"lat_long\": {\n          \"latitude\": 37.39271,\n          \"longitude\": -122.042\n        }\n      },\n      {\n        \"name\": \"Tallinn\",\n        \"address\": {\n          \"country\": \"EE\",\n          \"city\": \"Tallinn\",\n          \"geographic_area\": null\n        },\n        \"lat_long\": {\n          \"latitude\": 59.437214,\n          \"longitude\": 24.745369\n        }\n      },\n      {\n        \"name\": \"Tel Aviv\",\n        \"address\": {\n          \"country\": \"IL\",\n          \"city\": \"Tel Aviv\",\n          \"geographic_area\": null,\n          \"line1\": \"Menachem Begin Blv. 148\"\n        },\n        \"lat_long\": {\n          \"latitude\": 30.812426,\n          \"longitude\": 34.859478\n        }\n      }\n    ],\n    \"logo\": [\n      {\n        \"width\": 200,\n        \"height\": 200,\n        \"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\",\n        \"expires_at\": 1774483200000\n      },\n      {\n        \"width\": 100,\n        \"height\": 100,\n        \"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\",\n        \"expires_at\": 1774483200000\n      },\n      {\n        \"width\": 400,\n        \"height\": 400,\n        \"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\",\n        \"expires_at\": 1774483200000\n      }\n    ],\n    \"cover\": [\n      {\n        \"width\": 1920,\n        \"height\": 1080,\n        \"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\",\n        \"expires_at\": 1773302400000\n      },\n      {\n        \"width\": 400,\n        \"height\": 225,\n        \"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\",\n        \"expires_at\": 1773302400000\n      },\n      {\n        \"width\": 200,\n        \"height\": 112,\n        \"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\",\n        \"expires_at\": 1773302400000\n      }\n    ],\n    \"specialities\": [\n      \"API Hub\",\n      \"API\",\n      \"Web\",\n      \"Developers\",\n      \"API Client\",\n      \"REST API\",\n      \"GraphQL\",\n      \"Kafka\",\n      \"OpenAPI\",\n      \"Application Programming Interface\",\n      \"Web APIs\",\n      \"JavaScript\",\n      \"React\",\n      \"Vue\",\n      \"Python\",\n      \"Java\",\n      \"PHP\",\n      \"C\",\n      \"C#\",\n      \"C++\",\n      \"TypeScript\",\n      \".NET\"\n    ],\n    \"industries\": [\n      \"Information Technology & Services\"\n    ],\n    \"hashtags\": [\n      {\n        \"name\": \"#dev\",\n        \"follower_count\": 12602\n      },\n      {\n        \"name\": \"#rapidapi\",\n        \"follower_count\": 36\n      },\n      {\n        \"name\": \"#api\",\n        \"follower_count\": 14865\n      }\n    ],\n    \"funding_info\": {\n      \"last_funding_round\": {\n        \"money_raised\": {},\n        \"announced_on\": {}\n      }\n    }\n  },\n  \"requestId\": \"0e12fea3-4dab-4868-a39b-7b4978d3a260\"\n}\n\n请根据以上信息给出可直接运行的示例代码。")}>
      ✨ 复制给 AI
    </button>
  </div>
</div>


## OpenAPI

````yaml zh/linkedin.zh.openapi.json GET /v1/linkedin/get_company_profile
openapi: 3.0.1
info:
  title: LinkedIn API 中文文档
  description: LinkedIn API 的中文参考文档，包含接口用途、参数说明、响应状态和示例结构。
  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: 获取公司资料
      description: 获取LinkedIn公司资料信息
      parameters:
        - name: company
          in: query
          description: 公司名称（与company_id 选其一 ）
          required: false
          example: rapidapi
          schema:
            type: string
        - name: company_id
          in: query
          description: 公司ID（与company 选其一）（额外消耗1次请求）
          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: 请求参数错误，请检查必填字段和参数格式
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 400
                  data: null
                  message: 'Missing required parameter: handle'
        '401':
          description: 鉴权失败，请检查 Authorization Header 中的 Bearer Token 或 API Key 是否有效
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 401
                  data: null
                  message: apiKey is null
        '402':
          description: 账户余额或额度不足
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 402
                  data: null
                  message: apiKey quota is not enough
        '429':
          description: 请求过于频繁，已触发限流
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 429
                  data: null
                  message: qps limit exceeded
        '500':
          description: 服务器内部错误，请稍后重试
          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: |-
        接口鉴权凭证。请在请求 Header 中传入 `Authorization: Bearer <YOUR_API_KEY>`。
        可在 [Dashboard](https://keyapi.ai/app/dashboard) 获取你的 API Key。

````