Recent LinkedIn posts by profile URL, with engagement
village.people.postsFetch a person's recent LinkedIn activity.
- 価格
- $0.02/successカタログ価格で提供
- 成功率
- —成功率データはまだありません直近 30 日 · 0 回
- レイテンシ p50
- ——
- 最終確認
- —未確認
POSThttps://toolswitch.dev/v1/tools/village.people.postsBeta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
Returns posts newest first with content, author, engagement, mentions and links. The feed mixes the person's own posts with posts they reshared from others, so check author and reposted_by before attributing a post to them.
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| リクエストボディ(JSON) | ||||
limit | 整数 | 任意 | Posts to return per call (1-50, default 20). Follow pagination.cursor to reach the rest. | 1 |
cursor | 文字列 | 任意 | Pagination token from a previous response's pagination.cursor. | |
linkedin_url | 文字列 | 必須 | LinkedIn person profile URL. | https://linkedin.com/in/johndoe |
- リクエストボディ(JSON)
limit整数任意Posts to return per call (1-50, default 20). Follow pagination.cursor to reach the rest.
例:
1cursor文字列任意Pagination token from a previous response's pagination.cursor.
linkedin_url文字列必須LinkedIn person profile URL.
例:
https://linkedin.com/in/johndoe
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/village.people.posts' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"limit":1,"linkedin_url":"https://www.linkedin.com/in/satyanadella"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/village.people.posts",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"limit\":1,\"linkedin_url\":\"https://www.linkedin.com/in/satyanadella\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/village.people.posts", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"limit\":1,\"linkedin_url\":\"https://www.linkedin.com/in/satyanadella\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.02/success です。サービス料を含みます。