# 公司帖子

取一个 LinkedIn 公司发布的帖子，按游标翻页。

ID: native-http:social.linkedin.company.posts · Region: cn · Status: unknown

catalog_version: 5c920c774a55e44d7e8c709143b88a18b8b2afcef91a5d19a8c9ae5d565d9077
updated_at: 2026-10-21T12:06:16.523771+00:00

缓存资料；当前可用状态待核实。

取一个 LinkedIn 公司发布的帖子，按游标翻页。

历史数据以数据集发布版本定义覆盖周期；实时读取反映请求时资料，不保证覆盖全部记录。

Docs: https://docs.asklear.cn/capabilities/native-http%3Asocial.linkedin.company.posts

## POST /v1/native/social/linkedin/companies/posts

native · unknown · api_key

REST 需要客户 API Key；MCP 需要已开放的服务及现有授权；CLI 需要已发布且包含该命令的客户端。

取一个 LinkedIn 公司发布的帖子，按游标翻页。

按成功请求计费，每次请求计一次；max_credits 限制本次费用上限。

恢复同一次原生请求时复用原 Idempotency-Key。

等待态响应提供结果/状态引用。先读取原结果；超时或结果不明时禁止自动重新提交付费执行。401/403/422 应先修正鉴权、权限或输入。

### Input schema / 输入契约

```json
{
  "$defs": {
    "Schema1": {}
  },
  "additionalProperties": false,
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "cursor": {
          "default": "",
          "description": "翻页偏移，第 1 页 0、第 2 页 50/Pagination offset",
          "maxLength": 4096,
          "type": "string"
        },
        "pagination_token": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "上一次响应返回的翻页令牌/Pagination token"
        },
        "sort_by": {
          "default": "recent",
          "description": "top（热门）| recent（最新）",
          "enum": [
            "top",
            "recent"
          ],
          "type": "string"
        },
        "start": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "description": "翻页偏移，第 1 页 0、第 2 页 50/Pagination offset"
        },
        "url": {
          "description": "公司主页 URL/Company URL",
          "maxLength": 512,
          "minLength": 1,
          "pattern": "^https://([A-Za-z0-9-]+\\.)*linkedin\\.com/",
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    },
    "max_credits": {
      "anyOf": [
        {
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "task_query": {
      "anyOf": [
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional task attribution: when provided, write one concise, self-contained task_query in the user's language and reuse that exact value in every call for the task, including discovery, search, approval retry, results, export, and status checks. For MCP calls, when omitted, Asklear records a generic non-user-specific attribution so compatible clients can still call the tool. REST calls may omit it and remain unattributed. It is a task description, not a task identifier. Do not include hidden reasoning, credentials, or direct personal identifiers such as phone numbers, email addresses, identity numbers, or street addresses.",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}
```

### Synthetic request / 合成请求

```json
{
  "input": {
    "url": "https://www.linkedin.com/in/example"
  }
}
```

### Response schema / 响应契约

```json
{
  "$defs": {
    "Schema1": {},
    "Schema2": {
      "properties": {
        "api_name": {
          "type": "string"
        },
        "credits_charged": {
          "minimum": 0,
          "type": "integer"
        },
        "latency_ms": {
          "minimum": 0,
          "type": "integer"
        },
        "next_input": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "cursor": {
                  "default": "",
                  "maxLength": 4096,
                  "type": "string"
                },
                "pagination_token": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "上一次响应返回的翻页令牌/Pagination token"
                },
                "sort_by": {
                  "default": "recent",
                  "enum": [
                    "top",
                    "recent"
                  ],
                  "type": "string"
                },
                "start": {
                  "anyOf": [
                    {
                      "minimum": 0,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "翻页偏移，第 1 页 0、第 2 页 50/Pagination offset"
                },
                "url": {
                  "maxLength": 512,
                  "minLength": 1,
                  "pattern": "^https://([A-Za-z0-9-]+\\.)*linkedin\\.com/",
                  "type": "string"
                }
              },
              "required": [
                "url"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "api_name",
        "request_id",
        "latency_ms",
        "credits_charged",
        "next_input"
      ],
      "type": "object"
    }
  },
  "properties": {
    "data": {
      "additionalProperties": true,
      "description": "Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.",
      "properties": {
        "code": {
          "type": [
            "integer",
            "null"
          ]
        },
        "data": {
          "additionalProperties": true,
          "properties": {
            "data": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "attributes": {
                    "items": {
                      "description": "Observed as null; the non-null type is not established."
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "images": {
                    "items": {
                      "additionalProperties": true,
                      "properties": {
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "num_comments": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "num_interests": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "num_likes": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "num_reposts": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "posted": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "poster": {
                    "additionalProperties": true,
                    "properties": {
                      "image_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "linkedin_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "reshared": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "share_urn": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "text": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "time": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "urn": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "paging": {
              "additionalProperties": true,
              "properties": {
                "count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "pagination_token": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "start": {
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "meta": {
      "$ref": "#/$defs/Schema2"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "type": "object"
}
```

