# Signals – LinkedIn Posts API Reference

> Platform documentation snapshot. Access, charging and provider requirements remain operation-specific; examples do not execute requests.

### What it does

Retrieve recent LinkedIn post activity for companies and profiles, including post text, engagement and timing, so you can act on what a prospect actually said in public.

### Use cases

- Open a cold message by referencing a prospect's own recent post instead of a generic hook.
- Monitor target accounts for hiring, product launch or event posts that indicate a buying window.
- Feed post content into an AI personalization step so every first line is grounded in something real.

### Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `keywords` | string | Keywords to search for in LinkedIn posts (required) |
| `page` | integer | Page number for pagination (default: 1) |
| `page_size` | integer | Results per page (default: 20, max: 100) |

### Response Schema

_Complete documented fields for this section, with nested notation preserved. Endpoint-specific envelopes, availability and additional fields are described under each endpoint below._

| Field | Notes |
|-------|-------|
| page | |
| page_size | |
| posts_per_company | |
| keywords_match_mode | |
| total_companies | |
| companies[] → company_id, linkedin_company_id, org_id, snap_id | |
| companies[] → name, slug, slug_status, type, size, employee_count, follower_count, is_showcase | |
| companies[] → description, company_headline, founded_year | |
| companies[] → website, linkedin_url, ticker, stock_exchange_code | |
| companies[] → industries[] → name, id, primary | |
| companies[] → specialties[] → name, id | |
| companies[] → naics_codes[] → code, title | |
| companies[] → street_address, locality, region, postal_code, country_iso, country_name | |
| companies[] → inferred_location → formatted_address, address_line, locality, admin_district, admin_district2, neighborhood, postal_code, country_region, country_iso, latitude, longitude, name, locationstr | |
| companies[] → locations[] → address, is_primary, inferred_location {...} | |
| companies[] → similar_pages[] | |
| companies[] → affiliated_pages[] | |
| companies[] → subsidiary_linkedin_company_ids | |
| companies[] → employees[] | |
| companies[] → crunchbase_funding[] → crunchbase_company_name, crunchbase_company_url, investor_names[], round_amount, investor_count, funding_url, round_name, round_currency, round_date, people_investors_urls, organization_investors_urls[], funding_round_count | |
| companies[] → created_at, updated_at | |
| companies[] → linkedin_posts[] → id, text, linkedin_company_id | |

**Illustrative Example Response (synthetic, not a complete endpoint schema):**

```json
{
  "data": [
    {
      "page": 0,
      "page_size": "string",
      "posts_per_company": "string",
      "keywords_match_mode": [],
      "total_companies": "string",
      "companies": [
        {
          "linkedin_posts[] → id": "string",
          "text": "string",
          "linkedin_company_id": "abc123"
        }
      ]
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 20,
    "total": 1,
    "has_more": false
  },
  "credits_used": 1
}
```

### POST /linkedin-posts — Search LinkedIn Posts

Search LinkedIn posts by keywords and return the matched companies along with their posts. Useful for finding companies actively discussing specific topics. Costs 1 credit per company returned.

**Example Request Body:**

```json
{
  "keywords": "artificial intelligence",
  "page": 1,
  "page_size": 20
}
```

**cURL Example:**

```bash
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
  -H 'Content-Type: application/json' \
  -H 'x-amz-security-token: YOUR-API-KEY' \
  -d '{
  "path": "/linkedin-posts",
  "method": "POST",
  "body": {
    "keywords": "artificial intelligence",
    "page": 1,
    "page_size": 20
  }
}'
```

