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

AlexandriaSocial MediaAvailable now

HarvestAPI · LinkedIn get linkedin profile posts

harvestapi/linkedin/profile-posts

Get public social media posts, profiles and videos with HarvestAPI · LinkedIn get linkedin profile posts from Alexandria through one Spiral API key. Get LinkedIn profile posts by profile URL, ID, or public identifier. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

Up to $0.0034918 per run.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
pagenumber—

Page number for pagination.

profiletext—

Filter posts by author's profile URL or public identifier or profile ID.

profileIdtext—

Filter posts by author's profile ID. It's faster to search by ID.

postedLimittext—

Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. Since LinkedIn doesn't offer a way to filter by date, the filtering will be done on our side, due to that the pagination might have incorrect values, because pagination is returned by LinkedIn without applying the postedLimit filter.

paginationTokentext—

Required if it was returned by the previous page. Otherwise the page will always be 1 (on LinkedIn side). Doesn't apply for all queries, usually profile posts return this token.

scrapePostedLimittext—

Post-Filter posts by maximum posted date. Supported values: '1h', '24h', 'week','month', '3months', '6months', 'year'. This parameter will be applied after receiving results from LinkedIn, the filtering will be done on our side.

profilePublicIdentifiertext—

Filter posts by author's profile public identifier (last part in the URL).

Same request in code

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/profile-posts",
    "input": {
      "profile": "<profile>"
    }
  }'

Frequently asked questions

How much does HarvestAPI · LinkedIn get linkedin profile posts cost?

Up to $0.0034918 per run. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use HarvestAPI · LinkedIn get linkedin profile posts through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "harvestapi/linkedin/profile-posts"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use HarvestAPI · LinkedIn get linkedin profile posts?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use HarvestAPI · LinkedIn get linkedin profile posts?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.