Skip to main content
POST
/
search-posts
cURL
curl --request POST \
  --url https://web-scraping-api2.p.rapidapi.com/search-posts \
  --header 'Content-Type: application/json' \
  --header 'x-rapidapi-key: <api-key>' \
  --data '{
  "search_keywords": "marketing",
  "sort_by": "Top match",
  "date_posted": "Past week",
  "content_type": "Images",
  "from_member": [
    "ACoAAAGafwYBi3pXOoVVwIyAFc453DuIv50jfTA"
  ],
  "from_company": [
    1035,
    1586
  ],
  "mentioning_member": [
    "ACoAAAGafwYBi3pXOoVVwIyAFc453DuIv50jfTA"
  ],
  "mentioning_company": [
    1035,
    1586
  ],
  "author_company": [
    1035,
    1586
  ],
  "author_industry": [
    3,
    4
  ],
  "author_keyword": "marketing manager",
  "page": 1
}'
{
  "data": [
    {
      "num_comments": null,
      "num_likes": null,
      "num_shares": null,
      "post_type": "photo",
      "post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7206932158031003648/",
      "posted": "2024-06-13 08:15:24",
      "poster_linkedin_url": "https://www.linkedin.com/in/ACoAAAJcHacBGQdA-cxEAGl5Q1swIHXwixZMAK4?miniProfileUrn=urn%3Ali%3Afs_miniProfile%3AACoAAAJcHacBGQdA-cxEAGl5Q1swIHXwixZMAK4",
      "poster_name": "Ron Bar El",
      "poster_title": "Chief TechStoryteller Officer | Founder of turba, Tech storytelling & Brand strategy agency | Speaker",
      "text": "The #AI #Narrative War: Beyond the technological battle for AI supremacy among the tech giants...",
      "urn": "7206932158031003648"
    }
  ],
  "message": "ok",
  "total": 397
}

Authorizations

x-rapidapi-key
string
header
required

Body

application/json
search_keywords
string
Example:
sort_by
enum<string>
default:Top match
Available options:
Latest,
Top match
date_posted
enum<string> | null
Available options:
Past 24 hours,
Past week,
Past month,
past-year,
past-2y,
past-3y
Example:
content_type
enum<string> | null
Available options:
Videos,
Images,
Job posts,
Live videos,
Documents,
Collaborative articles
Example:
from_member
string[] | null
Example:
from_company
integer[] | null
Example:
mentioning_member
string[] | null
Example:
mentioning_company
integer[] | null
Example:
author_company
integer[] | null
Example:
author_industry
integer[] | null
Example:
author_keyword
string | null
Example:
page
integer
Example:

Response

data
object[]
required
message
string
required
Example:
total
integer
required
Example: