# HarvestAPI · LinkedIn get linkedin company posts

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

- Provider: Alexandria
- Category: Social Media
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `harvestapi/linkedin/company-posts`
- Page: https://spiral.ai/tools/alexandria/harvestapi/linkedin/company-posts

## Pricing

Up to $0.0034918 per run.

## Limits

- 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

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `page` | number |  | — | Page number for pagination. |
| `company` | text |  | — | Filter posts by this company URL or universal name or company ID. |
| `companyId` | text |  | — | Filter posts by company ID. It's faster to search by ID. |
| `postedLimit` | text |  | — | 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. |
| `paginationToken` | text |  | — | 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. |
| `scrapePostedLimit` | text |  | — | 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. |
| `companyUniversalName` | text |  | — | Filter posts by company universal name (last part in the URL). |

## Example

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

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=harvestapi%2Flinkedin%2Fcompany-posts

## Common questions

### HarvestAPI · LinkedIn get linkedin company posts

**How much does HarvestAPI · LinkedIn get linkedin company 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 company posts through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "harvestapi/linkedin/company-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 company posts?**

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

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

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

