Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Social Media

How to Use LinkedIn post search in VS Code

Returns LinkedIn posts matching keywords and publishing filters, with content and engagement data. Use it to discover topic discussions; use a company or profile feed for a fuller author review.

Prompts to try with LinkedIn post search in VS Code

Copy an example into VS Code, or ask in your own words.

Use LinkedIn post search for 'Microsoft Copilot' and add a report of the returned posts, their links, and reported engagement to this project.

LinkedIn post searchVS Code
Try asking
  • Use LinkedIn post search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from LinkedIn post search and tell me what changed since last week.

  • Check LinkedIn post search and summarize what you find in three bullet points.

  • Pull the newest data from LinkedIn post search and give me the result as a table.

How to set up LinkedIn post search in VS Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run LinkedIn post search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "harvestapi/linkedin/search-posts",
        "input": {
          "page": 1
        }
      }'

Then paste one of the prompts above: VS Code finds LinkedIn post search on Spiral, shows the price and runs it.

LinkedIn post search providers and prices

Spiral runs LinkedIn post search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSocial Media
HarvestAPI · LinkedIn search linkedin posts
harvestapi/linkedin/search-posts

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Pagea number

Page number for pagination.

Every API field of HarvestAPI · LinkedIn search linkedin posts is on its tool page: open its card above.

What can you do with LinkedIn post search in VS Code?

Build a LinkedIn research view that connects company announcements and public creator contributions to the discussions around them. A coding agent can turn returned posts, comments, or reactions into linked tables and aggregate reports in your project.

Review a product launch

Combine company announcements, public creator posts, and topic searches into a launch brief. Examine post details, comments, replies, and reaction mixes; use creators' published comments and reacted-to post IDs to find additional discussions.

Plan an editorial calendar

Research company publishing feeds and public creators' posts, comments, and reacted-to posts for topic ideas. Read the underlying posts and discussions, then compare post and comment reactions to select questions worth answering.

Prepare a conference debrief

Find event posts through organizer feeds, public speakers' publishing activity, and keyword searches. Follow comments, replies, and reacted-to post IDs to collect discussion points, then summarize reaction types at both post and comment level.

Build an industry discussion brief

Collect company posts and public creators' published contributions around a defined industry topic. Use reaction records to identify associated posts and calculate response mixes, then read post details and comment threads for the substance behind those responses.

Find questions for a product FAQ

Collect product discussions from company posts, public creator posts, and keyword searches. Extract recurring questions from comments and replies, including explanations public creators have already published.

Compare campaign responses

Compare the content and reported engagement of selected company and public creator posts. Calculate reaction mixes for the posts and for specific comments addressing campaign messages.

Research a public creator's published work

Prepare an interview brief from a public creator's posts and comments. Use their reaction records to locate additional posts for reading, and keyword search to find relevant topic discussions.

Questions about LinkedIn post search in VS Code

Can VS Code use LinkedIn post search?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run LinkedIn post search like any built-in tool.

How much does LinkedIn post search cost in VS Code?

Up to $0.0034918 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need an Alexandria account to use LinkedIn post search in VS Code?

No. Spiral runs LinkedIn post search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up LinkedIn post search in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while LinkedIn post search runs?

LinkedIn post search runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

What information does HarvestAPI cover?

HarvestAPI describes its data as publicly available web information. That scope does not establish coverage of private LinkedIn messages or restricted discussions.

How fresh is the LinkedIn data?

HarvestAPI advertises real-time access to the latest source data. Its website does not state a fixed refresh interval in minutes or hours.

Is the returned data guaranteed to be complete?

HarvestAPI's terms exclude warranties of absolute data accuracy, reliability, and completeness. A response therefore carries no guarantee that it represents every LinkedIn post or interaction.

Can returned data be kept indefinitely?

HarvestAPI's terms limit storage and caching to the period reasonably necessary for the specific legitimate use. They do not grant an unrestricted retention period.

What does public mean on LinkedIn?

LinkedIn says posts shared with Anyone can be visible on or off LinkedIn. Posts shared with Connections only are restricted to the author's first-degree connections.

Get started

Start using LinkedIn post search in VS Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into VS Code:

Set up VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options