Add Tasks
LinkedIn Posts Scraper
Add Tasks
Add LinkedIn URLs to scrape posts
POST
Add Tasks
Add LinkedIn URLs to your LinkedIn Posts Scraper squid. Each task accepts a profile URL (collects recent posts from that member), a company URL (collects recent posts from that company), or a direct post URL (collects that single post).
Headers
Your API authentication token. Value:
Token YOUR_API_KEYRequest body format. Value:
application/jsonRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
| squid | string | Yes | Hash of your squid configured with the LinkedIn Posts Scraper crawler |
| tasks | array | Yes | Array of task objects, each containing a linkedin_url field |
Task Object
| Field | Type | Required | Description |
|---|---|---|---|
| linkedin_url | string | Yes | LinkedIn profile URL, company URL, or direct post URL |
Accepted URL formats:
- Profile:
https://www.linkedin.com/in/username/ - Company:
https://www.linkedin.com/company/company-name/ - Post:
https://www.linkedin.com/feed/update/urn:li:activity:1234567890/
Code Examples
Response
200