Post Scraper
Scrape publicly available LinkedIn posts by their post ID. Each successful request costs 5 credits.
Endpoint:
https://api.scrapingdog.com/profile/postAPI Parameters
🔑
Scrapingdog Parameters
api_keyRequiredYour personal API key. Available on your dashboard.
Type: String
📝
Post
idRequiredThe post ID of any LinkedIn post. Found in the post's share URL (e.g.,6976499964512243712).
Type: String
API Examples
Code to Integrate
curl "https://api.scrapingdog.com/profile/post?api_key=APIKEY&id=6976499964512243712"
import requests params = { "api_key": "APIKEY", "id": "6976499964512243712" } response = requests.get("https://api.scrapingdog.com/profile/post", params=params) print(response.json())
const params = new URLSearchParams({ api_key: "APIKEY", id: "6976499964512243712" }); const response = await fetch(`https://api.scrapingdog.com/profile/post?${params}`); const data = await response.json(); console.log(data);
<?php $url = 'https://api.scrapingdog.com/profile/post?' . http_build_query([ 'api_key' => 'APIKEY', 'id' => '6976499964512243712', ]); echo file_get_contents($url);