Platforms · LinkedIn

LinkedIn Search Hashtag Scraper API

Returns public posts tagged with a hashtag as a canonical PostList. Pass the tag with or without #. One page per call.

GET /api/v1/data/linkedin/search-hashtag · 10 credits per call · The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.

Inputs

  • query (required): Hashtag to search, with or without a leading #.
  • sort_by: Result ordering: recent, oldest, or relevance.
  • since: Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.
  • until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • count (integer): How many posts this answer holds.
  • posts[].id (string): The item's ID on the platform.
  • posts[].url (string): Link to it on the platform.
  • posts[].text (string): Its text.
  • posts[].published_at (string): When it was published (ISO 8601).
  • posts[].language (string): Its language code.
  • posts[].deleted (boolean): Whether it was deleted.
  • posts[].author_id (string): The author's ID on the platform.
  • posts[].author_username (string): The author's username.
  • posts[].author_name (string): The author's display name.
  • posts[].author_followers (number): How many followers the author has.
  • posts[].author_avatar_url (string): The author's picture.
  • posts[].like_count (number): Likes.
  • posts[].comments_count (number): Comments.
  • posts[].share_count (number): Shares or reposts.
  • posts[].media[].url (string): Its media.
  • posts[].content_type (string): What it is: post.
  • posts[].platform (string): The platform's name.
  • posts[].source_data (object): Everything the platform sent for this row, as it came.
  • posts[].source_data.computed.content_category (string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.
  • posts[].source_data.computed.engagement_rate (number): Computed engagement rate (0..1).
  • posts[].source_data.computed.estimated_reach (number): Estimated reach based on views or follower count. Null when uncomputable.
  • posts[].source_data.computed.language (string): ISO 639-1 language code detected from the post text. Null when undetectable.
  • posts[].source_data.computed.save_rate (number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.
  • posts[].source_data.post.author.avatar_url (string): URL to author profile picture
  • posts[].source_data.post.author.display_name (string): Author display name
  • posts[].source_data.post.author.username (string): Author username
  • posts[].source_data.post.content.media_urls (any): URL(s) of the primary media. Single string for video/photo posts; array of strings for carousels.
  • posts[].source_data.post.content.text (string): Post caption, description, or text content
  • posts[].source_data.post.engagement.comments (number): Comment count. Both land on this same field.
  • posts[].source_data.post.engagement.likes (number): Like / reaction count
  • posts[].source_data.post.engagement.shares (number): Share / repost / retweet count.
  • posts[].source_data.post.ext.article (object): The article a link post shares.
  • posts[].source_data.post.ext.aspect_ratio (number): A video's width divided by its height, so 0.5625 is 9:16. LinkedIn feeds and post search.
  • posts[].source_data.post.ext.author_followers (number): It stays null when that lookup does not resolve.
  • posts[].source_data.post.ext.author_id (string): The creator's platform-native numeric user id.
  • posts[].source_data.post.ext.author_is_premium (boolean): True when LinkedIn marks the author as a Premium member. Null otherwise: LinkedIn sends the mark only when it is true, so null does not mean the author is not Premium. LinkedIn post search.
  • posts[].source_data.post.ext.author_type (string): Whether the author is a user or a company. LinkedIn only.
  • posts[].source_data.post.ext.author_urn (string): Opaque LinkedIn urn of the author.
  • posts[].source_data.post.ext.author_website (string): The link on the button in the author's profile header, such as their newsletter or website. LinkedIn feeds and post search.
  • posts[].source_data.post.ext.author_website_label (string): The text of that button, for example `View my newsletter`. LinkedIn feeds and post search.
  • posts[].source_data.post.ext.celebration (object): The celebration card a post shows.
  • posts[].source_data.post.ext.comments_disabled (boolean): True when the author turned comments off on the post. LinkedIn feeds and post search.
  • posts[].source_data.post.ext.event (object): Event detail for a post that is an event.
  • posts[].source_data.post.ext.is_edited (boolean): True when LinkedIn shows the post as edited. LinkedIn feeds and post search.
  • posts[].source_data.post.ext.newsletter (object): The newsletter this post is an edition of.
  • posts[].source_data.post.ext.outbound_links (array): The web links in the post's text, in order, each once. LinkedIn feeds and post search.
  • posts[].source_data.post.ext.quoted_post (object): Threads quote posts: the post this one quotes, as `{ id, url, author: { id, username }, text, media_urls, thumbnail_url }`. A quote post usually carries no caption or media of its own, and the text and video you see on the post's page belong to this attachment, by a different author. It is returned here rather than merged into `post.content`, so `content.*` always stays the outer post's own content and one account's media is never attributed to another. Absent on posts that are not quote posts.
  • posts[].source_data.post.ext.reaction_counts (array): Reaction counts by type.
  • posts[].source_data.post.ext.share_urn (string): LinkedIn's share urn for the post.
  • posts[].source_data.post.ext.type (string): Item type: pull_request or issue on GitHub lists; on LinkedIn feeds and post search, the kind of post in lower case, such as text, image, video, article, newsletter, document, poll, job, event or celebration.
  • posts[].source_data.post.flags.deleted (boolean): Whether the post is tombstoned (always present)
  • posts[].source_data.post.id (string)
  • posts[].source_data.post.published_at (any): Post creation timestamp as an ISO 8601 UTC string.
  • posts[].source_data.post.url (string)

Good to know

  • Each call costs 10 credits. A call that finds nothing, or fails, is free.
  • The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.

Example call

GET /api/v1/data/linkedin/search-hashtag?query=hiring

Questions

How much does the LinkedIn Search Hashtag API cost?

Each call costs 10 credits. A call that finds nothing, or fails, costs nothing.

What do I send?

You must send query. 3 more inputs are optional: sort_by, since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How fresh is the data?

The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.

Do I need a LinkedIn account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

Related LinkedIn endpoints

More LinkedIn scraper APIs