### Synthetic response / 合成响应

```json
{
  "data": {
    "code": 200,
    "data": {
      "data": [
        {
          "attributes": [],
          "images": [
            {
              "url": "https://fixture.invalid/media/1"
            }
          ],
          "num_comments": 0,
          "num_likes": 8,
          "num_reposts": 1,
          "posted": "2026-03-04 05:06:07",
          "poster": {
            "image_url": "https://fixture.invalid/media/1",
            "linkedin_url": "https://fixture.invalid/media/1",
            "name": "fixture_microsoft"
          },
          "reshared": false,
          "share_urn": "7505807674186395648",
          "text": "合成正文 <em>highlight</em> fixture body 用于覆盖 _strip_markup",
          "time": "合成正文 <em>highlight</em> fixture body 用于覆盖 _strip_markup",
          "url": "https://fixture.invalid/media/1",
          "urn": "7505807696390979584"
        }
      ],
      "paging": {
        "count": 50,
        "pagination_token": "FIXTURE_CURSOR_TOKEN_0123456789abcdef",
        "start": 0
      }
    }
  },
  "meta": {
    "api_name": "social.linkedin.company.posts",
    "credits_charged": 84,
    "latency_ms": 12,
    "next_input": {
      "cursor": "{\"after\":\"FIXTURE_CURSOR_TOKEN_0123456789abcdef\",\"k\":\"https://www.linkedin.com/company/microsoft\",\"r\":\"\",\"s\":\"recent\",\"t\":\"company_posts\"}",
      "url": "https://www.linkedin.com/company/microsoft"
    },
    "request_id": "asklear-example"
  }
}
```

- data (object): Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.
- data.code (integer|null): 暂无字段说明
- data.data (object|null): 暂无字段说明
- data.data.data (array|null): 暂无字段说明
- data.data.paging (object|null): 暂无字段说明
- data.data.paging.count (integer|null): 暂无字段说明
- data.data.paging.pagination_token (string|null): 暂无字段说明
- data.data.paging.start (integer|null): 暂无字段说明
- meta (object): 暂无字段说明
- meta.api_name (string): 暂无字段说明
- meta.request_id (string): 暂无字段说明
- meta.latency_ms (integer): 暂无字段说明
- meta.credits_charged (integer): 暂无字段说明
- meta.next_input (scalar): 暂无字段说明
- data.data.data[].attributes (array|null): 暂无字段说明
- data.data.data[].images (array|null): 暂无字段说明
- data.data.data[].images[].url (string|null): 暂无字段说明
- data.data.data[].num_comments (integer|null): 评论数（如有）。
- data.data.data[].num_interests (integer|null): 暂无字段说明
- data.data.data[].num_likes (integer|null): 点赞数（如有）。
- data.data.data[].num_reposts (integer|null): 转发数（如有）。
- data.data.data[].posted (string|null): 发布时间（如有）。
- data.data.data[].poster (object|null): 暂无字段说明
- data.data.data[].poster.image_url (string|null): 暂无字段说明
- data.data.data[].poster.linkedin_url (string|null): 作者链接（如有）。
- data.data.data[].poster.name (string|null): 作者名称（如有）。
- data.data.data[].reshared (boolean|null): 是否再次分享（如有）。
- data.data.data[].share_urn (string|null): 暂无字段说明
- data.data.data[].text (string|null): 正文内容（如有）。
- data.data.data[].time (string|null): 暂无字段说明
- data.data.data[].url (string|null): 公开链接（如有）。
- data.data.data[].urn (string|null): 帖子 ID（如有）。
- meta.next_input.cursor (string): 暂无字段说明
- meta.next_input.pagination_token (string|null): 上一次响应返回的翻页令牌/Pagination token
- meta.next_input.sort_by (string): 暂无字段说明
- meta.next_input.start (integer|null): 翻页偏移，第 1 页 0、第 2 页 50/Pagination offset
- meta.next_input.url (string): 暂无字段说明

Follow up: GET /v1/native/results/{query_id}
读取已保存结果，不重复查询数据或收费。

