Search LinkedIn posts
curl --request POST \
--url https://api.plyne.ai/v1/tools/post_search/execute \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"query": "finance automation"
}
'import requests
url = "https://api.plyne.ai/v1/tools/post_search/execute"
payload = { "query": "finance automation" }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({query: 'finance automation'})
};
fetch('https://api.plyne.ai/v1/tools/post_search/execute', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.plyne.ai/v1/tools/post_search/execute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'finance automation'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.plyne.ai/v1/tools/post_search/execute"
payload := strings.NewReader("{\n \"query\": \"finance automation\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.plyne.ai/v1/tools/post_search/execute")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"finance automation\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.plyne.ai/v1/tools/post_search/execute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"finance automation\"\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"additional_fields": {
"fetchin": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"commentCount": 123,
"commentingDisabled": true,
"content": "<string>",
"date": "<string>",
"entityId": "<string>",
"group": {
"id": "<string>",
"name": "<string>",
"url": "<string>"
},
"hashtags": [
"<string>"
],
"id": "<string>",
"imageCount": 123,
"imageUrl": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"isEdited": true,
"isRepost": true,
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"postedAgoShort": "<string>",
"reactionCount": 123,
"reactionTypeCounts": [
{
"count": 123,
"type": "<string>"
}
],
"reactionsByType": {},
"resharedPost": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"content": "<string>",
"date": "<string>",
"hashtags": [
"<string>"
],
"id": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"shareUrn": "<string>"
},
"shareUrl": "<string>",
"shareUrn": "<string>",
"sharesCount": 123,
"url": "<string>"
},
"harvest": {
"article": {
"description": "<string>",
"image": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"link": "<string>",
"linkLabel": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"id": "<string>",
"info": true,
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>",
"type": true,
"universalName": "<string>",
"urn": "<string>",
"website": true,
"websiteLabel": true
},
"content": "<string>",
"engagement": {
"comments": 123,
"likes": 123,
"reactions": [
{
"count": 123,
"type": "<string>"
}
],
"shares": 123
},
"id": "<string>",
"linkedinUrl": "<string>",
"newsletterTitle": "<string>",
"newsletterUrl": "<string>",
"postImages": [
{
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
}
],
"postVideo": {
"thumbnailUrl": "<string>",
"videoUrl": "<string>"
},
"postedAt": {
"date": "<string>",
"postedAgoShort": "<string>",
"postedAgoText": "<string>",
"timestamp": 123
},
"repost": {},
"repostId": "<string>",
"repostedBy": {
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>"
},
"socialContent": {
"hideCommentAction": true,
"hideCommentsCount": true,
"hideReactAction": true,
"hideReactionsCount": true,
"hideRepostsCount": true,
"hideSendAction": true,
"hideShareAction": true,
"hideSocialActivityCounts": true,
"hideViewsCount": true,
"shareUrl": "<string>",
"showContributionExperience": true,
"showSocialDetail": true
}
},
"up2data": {
"article": {
"subtitle": "<string>",
"thumbnail_url": "<string>",
"title": "<string>",
"url": "<string>"
},
"author": {
"headline": "<string>",
"name": "<string>",
"profile_picture_url": "<string>",
"url": "<string>"
},
"comments_count": 123,
"media": [
{
"duration_ms": 123,
"thumbnail_url": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"posted_at": "<string>",
"reaction_counts": {},
"reactions_count": 123,
"reposted_post": {
"author": {},
"comments_count": 123,
"reactions_count": 123,
"reposts_count": 123,
"text_snippet": "<string>",
"url": "<string>",
"urn": "<string>"
},
"reposts_count": 123,
"scraped_at": "<string>",
"share_urn": "<string>",
"text": "<string>",
"url": "<string>",
"urn": "<string>"
}
},
"author": {
"headline": "<string>",
"name": "<string>",
"url": "<string>"
},
"counts": {
"comments": 1,
"reactions": 1,
"reposts": 1
},
"id": "<string>",
"included": {
"comments": {
"cursor": "<string>",
"has_more": true,
"items": [
{
"additional_fields": {
"fetchin": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"commentCount": 123,
"commentingDisabled": true,
"content": "<string>",
"date": "<string>",
"entityId": "<string>",
"group": {
"id": "<string>",
"name": "<string>",
"url": "<string>"
},
"hashtags": [
"<string>"
],
"id": "<string>",
"imageCount": 123,
"imageUrl": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"isEdited": true,
"isRepost": true,
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"postedAgoShort": "<string>",
"reactionCount": 123,
"reactionTypeCounts": [
{
"count": 123,
"type": "<string>"
}
],
"reactionsByType": {},
"resharedPost": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"content": "<string>",
"date": "<string>",
"hashtags": [
"<string>"
],
"id": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"shareUrn": "<string>"
},
"shareUrl": "<string>",
"shareUrn": "<string>",
"sharesCount": 123,
"url": "<string>"
},
"harvest": {
"article": {
"description": "<string>",
"image": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"link": "<string>",
"linkLabel": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"id": "<string>",
"info": true,
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>",
"type": true,
"universalName": "<string>",
"urn": "<string>",
"website": true,
"websiteLabel": true
},
"content": "<string>",
"engagement": {
"comments": 123,
"likes": 123,
"reactions": [
{
"count": 123,
"type": "<string>"
}
],
"shares": 123
},
"id": "<string>",
"linkedinUrl": "<string>",
"newsletterTitle": "<string>",
"newsletterUrl": "<string>",
"postImages": [
{
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
}
],
"postVideo": {
"thumbnailUrl": "<string>",
"videoUrl": "<string>"
},
"postedAt": {
"date": "<string>",
"postedAgoShort": "<string>",
"postedAgoText": "<string>",
"timestamp": 123
},
"repost": {},
"repostId": "<string>",
"repostedBy": {
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>"
},
"socialContent": {
"hideCommentAction": true,
"hideCommentsCount": true,
"hideReactAction": true,
"hideReactionsCount": true,
"hideRepostsCount": true,
"hideSendAction": true,
"hideShareAction": true,
"hideSocialActivityCounts": true,
"hideViewsCount": true,
"shareUrl": "<string>",
"showContributionExperience": true,
"showSocialDetail": true
}
},
"up2data": {
"article": {
"subtitle": "<string>",
"thumbnail_url": "<string>",
"title": "<string>",
"url": "<string>"
},
"author": {
"headline": "<string>",
"name": "<string>",
"profile_picture_url": "<string>",
"url": "<string>"
},
"comments_count": 123,
"media": [
{
"duration_ms": 123,
"thumbnail_url": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"posted_at": "<string>",
"reaction_counts": {},
"reactions_count": 123,
"reposted_post": {
"author": {},
"comments_count": 123,
"reactions_count": 123,
"reposts_count": 123,
"text_snippet": "<string>",
"url": "<string>",
"urn": "<string>"
},
"reposts_count": 123,
"scraped_at": "<string>",
"share_urn": "<string>",
"text": "<string>",
"url": "<string>",
"urn": "<string>"
}
},
"author": {
"headline": "<string>",
"name": "<string>",
"url": "<string>"
},
"counts": {
"comments": 1,
"reactions": 1,
"reposts": 1
},
"id": "<string>",
"kind": "<string>",
"published_at": "<string>",
"reaction_type": "<string>",
"target_post": {
"text": "<string>",
"url": "<string>"
},
"text": "<string>",
"url": "<string>"
}
]
},
"reactions": {
"cursor": "<string>",
"has_more": true,
"items": [
{
"additional_fields": {
"fetchin": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"commentCount": 123,
"commentingDisabled": true,
"content": "<string>",
"date": "<string>",
"entityId": "<string>",
"group": {
"id": "<string>",
"name": "<string>",
"url": "<string>"
},
"hashtags": [
"<string>"
],
"id": "<string>",
"imageCount": 123,
"imageUrl": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"isEdited": true,
"isRepost": true,
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"postedAgoShort": "<string>",
"reactionCount": 123,
"reactionTypeCounts": [
{
"count": 123,
"type": "<string>"
}
],
"reactionsByType": {},
"resharedPost": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"content": "<string>",
"date": "<string>",
"hashtags": [
"<string>"
],
"id": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"shareUrn": "<string>"
},
"shareUrl": "<string>",
"shareUrn": "<string>",
"sharesCount": 123,
"url": "<string>"
},
"harvest": {
"article": {
"description": "<string>",
"image": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"link": "<string>",
"linkLabel": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"id": "<string>",
"info": true,
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>",
"type": true,
"universalName": "<string>",
"urn": "<string>",
"website": true,
"websiteLabel": true
},
"content": "<string>",
"engagement": {
"comments": 123,
"likes": 123,
"reactions": [
{
"count": 123,
"type": "<string>"
}
],
"shares": 123
},
"id": "<string>",
"linkedinUrl": "<string>",
"newsletterTitle": "<string>",
"newsletterUrl": "<string>",
"postImages": [
{
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
}
],
"postVideo": {
"thumbnailUrl": "<string>",
"videoUrl": "<string>"
},
"postedAt": {
"date": "<string>",
"postedAgoShort": "<string>",
"postedAgoText": "<string>",
"timestamp": 123
},
"repost": {},
"repostId": "<string>",
"repostedBy": {
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>"
},
"socialContent": {
"hideCommentAction": true,
"hideCommentsCount": true,
"hideReactAction": true,
"hideReactionsCount": true,
"hideRepostsCount": true,
"hideSendAction": true,
"hideShareAction": true,
"hideSocialActivityCounts": true,
"hideViewsCount": true,
"shareUrl": "<string>",
"showContributionExperience": true,
"showSocialDetail": true
}
},
"up2data": {
"article": {
"subtitle": "<string>",
"thumbnail_url": "<string>",
"title": "<string>",
"url": "<string>"
},
"author": {
"headline": "<string>",
"name": "<string>",
"profile_picture_url": "<string>",
"url": "<string>"
},
"comments_count": 123,
"media": [
{
"duration_ms": 123,
"thumbnail_url": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"posted_at": "<string>",
"reaction_counts": {},
"reactions_count": 123,
"reposted_post": {
"author": {},
"comments_count": 123,
"reactions_count": 123,
"reposts_count": 123,
"text_snippet": "<string>",
"url": "<string>",
"urn": "<string>"
},
"reposts_count": 123,
"scraped_at": "<string>",
"share_urn": "<string>",
"text": "<string>",
"url": "<string>",
"urn": "<string>"
}
},
"author": {
"headline": "<string>",
"name": "<string>",
"url": "<string>"
},
"counts": {
"comments": 1,
"reactions": 1,
"reposts": 1
},
"id": "<string>",
"kind": "<string>",
"published_at": "<string>",
"reaction_type": "<string>",
"target_post": {
"text": "<string>",
"url": "<string>"
},
"text": "<string>",
"url": "<string>"
}
]
},
"reposts": {
"cursor": "<string>",
"has_more": true,
"items": [
{
"additional_fields": {
"fetchin": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"commentCount": 123,
"commentingDisabled": true,
"content": "<string>",
"date": "<string>",
"entityId": "<string>",
"group": {
"id": "<string>",
"name": "<string>",
"url": "<string>"
},
"hashtags": [
"<string>"
],
"id": "<string>",
"imageCount": 123,
"imageUrl": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"isEdited": true,
"isRepost": true,
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"postedAgoShort": "<string>",
"reactionCount": 123,
"reactionTypeCounts": [
{
"count": 123,
"type": "<string>"
}
],
"reactionsByType": {},
"resharedPost": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"content": "<string>",
"date": "<string>",
"hashtags": [
"<string>"
],
"id": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"shareUrn": "<string>"
},
"shareUrl": "<string>",
"shareUrn": "<string>",
"sharesCount": 123,
"url": "<string>"
},
"harvest": {
"article": {
"description": "<string>",
"image": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"link": "<string>",
"linkLabel": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"id": "<string>",
"info": true,
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>",
"type": true,
"universalName": "<string>",
"urn": "<string>",
"website": true,
"websiteLabel": true
},
"content": "<string>",
"engagement": {
"comments": 123,
"likes": 123,
"reactions": [
{
"count": 123,
"type": "<string>"
}
],
"shares": 123
},
"id": "<string>",
"linkedinUrl": "<string>",
"newsletterTitle": "<string>",
"newsletterUrl": "<string>",
"postImages": [
{
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
}
],
"postVideo": {
"thumbnailUrl": "<string>",
"videoUrl": "<string>"
},
"postedAt": {
"date": "<string>",
"postedAgoShort": "<string>",
"postedAgoText": "<string>",
"timestamp": 123
},
"repost": {},
"repostId": "<string>",
"repostedBy": {
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>"
},
"socialContent": {
"hideCommentAction": true,
"hideCommentsCount": true,
"hideReactAction": true,
"hideReactionsCount": true,
"hideRepostsCount": true,
"hideSendAction": true,
"hideShareAction": true,
"hideSocialActivityCounts": true,
"hideViewsCount": true,
"shareUrl": "<string>",
"showContributionExperience": true,
"showSocialDetail": true
}
},
"up2data": {
"article": {
"subtitle": "<string>",
"thumbnail_url": "<string>",
"title": "<string>",
"url": "<string>"
},
"author": {
"headline": "<string>",
"name": "<string>",
"profile_picture_url": "<string>",
"url": "<string>"
},
"comments_count": 123,
"media": [
{
"duration_ms": 123,
"thumbnail_url": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"posted_at": "<string>",
"reaction_counts": {},
"reactions_count": 123,
"reposted_post": {
"author": {},
"comments_count": 123,
"reactions_count": 123,
"reposts_count": 123,
"text_snippet": "<string>",
"url": "<string>",
"urn": "<string>"
},
"reposts_count": 123,
"scraped_at": "<string>",
"share_urn": "<string>",
"text": "<string>",
"url": "<string>",
"urn": "<string>"
}
},
"author": {
"headline": "<string>",
"name": "<string>",
"url": "<string>"
},
"counts": {
"comments": 1,
"reactions": 1,
"reposts": 1
},
"id": "<string>",
"kind": "<string>",
"published_at": "<string>",
"reaction_type": "<string>",
"target_post": {
"text": "<string>",
"url": "<string>"
},
"text": "<string>",
"url": "<string>"
}
]
}
},
"kind": "<string>",
"published_at": "<string>",
"reaction_type": "<string>",
"target_post": {
"text": "<string>",
"url": "<string>"
},
"text": "<string>",
"url": "<string>"
}
],
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true
},
"id": "<string>",
"sources": [
{
"provider": "<string>",
"observation_id": "<string>",
"observed_at": "2023-11-07T05:31:56Z",
"url": "<string>"
}
],
"status": "completed",
"tool": "post_search",
"usage": {
"credit_units": 1,
"credits": "<string>",
"unit": "page"
},
"version": "1",
"fulfillment": {
"field_sources": {},
"missing_fields": [
"<string>"
],
"satisfied": true
},
"pagination": {
"has_more": true,
"limit": 50,
"next_page": 1,
"page": 1,
"returned": 50,
"total": 1,
"cursor": "<string>",
"provider": "fetchin"
},
"routing": {
"mode": "auto",
"attempts": [
{
"outcome": "success",
"provider": "<string>",
"requests": 1
}
],
"selected_provider": "<string>"
},
"warnings": [
{
"code": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"message": "<string>"
}Social intent
Search LinkedIn posts
Call post_search through the Plyne API or MCP. Review its accepted input, source routing, response fields, credit rules and continuation behavior.
POST
/
v1
/
tools
/
post_search
/
execute
Search LinkedIn posts
curl --request POST \
--url https://api.plyne.ai/v1/tools/post_search/execute \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"query": "finance automation"
}
'import requests
url = "https://api.plyne.ai/v1/tools/post_search/execute"
payload = { "query": "finance automation" }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({query: 'finance automation'})
};
fetch('https://api.plyne.ai/v1/tools/post_search/execute', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.plyne.ai/v1/tools/post_search/execute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'finance automation'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.plyne.ai/v1/tools/post_search/execute"
payload := strings.NewReader("{\n \"query\": \"finance automation\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.plyne.ai/v1/tools/post_search/execute")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"finance automation\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.plyne.ai/v1/tools/post_search/execute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"finance automation\"\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"additional_fields": {
"fetchin": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"commentCount": 123,
"commentingDisabled": true,
"content": "<string>",
"date": "<string>",
"entityId": "<string>",
"group": {
"id": "<string>",
"name": "<string>",
"url": "<string>"
},
"hashtags": [
"<string>"
],
"id": "<string>",
"imageCount": 123,
"imageUrl": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"isEdited": true,
"isRepost": true,
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"postedAgoShort": "<string>",
"reactionCount": 123,
"reactionTypeCounts": [
{
"count": 123,
"type": "<string>"
}
],
"reactionsByType": {},
"resharedPost": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"content": "<string>",
"date": "<string>",
"hashtags": [
"<string>"
],
"id": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"shareUrn": "<string>"
},
"shareUrl": "<string>",
"shareUrn": "<string>",
"sharesCount": 123,
"url": "<string>"
},
"harvest": {
"article": {
"description": "<string>",
"image": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"link": "<string>",
"linkLabel": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"id": "<string>",
"info": true,
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>",
"type": true,
"universalName": "<string>",
"urn": "<string>",
"website": true,
"websiteLabel": true
},
"content": "<string>",
"engagement": {
"comments": 123,
"likes": 123,
"reactions": [
{
"count": 123,
"type": "<string>"
}
],
"shares": 123
},
"id": "<string>",
"linkedinUrl": "<string>",
"newsletterTitle": "<string>",
"newsletterUrl": "<string>",
"postImages": [
{
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
}
],
"postVideo": {
"thumbnailUrl": "<string>",
"videoUrl": "<string>"
},
"postedAt": {
"date": "<string>",
"postedAgoShort": "<string>",
"postedAgoText": "<string>",
"timestamp": 123
},
"repost": {},
"repostId": "<string>",
"repostedBy": {
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>"
},
"socialContent": {
"hideCommentAction": true,
"hideCommentsCount": true,
"hideReactAction": true,
"hideReactionsCount": true,
"hideRepostsCount": true,
"hideSendAction": true,
"hideShareAction": true,
"hideSocialActivityCounts": true,
"hideViewsCount": true,
"shareUrl": "<string>",
"showContributionExperience": true,
"showSocialDetail": true
}
},
"up2data": {
"article": {
"subtitle": "<string>",
"thumbnail_url": "<string>",
"title": "<string>",
"url": "<string>"
},
"author": {
"headline": "<string>",
"name": "<string>",
"profile_picture_url": "<string>",
"url": "<string>"
},
"comments_count": 123,
"media": [
{
"duration_ms": 123,
"thumbnail_url": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"posted_at": "<string>",
"reaction_counts": {},
"reactions_count": 123,
"reposted_post": {
"author": {},
"comments_count": 123,
"reactions_count": 123,
"reposts_count": 123,
"text_snippet": "<string>",
"url": "<string>",
"urn": "<string>"
},
"reposts_count": 123,
"scraped_at": "<string>",
"share_urn": "<string>",
"text": "<string>",
"url": "<string>",
"urn": "<string>"
}
},
"author": {
"headline": "<string>",
"name": "<string>",
"url": "<string>"
},
"counts": {
"comments": 1,
"reactions": 1,
"reposts": 1
},
"id": "<string>",
"included": {
"comments": {
"cursor": "<string>",
"has_more": true,
"items": [
{
"additional_fields": {
"fetchin": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"commentCount": 123,
"commentingDisabled": true,
"content": "<string>",
"date": "<string>",
"entityId": "<string>",
"group": {
"id": "<string>",
"name": "<string>",
"url": "<string>"
},
"hashtags": [
"<string>"
],
"id": "<string>",
"imageCount": 123,
"imageUrl": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"isEdited": true,
"isRepost": true,
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"postedAgoShort": "<string>",
"reactionCount": 123,
"reactionTypeCounts": [
{
"count": 123,
"type": "<string>"
}
],
"reactionsByType": {},
"resharedPost": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"content": "<string>",
"date": "<string>",
"hashtags": [
"<string>"
],
"id": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"shareUrn": "<string>"
},
"shareUrl": "<string>",
"shareUrn": "<string>",
"sharesCount": 123,
"url": "<string>"
},
"harvest": {
"article": {
"description": "<string>",
"image": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"link": "<string>",
"linkLabel": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"id": "<string>",
"info": true,
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>",
"type": true,
"universalName": "<string>",
"urn": "<string>",
"website": true,
"websiteLabel": true
},
"content": "<string>",
"engagement": {
"comments": 123,
"likes": 123,
"reactions": [
{
"count": 123,
"type": "<string>"
}
],
"shares": 123
},
"id": "<string>",
"linkedinUrl": "<string>",
"newsletterTitle": "<string>",
"newsletterUrl": "<string>",
"postImages": [
{
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
}
],
"postVideo": {
"thumbnailUrl": "<string>",
"videoUrl": "<string>"
},
"postedAt": {
"date": "<string>",
"postedAgoShort": "<string>",
"postedAgoText": "<string>",
"timestamp": 123
},
"repost": {},
"repostId": "<string>",
"repostedBy": {
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>"
},
"socialContent": {
"hideCommentAction": true,
"hideCommentsCount": true,
"hideReactAction": true,
"hideReactionsCount": true,
"hideRepostsCount": true,
"hideSendAction": true,
"hideShareAction": true,
"hideSocialActivityCounts": true,
"hideViewsCount": true,
"shareUrl": "<string>",
"showContributionExperience": true,
"showSocialDetail": true
}
},
"up2data": {
"article": {
"subtitle": "<string>",
"thumbnail_url": "<string>",
"title": "<string>",
"url": "<string>"
},
"author": {
"headline": "<string>",
"name": "<string>",
"profile_picture_url": "<string>",
"url": "<string>"
},
"comments_count": 123,
"media": [
{
"duration_ms": 123,
"thumbnail_url": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"posted_at": "<string>",
"reaction_counts": {},
"reactions_count": 123,
"reposted_post": {
"author": {},
"comments_count": 123,
"reactions_count": 123,
"reposts_count": 123,
"text_snippet": "<string>",
"url": "<string>",
"urn": "<string>"
},
"reposts_count": 123,
"scraped_at": "<string>",
"share_urn": "<string>",
"text": "<string>",
"url": "<string>",
"urn": "<string>"
}
},
"author": {
"headline": "<string>",
"name": "<string>",
"url": "<string>"
},
"counts": {
"comments": 1,
"reactions": 1,
"reposts": 1
},
"id": "<string>",
"kind": "<string>",
"published_at": "<string>",
"reaction_type": "<string>",
"target_post": {
"text": "<string>",
"url": "<string>"
},
"text": "<string>",
"url": "<string>"
}
]
},
"reactions": {
"cursor": "<string>",
"has_more": true,
"items": [
{
"additional_fields": {
"fetchin": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"commentCount": 123,
"commentingDisabled": true,
"content": "<string>",
"date": "<string>",
"entityId": "<string>",
"group": {
"id": "<string>",
"name": "<string>",
"url": "<string>"
},
"hashtags": [
"<string>"
],
"id": "<string>",
"imageCount": 123,
"imageUrl": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"isEdited": true,
"isRepost": true,
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"postedAgoShort": "<string>",
"reactionCount": 123,
"reactionTypeCounts": [
{
"count": 123,
"type": "<string>"
}
],
"reactionsByType": {},
"resharedPost": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"content": "<string>",
"date": "<string>",
"hashtags": [
"<string>"
],
"id": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"shareUrn": "<string>"
},
"shareUrl": "<string>",
"shareUrn": "<string>",
"sharesCount": 123,
"url": "<string>"
},
"harvest": {
"article": {
"description": "<string>",
"image": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"link": "<string>",
"linkLabel": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"id": "<string>",
"info": true,
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>",
"type": true,
"universalName": "<string>",
"urn": "<string>",
"website": true,
"websiteLabel": true
},
"content": "<string>",
"engagement": {
"comments": 123,
"likes": 123,
"reactions": [
{
"count": 123,
"type": "<string>"
}
],
"shares": 123
},
"id": "<string>",
"linkedinUrl": "<string>",
"newsletterTitle": "<string>",
"newsletterUrl": "<string>",
"postImages": [
{
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
}
],
"postVideo": {
"thumbnailUrl": "<string>",
"videoUrl": "<string>"
},
"postedAt": {
"date": "<string>",
"postedAgoShort": "<string>",
"postedAgoText": "<string>",
"timestamp": 123
},
"repost": {},
"repostId": "<string>",
"repostedBy": {
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>"
},
"socialContent": {
"hideCommentAction": true,
"hideCommentsCount": true,
"hideReactAction": true,
"hideReactionsCount": true,
"hideRepostsCount": true,
"hideSendAction": true,
"hideShareAction": true,
"hideSocialActivityCounts": true,
"hideViewsCount": true,
"shareUrl": "<string>",
"showContributionExperience": true,
"showSocialDetail": true
}
},
"up2data": {
"article": {
"subtitle": "<string>",
"thumbnail_url": "<string>",
"title": "<string>",
"url": "<string>"
},
"author": {
"headline": "<string>",
"name": "<string>",
"profile_picture_url": "<string>",
"url": "<string>"
},
"comments_count": 123,
"media": [
{
"duration_ms": 123,
"thumbnail_url": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"posted_at": "<string>",
"reaction_counts": {},
"reactions_count": 123,
"reposted_post": {
"author": {},
"comments_count": 123,
"reactions_count": 123,
"reposts_count": 123,
"text_snippet": "<string>",
"url": "<string>",
"urn": "<string>"
},
"reposts_count": 123,
"scraped_at": "<string>",
"share_urn": "<string>",
"text": "<string>",
"url": "<string>",
"urn": "<string>"
}
},
"author": {
"headline": "<string>",
"name": "<string>",
"url": "<string>"
},
"counts": {
"comments": 1,
"reactions": 1,
"reposts": 1
},
"id": "<string>",
"kind": "<string>",
"published_at": "<string>",
"reaction_type": "<string>",
"target_post": {
"text": "<string>",
"url": "<string>"
},
"text": "<string>",
"url": "<string>"
}
]
},
"reposts": {
"cursor": "<string>",
"has_more": true,
"items": [
{
"additional_fields": {
"fetchin": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"commentCount": 123,
"commentingDisabled": true,
"content": "<string>",
"date": "<string>",
"entityId": "<string>",
"group": {
"id": "<string>",
"name": "<string>",
"url": "<string>"
},
"hashtags": [
"<string>"
],
"id": "<string>",
"imageCount": 123,
"imageUrl": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"isEdited": true,
"isRepost": true,
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"postedAgoShort": "<string>",
"reactionCount": 123,
"reactionTypeCounts": [
{
"count": 123,
"type": "<string>"
}
],
"reactionsByType": {},
"resharedPost": {
"article": {
"image": "<string>",
"link": "<string>",
"newsletterTitle": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"height": 123,
"url": "<string>",
"width": 123
},
"followerCount": 123,
"headline": "<string>",
"id": "<string>",
"info": "<string>",
"isPremium": true,
"name": "<string>",
"numericId": "<string>",
"publicIdentifier": "<string>",
"type": "profile",
"universalName": "<string>",
"url": "<string>",
"website": "<string>",
"websiteLabel": "<string>"
},
"content": "<string>",
"date": "<string>",
"hashtags": [
"<string>"
],
"id": "<string>",
"images": [
{
"height": 123,
"url": "<string>",
"width": 123
}
],
"media": [
{
"aspectRatio": 123,
"assetUrn": "<string>",
"carousel": true,
"companyName": "<string>",
"coverPages": [
"<string>"
],
"dateText": "<string>",
"durationMs": 123,
"entityId": "<string>",
"height": 123,
"location": "<string>",
"newsletterTitle": "<string>",
"options": [
"<string>"
],
"pageCount": 123,
"pollOptions": [
{
"text": "<string>",
"votes": 123
}
],
"streams": [
{
"height": 123,
"url": "<string>"
}
],
"subtitle": "<string>",
"thumbnailUrl": "<string>",
"title": "<string>",
"totalVotes": 123,
"type": "<string>",
"url": "<string>",
"width": 123
}
],
"mentions": [
{
"id": "<string>",
"name": "<string>",
"type": "person",
"url": "<string>"
}
],
"outboundLinks": [
"<string>"
],
"postType": "<string>",
"shareUrn": "<string>"
},
"shareUrl": "<string>",
"shareUrn": "<string>",
"sharesCount": 123,
"url": "<string>"
},
"harvest": {
"article": {
"description": "<string>",
"image": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"link": "<string>",
"linkLabel": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"author": {
"avatar": {
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
},
"id": "<string>",
"info": true,
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>",
"type": true,
"universalName": "<string>",
"urn": "<string>",
"website": true,
"websiteLabel": true
},
"content": "<string>",
"engagement": {
"comments": 123,
"likes": 123,
"reactions": [
{
"count": 123,
"type": "<string>"
}
],
"shares": 123
},
"id": "<string>",
"linkedinUrl": "<string>",
"newsletterTitle": "<string>",
"newsletterUrl": "<string>",
"postImages": [
{
"expiresAt": 123,
"height": 123,
"url": "<string>",
"width": 123
}
],
"postVideo": {
"thumbnailUrl": "<string>",
"videoUrl": "<string>"
},
"postedAt": {
"date": "<string>",
"postedAgoShort": "<string>",
"postedAgoText": "<string>",
"timestamp": 123
},
"repost": {},
"repostId": "<string>",
"repostedBy": {
"linkedinUrl": "<string>",
"name": "<string>",
"publicIdentifier": "<string>"
},
"socialContent": {
"hideCommentAction": true,
"hideCommentsCount": true,
"hideReactAction": true,
"hideReactionsCount": true,
"hideRepostsCount": true,
"hideSendAction": true,
"hideShareAction": true,
"hideSocialActivityCounts": true,
"hideViewsCount": true,
"shareUrl": "<string>",
"showContributionExperience": true,
"showSocialDetail": true
}
},
"up2data": {
"article": {
"subtitle": "<string>",
"thumbnail_url": "<string>",
"title": "<string>",
"url": "<string>"
},
"author": {
"headline": "<string>",
"name": "<string>",
"profile_picture_url": "<string>",
"url": "<string>"
},
"comments_count": 123,
"media": [
{
"duration_ms": 123,
"thumbnail_url": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"posted_at": "<string>",
"reaction_counts": {},
"reactions_count": 123,
"reposted_post": {
"author": {},
"comments_count": 123,
"reactions_count": 123,
"reposts_count": 123,
"text_snippet": "<string>",
"url": "<string>",
"urn": "<string>"
},
"reposts_count": 123,
"scraped_at": "<string>",
"share_urn": "<string>",
"text": "<string>",
"url": "<string>",
"urn": "<string>"
}
},
"author": {
"headline": "<string>",
"name": "<string>",
"url": "<string>"
},
"counts": {
"comments": 1,
"reactions": 1,
"reposts": 1
},
"id": "<string>",
"kind": "<string>",
"published_at": "<string>",
"reaction_type": "<string>",
"target_post": {
"text": "<string>",
"url": "<string>"
},
"text": "<string>",
"url": "<string>"
}
]
}
},
"kind": "<string>",
"published_at": "<string>",
"reaction_type": "<string>",
"target_post": {
"text": "<string>",
"url": "<string>"
},
"text": "<string>",
"url": "<string>"
}
],
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true
},
"id": "<string>",
"sources": [
{
"provider": "<string>",
"observation_id": "<string>",
"observed_at": "2023-11-07T05:31:56Z",
"url": "<string>"
}
],
"status": "completed",
"tool": "post_search",
"usage": {
"credit_units": 1,
"credits": "<string>",
"unit": "page"
},
"version": "1",
"fulfillment": {
"field_sources": {},
"missing_fields": [
"<string>"
],
"satisfied": true
},
"pagination": {
"has_more": true,
"limit": 50,
"next_page": 1,
"page": 1,
"returned": 50,
"total": 1,
"cursor": "<string>",
"provider": "fetchin"
},
"routing": {
"mode": "auto",
"attempts": [
{
"outcome": "success",
"provider": "<string>",
"requests": 1
}
],
"selected_provider": "<string>"
},
"warnings": [
{
"code": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"message": "<string>"
}Read public LinkedIn post data with source provenance. Returns one complete source page; page sizes and advanced filters depend on the source. Continuation stays with the original source.
Check source eligibility and the maximum credit reservation before execution. Planning makes no provider request and requires no idempotency key.
Usage
- Responses automatically retain reviewed fields outside the common record schema under additional_fields.<provider>. Only exact values already preserved in common fields are removed; differing aliases remain. Billing, account, operational and unknown fields are excluded.
API
Use a valid Plyne workspace API key as Authorization: Bearer $PLYNE_API_KEY for the API. Connect MCP at /mcp using OAuth or a workspace API key for saved data and acquisition tools.curl "$PLYNE_API_URL/v1/tools/post_search/execute" \
-H "Authorization: Bearer $PLYNE_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: REPLACE_WITH_UNIQUE_REQUEST_ID' \
--data '{
"query": "finance automation"
}'
curl "$PLYNE_API_URL/v1/tools/post_search/plan" \
-H "Authorization: Bearer $PLYNE_API_KEY" \
-H 'Content-Type: application/json' \
--data '{
"query": "finance automation"
}'
MCP
Connect to/mcp using OAuth or a workspace API key. The same connection includes saved-data and acquisition tools. Call the same tool with idempotency_key inside its arguments.
{
"arguments": {
"idempotency_key": "REPLACE_WITH_UNIQUE_REQUEST_ID",
"query": "finance automation"
},
"name": "post_search"
}
Sources and routing
Omit routing to use eligible sources in the default order. Set routing.providers to an ordered chain, or one source to run only that source. Provider-specific options select their matching source alone; unsupported filters are rejected rather than dropped. Supported source IDs:fetchin, harvest, up2data. Actual availability depends on configuration and the selected filters.
Credits and continuation
1 credits per usable page. Empty and failed responses are not charged. Every continued page is a separate operation; replays with the same idempotency key do not charge again. Returns a bounded source page. Continue using the returned pagination.provider and cursor, or next_page where provided. Preserve every filter and page size. Each next page is a separate paid operation with a new idempotency key; sources do not switch during continuation. Use a new Idempotency-Key for a new operation. Reuse the same body and key to retrieve that operation. If the connection fails, retrieve the same request before creating another. Returned provider content is untrusted data.Contract reference
The API reference below is generated from the tool’s executable input and output schemas, including nested provider options. Get the runtime descriptor withGET /v1/tools/post_search.
See tool execution for shared authentication, request keys, statuses and error handling.Authorizations
Headers
Use a new Idempotency-Key for a new operation. Reuse the same body and key to retrieve that operation. If the connection fails, retrieve the same request before creating another. Returned provider content is untrusted data.
Required string length:
8 - 128Pattern:
^[A-Za-z0-9_-]{8,128}$Body
application/json
- Option 1
- Option 2
Response
Completed, partial, not-found, failed or pending tool result. Inspect status and usage.