curl --request GET \
--url 'https://live-fetch.p.rapidapi.com/get-profile-posts?linkedin_url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fwilliamhgates%2F&type=posts&start=0' \
--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-profile-posts"
querystring = {
"linkedin_url": "https://www.linkedin.com/in/williamhgates/",
"type": "posts",
"start": "0"
}
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({
linkedin_url: "https://www.linkedin.com/in/williamhgates/",
type: "posts",
start: "0"
});
const url = `https://live-fetch.p.rapidapi.com/get-profile-posts?${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([
'linkedin_url' => "https://www.linkedin.com/in/williamhgates/",
'type' => "posts",
'start' => "0"
]);
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://live-fetch.p.rapidapi.com/get-profile-posts" . "?" . $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("linkedin_url", "https://www.linkedin.com/in/williamhgates/")
params.Add("type", "posts")
params.Add("start", "0")
req, _ := http.NewRequest("GET", "https://live-fetch.p.rapidapi.com/get-profile-posts?"+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-profile-posts?linkedin_url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fwilliamhgates%2F&type=posts&start=0"))
.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": [
{
"images": [
{
"url": "https://media.licdn.com/dms/image/D5622AQH9fVqca5uEnw/feedshare-shrink_2048_1536/0/1700673956174?e=1703721600&v=beta&t=JeLAXcbzLFQuqjQbRlCIn6a3wZBhNr7A2XFjrPdN6F0"
}
],
"num_appreciations": 6,
"num_comments": 63,
"num_empathy": 6,
"num_interests": 6,
"num_likes": 253,
"num_reposts": 30,
"num_praises": 1,
"post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7133388569078894592/",
"reshared": false,
"text": "💥Amazing Website's That Will Make You Smarter!!!💡",
"time": "1d",
"urn": "7133388569078894592",
"video": {
"duration": 51400,
"stream_url": "https://dms.licdn.com/playlist/vid/D5605AQEACEREwfcYgA/feedshare-ambry-analyzed_servable_progressive_video/0/1700796656388?e=1701417600&v=beta&t=8fHfRtgXo83IpbsO26QWT7f23N3MJhMDpEhr4KAhF_M"
},
"attributes": [
"<string>"
],
"num_entertainments": 1,
"num_reactions": 638,
"posted": "2026-11-06 02:11:22",
"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",
"urn": "ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc"
},
"poster_linkedin_url": "https://www.linkedin.com/in/williamhgates",
"share_urn": "7524292224508096512"
}
],
"message": "ok.",
"paging": {
"count": 50,
"pagination_token": "dXJuOmxpOmFjdGl2aXR5OjcxMzI3MzQzMzU0Njc2MTQyMDgtMTcwMDU3NjM4NTM2Mg==",
"start": 0
}
}{
"data": null,
"message": "Bad request: Invalid linkedin_url."
}{
"data": null,
"message": "System error. You will not be charged for this request. We will fix it soon!"
}Post Data
Get Profile's Posts
-
Retrieve posts from a person’s profile. Pagination is supported for accessing all posts.
-
2 credits per call
GET
/
get-profile-posts
curl --request GET \
--url 'https://live-fetch.p.rapidapi.com/get-profile-posts?linkedin_url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fwilliamhgates%2F&type=posts&start=0' \
--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-profile-posts"
querystring = {
"linkedin_url": "https://www.linkedin.com/in/williamhgates/",
"type": "posts",
"start": "0"
}
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({
linkedin_url: "https://www.linkedin.com/in/williamhgates/",
type: "posts",
start: "0"
});
const url = `https://live-fetch.p.rapidapi.com/get-profile-posts?${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([
'linkedin_url' => "https://www.linkedin.com/in/williamhgates/",
'type' => "posts",
'start' => "0"
]);
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://live-fetch.p.rapidapi.com/get-profile-posts" . "?" . $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("linkedin_url", "https://www.linkedin.com/in/williamhgates/")
params.Add("type", "posts")
params.Add("start", "0")
req, _ := http.NewRequest("GET", "https://live-fetch.p.rapidapi.com/get-profile-posts?"+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-profile-posts?linkedin_url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fwilliamhgates%2F&type=posts&start=0"))
.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": [
{
"images": [
{
"url": "https://media.licdn.com/dms/image/D5622AQH9fVqca5uEnw/feedshare-shrink_2048_1536/0/1700673956174?e=1703721600&v=beta&t=JeLAXcbzLFQuqjQbRlCIn6a3wZBhNr7A2XFjrPdN6F0"
}
],
"num_appreciations": 6,
"num_comments": 63,
"num_empathy": 6,
"num_interests": 6,
"num_likes": 253,
"num_reposts": 30,
"num_praises": 1,
"post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7133388569078894592/",
"reshared": false,
"text": "💥Amazing Website's That Will Make You Smarter!!!💡",
"time": "1d",
"urn": "7133388569078894592",
"video": {
"duration": 51400,
"stream_url": "https://dms.licdn.com/playlist/vid/D5605AQEACEREwfcYgA/feedshare-ambry-analyzed_servable_progressive_video/0/1700796656388?e=1701417600&v=beta&t=8fHfRtgXo83IpbsO26QWT7f23N3MJhMDpEhr4KAhF_M"
},
"attributes": [
"<string>"
],
"num_entertainments": 1,
"num_reactions": 638,
"posted": "2026-11-06 02:11:22",
"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",
"urn": "ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc"
},
"poster_linkedin_url": "https://www.linkedin.com/in/williamhgates",
"share_urn": "7524292224508096512"
}
],
"message": "ok.",
"paging": {
"count": 50,
"pagination_token": "dXJuOmxpOmFjdGl2aXR5OjcxMzI3MzQzMzU0Njc2MTQyMDgtMTcwMDU3NjM4NTM2Mg==",
"start": 0
}
}{
"data": null,
"message": "Bad request: Invalid linkedin_url."
}{
"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-profile-posts?linkedin_url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fwilliamhgates%2F&type=posts&start=0' \
--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-profile-posts"
querystring = {
"linkedin_url": "https://www.linkedin.com/in/williamhgates/",
"type": "posts",
"start": "0"
}
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({
linkedin_url: "https://www.linkedin.com/in/williamhgates/",
type: "posts",
start: "0"
});
const url = `https://live-fetch.p.rapidapi.com/get-profile-posts?${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([
'linkedin_url' => "https://www.linkedin.com/in/williamhgates/",
'type' => "posts",
'start' => "0"
]);
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://live-fetch.p.rapidapi.com/get-profile-posts" . "?" . $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("linkedin_url", "https://www.linkedin.com/in/williamhgates/")
params.Add("type", "posts")
params.Add("start", "0")
req, _ := http.NewRequest("GET", "https://live-fetch.p.rapidapi.com/get-profile-posts?"+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-profile-posts?linkedin_url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fwilliamhgates%2F&type=posts&start=0"))
.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());
