LinkedIn 公司资料 API
LinkedIn 公司资料 API:输入参数、完整枚举、输出字段和真实响应示例。
打开产品页并测试
POST https://api.goanyapi.com/api/v1/linkedin/company/profile请求与输入参数
同步 POST JSON 查询;没有 Path 或 Query 参数,不生成异步任务。
| 参数 | 位置 | 类型 | 必填 | 默认值 | 范围与说明 |
|---|---|---|---|---|---|
| Authorization | Header | string | 是 | — | Bearer YOUR_API_KEY |
| Content-Type | Header | string | 是 | application/json | application/json |
| url | JSON body | string | 是 | — | 完整 HTTPS 资源链接;优先于资源 ID |
条件必填规则(required 表示必须提供的字段,anyOf 至少满足一组,oneOf 仅满足一组,allOf 全部满足):
{
"required": [
"url"
]
}请求示例
POST /api/v1/linkedin/company/profile
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"url": "https://www.linkedin.com/company/microsoft/"
}输出字段
| 字段路径 | 类型 | 含义 |
|---|---|---|
| code | string | 成功为 ok,失败为公开错误码 |
| message | string | 请求状态说明 |
| data.result | object / null | 业务结果;保留实际空值和字段缺失 |
| data.creditsUsed | integer | 本次实际扣费;空结果与失败不扣费 |
| data.remainingCredits | number | 结算后的账户积分余额 |
| data.result.source_url | string | source_url:实际公开业务字段,可为空或缺失 |
| data.result.company_id | string | company_id:实际公开业务字段,可为空或缺失 |
| data.result.name | string | 显示名称 |
| data.result.about | string | about:实际公开业务字段,可为空或缺失 |
| data.result.industry | string | industry:实际公开业务字段,可为空或缺失 |
| data.result.specialties | string | specialties:实际公开业务字段,可为空或缺失 |
| data.result.headquarters | string | headquarters:实际公开业务字段,可为空或缺失 |
| data.result.country_code | string | country_code:实际公开业务字段,可为空或缺失 |
| data.result.company_size | string | company_size:实际公开业务字段,可为空或缺失 |
| data.result.employees_on_linkedin | integer | employees_on_linkedin:实际公开业务字段,可为空或缺失 |
| data.result.followers | integer | followers:实际公开业务字段,可为空或缺失 |
| data.result.website | string | website:实际公开业务字段,可为空或缺失 |
| data.result.logo | string | logo:实际公开业务字段,可为空或缺失 |
| data.result.organization_type | string | organization_type:实际公开业务字段,可为空或缺失 |
| data.result.founded_date | null | founded_date:实际公开业务字段,可为空或缺失 |
真实响应示例
采集时间:2026-11-25T10:22:09Z。以下为真实公开响应的结构节选,仅省略 data.creditsUsed 和 data.remainingCredits,价格与余额以实际请求为准。
{
"code": "ok",
"message": "ok",
"data": {
"result": {
"source_url": "https://www.linkedin.com/company/microsoft/",
"company_id": "3238203",
"name": "Microsoft",
"about": "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 and today. Our culture doesn’t just encourage curiosity; it embraces it. Each day we make progress together by showing up as our authentic selves. We show up with a learn-it-all mentality. We show up cheering on others, knowing their success doesn't diminish our own. We show up every day open to learning our own biases, changing our behavior, and inviting in differences. Because impact matters. \n\nMicrosoft operates in 190 countries and is made up of approximately 228,000 passionate employees worldwide.",
"industry": "Software Development",
"specialties": "Business Software, Developer Tools, Home & Educational Software, Tablets, Search, Advertising, Servers, Windows Operating System, Windows Applications & Platforms, Smartphones, Cloud Computing, Quantum Computing, Future of Work, Productivity, AI, Artificial Intelligence, Machine Learning, Laptops, Mixed Reality, Virtual Reality, Gaming, Developers, and IT Professional",
"headquarters": "Redmond, Washington",
"country_code": "US",
"company_size": "10,001+ employees",
"employees_on_linkedin": 230402,
"followers": 29588821,
"website": "https://news.microsoft.com/",
"logo": "https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_200_200/B56ZYQ0mrGGoAM-/0/1744038948046/microsoft_logo?e=2147483647&v=beta&t=ts9MGrTk7Lz3R1bmAfzCL8euuuuPWPCoXfdiLA2_IzM",
"organization_type": "Public Company",
"founded_date": null
}
}
}分页与计费
本接口不支持游标分页,不得自行构造下一页。
…
仅有有效业务数据的成功请求按数据库当前配置扣费。空结果与失败不扣费,每页独立结算。可选字段为空不代表整条结果为空;缺失、null、空字符串、空数组按实际返回。示例中的媒体链接和游标可能过期,正式使用时重新查询。
状态码
| HTTP | 含义 |
|---|---|
| 200 | 成功,结果可能为空 |
| 400 | 参数或 JSON 不合法 |
| 401 | 鉴权缺失或无效 |
| 402 | 积分不足 |
| 429 | 请求过于频繁 |
| 502 | 请求未能完成 |
| 503 | 接口或计费尚未配置 |