curl --request GET \
--url 'https://live-fetch.p.rapidapi.com/get-post-details?urn=7315779816467656705' \
--header 'x-rapidapi-host: live-fetch.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'
import requests
url = "https://live-fetch.p.rapidapi.com/get-post-details"
querystring = {
"urn": "7315779816467656705"
}
headers = {
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
"x-rapidapi-host": "live-fetch.p.rapidapi.com"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())
const params = new URLSearchParams({
urn: "7315779816467656705"
});
const url = `https://live-fetch.p.rapidapi.com/get-post-details?${params}`;
const options = {
method: 'GET',
headers: {
'x-rapidapi-key': 'YOUR_RAPIDAPI_KEY',
'x-rapidapi-host': 'live-fetch.p.rapidapi.com'
}
};
try {
const response = await fetch(url, options);
const result = await response.json();
console.log(result);
} catch (error) {
console.error(error);
}
<?php
$query = http_build_query([
'urn' => "7315779816467656705"
]);
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://live-fetch.p.rapidapi.com/get-post-details" . "?" . $query,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-rapidapi-host: live-fetch.p.rapidapi.com",
"x-rapidapi-key: YOUR_RAPIDAPI_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"
"io"
"net/http"
"net/url"
)
func main() {
params := url.Values{}
params.Add("urn", "7315779816467656705")
req, _ := http.NewRequest("GET", "https://live-fetch.p.rapidapi.com/get-post-details?"+params.Encode(), nil)
req.Header.Add("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
req.Header.Add("x-rapidapi-host", "live-fetch.p.rapidapi.com")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://live-fetch.p.rapidapi.com/get-post-details?urn=7315779816467656705"))
.header("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
.header("x-rapidapi-host", "live-fetch.p.rapidapi.com")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"data": {
"attributes": [
"<string>"
],
"images": [
{
"alt_text": "",
"url": "https://media.licdn.com/dms/image/v2/D4D22AQEBac457nKYlQ/feedshare-shrink_1280/B4DZYbe.M6G4Ak-/0/1744217827657?e=1795651200&v=beta&t=QW_bv10xGH3aLSCdSHCE-Ft3pIpY0N99SKnWq0CXQmE"
}
],
"num_appreciations": 108,
"num_comments": 672,
"num_empathy": 899,
"num_entertainments": 11,
"num_interests": 51,
"num_likes": 17345,
"num_praises": 702,
"num_reactions": 19116,
"num_reposts": 224,
"post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7315779816467656705/",
"posted": "2025-04-09 16:57:08",
"poster": {
"first": "Bill",
"headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",
"image_url": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-displayphoto-shrink_800_800/B56ZRi8g.aGsAc-/0/1736826818808?e=1795651200&v=beta&t=mD0uLOs1cjCSID5jb-exghLe2V4aVjHH0k8FRoFITLM",
"last": "Gates",
"linkedin_url": "https://www.linkedin.com/in/williamhgates",
"public_id": "williamhgates",
"type": "person",
"urn": "ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc"
},
"reshared": false,
"share_url": "https://www.linkedin.com/posts/williamhgates_i-cant-celebrate-our-50th-anniversary-without-activity-7315779816467656705-FVNt?utm_source=social_share_send&utm_medium=member_desktop_web&rcm=ACoAAGqkXU4B1R2yihDCVXxq2wS2pBKiXydwkns",
"share_urn": "7315779815297421316",
"text": "I can’t celebrate our 50th anniversary without mentioning Kay Nishi, whose partnership and friendship were critical to Microsoft’s expansion internationally—in Japan and beyond. Not only is he an amazing thinker (and one of the most under-appreciated leaders in the company’s history), he’s also more like me than anybody I’ve ever met.",
"time": "1 year ago • Visible to anyone on or off LinkedIn",
"urn": "7315779816467656705"
},
"message": "ok"
}{
"data": null,
"message": "Bad request: Invalid urn."
}{
"data": null,
"message": "Post not found"
}{
"data": null,
"message": "System error. You will not be charged for this request. We will fix it soon!"
}Post Data
Get Post Details
-
Scrape details of a single post based on its URN.
-
1 credit per call.
GET
/
get-post-details
curl --request GET \
--url 'https://live-fetch.p.rapidapi.com/get-post-details?urn=7315779816467656705' \
--header 'x-rapidapi-host: live-fetch.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'
import requests
url = "https://live-fetch.p.rapidapi.com/get-post-details"
querystring = {
"urn": "7315779816467656705"
}
headers = {
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
"x-rapidapi-host": "live-fetch.p.rapidapi.com"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())
const params = new URLSearchParams({
urn: "7315779816467656705"
});
const url = `https://live-fetch.p.rapidapi.com/get-post-details?${params}`;
const options = {
method: 'GET',
headers: {
'x-rapidapi-key': 'YOUR_RAPIDAPI_KEY',
'x-rapidapi-host': 'live-fetch.p.rapidapi.com'
}
};
try {
const response = await fetch(url, options);
const result = await response.json();
console.log(result);
} catch (error) {
console.error(error);
}
<?php
$query = http_build_query([
'urn' => "7315779816467656705"
]);
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://live-fetch.p.rapidapi.com/get-post-details" . "?" . $query,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-rapidapi-host: live-fetch.p.rapidapi.com",
"x-rapidapi-key: YOUR_RAPIDAPI_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"
"io"
"net/http"
"net/url"
)
func main() {
params := url.Values{}
params.Add("urn", "7315779816467656705")
req, _ := http.NewRequest("GET", "https://live-fetch.p.rapidapi.com/get-post-details?"+params.Encode(), nil)
req.Header.Add("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
req.Header.Add("x-rapidapi-host", "live-fetch.p.rapidapi.com")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://live-fetch.p.rapidapi.com/get-post-details?urn=7315779816467656705"))
.header("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
.header("x-rapidapi-host", "live-fetch.p.rapidapi.com")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"data": {
"attributes": [
"<string>"
],
"images": [
{
"alt_text": "",
"url": "https://media.licdn.com/dms/image/v2/D4D22AQEBac457nKYlQ/feedshare-shrink_1280/B4DZYbe.M6G4Ak-/0/1744217827657?e=1795651200&v=beta&t=QW_bv10xGH3aLSCdSHCE-Ft3pIpY0N99SKnWq0CXQmE"
}
],
"num_appreciations": 108,
"num_comments": 672,
"num_empathy": 899,
"num_entertainments": 11,
"num_interests": 51,
"num_likes": 17345,
"num_praises": 702,
"num_reactions": 19116,
"num_reposts": 224,
"post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7315779816467656705/",
"posted": "2025-04-09 16:57:08",
"poster": {
"first": "Bill",
"headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",
"image_url": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-displayphoto-shrink_800_800/B56ZRi8g.aGsAc-/0/1736826818808?e=1795651200&v=beta&t=mD0uLOs1cjCSID5jb-exghLe2V4aVjHH0k8FRoFITLM",
"last": "Gates",
"linkedin_url": "https://www.linkedin.com/in/williamhgates",
"public_id": "williamhgates",
"type": "person",
"urn": "ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc"
},
"reshared": false,
"share_url": "https://www.linkedin.com/posts/williamhgates_i-cant-celebrate-our-50th-anniversary-without-activity-7315779816467656705-FVNt?utm_source=social_share_send&utm_medium=member_desktop_web&rcm=ACoAAGqkXU4B1R2yihDCVXxq2wS2pBKiXydwkns",
"share_urn": "7315779815297421316",
"text": "I can’t celebrate our 50th anniversary without mentioning Kay Nishi, whose partnership and friendship were critical to Microsoft’s expansion internationally—in Japan and beyond. Not only is he an amazing thinker (and one of the most under-appreciated leaders in the company’s history), he’s also more like me than anybody I’ve ever met.",
"time": "1 year ago • Visible to anyone on or off LinkedIn",
"urn": "7315779816467656705"
},
"message": "ok"
}{
"data": null,
"message": "Bad request: Invalid urn."
}{
"data": null,
"message": "Post not found"
}{
"data": null,
"message": "System error. You will not be charged for this request. We will fix it soon!"
}curl --request GET \
--url 'https://live-fetch.p.rapidapi.com/get-post-details?urn=7315779816467656705' \
--header 'x-rapidapi-host: live-fetch.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'
import requests
url = "https://live-fetch.p.rapidapi.com/get-post-details"
querystring = {
"urn": "7315779816467656705"
}
headers = {
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
"x-rapidapi-host": "live-fetch.p.rapidapi.com"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())
const params = new URLSearchParams({
urn: "7315779816467656705"
});
const url = `https://live-fetch.p.rapidapi.com/get-post-details?${params}`;
const options = {
method: 'GET',
headers: {
'x-rapidapi-key': 'YOUR_RAPIDAPI_KEY',
'x-rapidapi-host': 'live-fetch.p.rapidapi.com'
}
};
try {
const response = await fetch(url, options);
const result = await response.json();
console.log(result);
} catch (error) {
console.error(error);
}
<?php
$query = http_build_query([
'urn' => "7315779816467656705"
]);
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://live-fetch.p.rapidapi.com/get-post-details" . "?" . $query,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-rapidapi-host: live-fetch.p.rapidapi.com",
"x-rapidapi-key: YOUR_RAPIDAPI_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"
"io"
"net/http"
"net/url"
)
func main() {
params := url.Values{}
params.Add("urn", "7315779816467656705")
req, _ := http.NewRequest("GET", "https://live-fetch.p.rapidapi.com/get-post-details?"+params.Encode(), nil)
req.Header.Add("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
req.Header.Add("x-rapidapi-host", "live-fetch.p.rapidapi.com")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://live-fetch.p.rapidapi.com/get-post-details?urn=7315779816467656705"))
.header("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
.header("x-rapidapi-host", "live-fetch.p.rapidapi.com")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
