Find post details by URL
Find linkedin post details from a given post URL
curl --location 'https://api.enrich.so/v1/api/post-details?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Fmohdumairwigzo_highintentalgo-datasignals-personalizedcommunication-activity-7203313755865141248-uhum%2F%3Futm_source%3Dshare' \
--header 'Authorization: Bearer <token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
const axios = require('axios');
axios.get('https://api.enrich.so/v1/api/post-details?url=https://www.linkedin.com/posts/mohdumairwigzo_highintentalgo-datasignals-personalizedcommunication-activity-7203313755865141248-uhum', {
headers: {accept: 'application/json', Authorization: 'Bearer <token>'}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.log(error);
});// Some code
import requests
import json
url = "https://api.enrich.so/v1/api/post-details?url=https://www.linkedin.com/posts/mohdumairwigzo_highintentalgo-datasignals-personalizedcommunication-activity-7203313755865141248-uhum/?utm_source=share"
payload = {}
headers = {
'Authorization': 'Bearer <token>',
'Accept': 'application/json',
'Content-Type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://api.enrich.so/v1/api/post-details?url=https://www.linkedin.com/posts/mohdumairwigzo_highintentalgo-datasignals-personalizedcommunication-activity-7203313755865141248-uhum/?utm_source=share")
.method("GET", body)
.addHeader("Authorization", "Bearer <token>")
.addHeader("Accept", "application/json")
.addHeader("Content-Type", "application/json")
.build();
Response response = client.newCall(request).execute();
require "uri"
require "json"
require "net/http"
url = URI("https://api.enrich.so/v1/api/post-details?url=https://www.linkedin.com/posts/mohdumairwigzo_highintentalgo-datasignals-personalizedcommunication-activity-7203313755865141248-uhum/?utm_source=share")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = "Bearer <token>"
request["Accept"] = "application/json"
request["Content-Type"] = "application/json"
response = https.request(request)
puts response.read_body
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.enrich.so/v1/api/post-details?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Fmohdumairwigzo_highintentalgo-datasignals-personalizedcommunication-activity-7203313755865141248-uhum%2F%3Futm_source%3Dshare',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer <token>',
'Accept: application/json',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Example response
Status Code: 200 OK
{
"success": true,
"PostId": "activity-7310932473440342016",
"author": {
"name": "Rahul Lakhaney",
"headline": "Co-Founder, Enrich.so & Maximise.ai | Powering GTM Teams & AI Agents with Real-time People & Company Data",
"linkedin_url": "https://www.linkedin.com/in/lakhaney",
"profile_image": ""
},
"post": {
"timestamp": "02-04-2025",
"text_content": "โ๐๐ผ๐ ๐ฑ๐ผ ๐๐ผ๐ ๐ผ๐ณ๐ณ๐ฒ๐ฟ ๐๐ต๐ฒ ๐ฏ๐ฒ๐๐ ๐พ๐๐ฎ๐น๐ถ๐๐ ๐ฑ๐ฎ๐๐ฎ ๐ฎ๐ ๐๐ต๐ฒ ๐น๐ผ๐๐ฒ๐๐ ๐ฝ๐ฟ๐ถ๐ฐ๐ฒ? ๐๐ฒ๐ฒ๐น๐ ๐น๐ถ๐ธ๐ฒ ๐๐ผ๐ ๐ฐ๐ฟ๐ฎ๐ฐ๐ธ๐ฒ๐ฑ ๐๐ผ๐บ๐ฒ๐๐ต๐ถ๐ป๐ด ๐ฐ๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ผ๐ฟ๐ ๐ต๐ฎ๐๐ฒ๐ปโ๐.โ\n\nThatโs the question we get daily.\n\nHereโs the truth: At Enrich Labs weโre obsessively building the worldโs largest, most accurate and scalable people and company data ecosystem and even our customers say weโre doing the โIMPOSSIBLEโ\n\nโ๐๐๐จ๐๐๐ง๐๐๐๐ ๐จ๐ค ๐ข๐๐ฃ๐ฎ ๐ฉ๐ค๐ค๐ก๐จโฆ ๐๐ก๐ค๐ฌ๐ฃ ๐๐ฌ๐๐ฎ ๐๐ฎ ๐ฎ๐ค๐ช๐ง ๐๐ค๐ซ๐๐ง๐๐๐ ๐๐ฃ๐ ๐๐๐๐ช๐ง๐๐๐ฎ.โ\n\nFrom startups > Y Combinator companies > Fortune 500s, thousands now rely on us to power their ai agents, gtm, sales, investment screening, competitor tracking and much more. Because when you solve a trillion-dollar problem, the world pays attention.\n\nWant to see the future of data?\nDM me and Iโll show you how weโre rewriting the rules.",
"hashtags": null,
"post_media_description": "",
"post_media_url": [
"https://media.licdn.com/dms/image/v2/D4D22AQFI_0wNyNMrXA/feedshare-shrink_1280/B4DZXWmVtoHIAk-/0/1743062131289?e=2147483647&v=beta&t=ItXdy1BowjIeBoJzVi71UqLQzv9zI8JxDWfHwAxOWms"
]
},
"engagement": {
"reactions": 18,
"comments_count": 2
},
"total_credits": 100000,
"credits_used": 12393.650000000012,
"credits_remaining": 87606.34999999999
}
Status code: 404 NOT FOUND
{
"error": true,
"message": "We could not find post details for the given url"
}
Last updated