# LinkedIn

> LinkedIn. 도구 10개와 매개변수, 호출 예제.

Source: https://piqline.com/ko/docs/api/reference/linkedin

LinkedIn 에이전트의 도구입니다. 공개 게시물, 회사 페이지, 광고를 실시간으로 읽습니다. 연락처는 읽지 않습니다.

각 호출은 `Authorization: Bearer`에 키를 넣은 `POST` 요청입니다. JSON 본문이 도구의 입력이며, 응답은 `{ "tool": "nom", "output": … }` 형태입니다. 예제에는 필수 매개변수만 포함되어 있습니다. 매개변수 설명은 에이전트가 읽는 설명과 같습니다.

### `searchLinkedinPosts`

키워드로 공개 게시물을 실시간으로 최신순 검색합니다(부분 읽기는 결과에 표시됨). 채용 게시물에는 작성자의 직함과 역할을 함께 반환하며, 코드가 계산한 신호(채용, 투자 유치, 출시, 확장, 조직 개편, 가용, 퇴사)를 포함합니다.

`POST https://piqline.com/api/v1/tools/searchLinkedinPosts`

유형: 실시간 읽기. 스코프: `explore`.

| 매개변수 | 형식 | 필수 | 설명 |
| --- | --- | --- | --- |
| `query` | `string` | 예 | One exact phrase in double quotes as the post would say it, plus at most one or two plain words, e.g. '"je recrute" développeur'. No OR, no parentheses. |
| `datePosted` | `last-hour \| last-day \| last-week \| last-month \| last-year` | 아니요 |  |
| `focus` | `all \| people \| hiring \| signals` | 아니요 | people = only posts carrying a person pointer, hiring = hiring posts, signals = any signal |
| `moreQueries` | `array<string>` | 아니요 | Up to 3 other exact phrases searched together with `query`, same writing rule, e.g. ['"nous recrutons"', '"on recrute"']. They share `depth`. |
| `depth` | `integer` | 아니요 | Posts read at most, all formulas together: 15, 50, 100 or 200. One credit per post read. 15 for a quick look; 100 is the Auto value of a broad search. |
| `intent` | `string` | 아니요 | What sets the wanted posts apart, in the user's language: the job families or the topic, with a few concrete words, e.g. 'Métiers de la tech, de l'IT et de la vente : développeur, data, devops, produit, commercial, account executive, SDR'. Do NOT write what… |
| `relevance` | `wide \| balanced \| strict` | 아니요 | How close to `intent` a post must be: wide keeps more, strict keeps few. Ignored without `intent`. |
| `author` | `all \| recruiter \| founder \| manager` | 아니요 | Keep only posts whose author's title reads as recruiter, founder or manager. Titles exist on hiring posts only. |
| `order` | `recent \| closest` | 아니요 | recent = newest first; closest = closest in meaning to `intent` first. |
| `place` | `string` | 아니요 | Place the user cares about, e.g. 'France' or 'Lyon'. It weighs in the closeness score; it is not a hard filter. |
| `tuning` | `auto \| manual` | 아니요 | auto = these values were chosen by you; the card sets manual when the user changed them. |
| `cursor` | `string` | 아니요 | nextCursor from a previous call |

```bash tab="curl"
curl -s https://piqline.com/api/v1/tools/searchLinkedinPosts \
  -H "Authorization: Bearer $PIQLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"levée de fonds"}'
```
```javascript tab="JavaScript"
const response = await fetch("https://piqline.com/api/v1/tools/searchLinkedinPosts", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.PIQLINE_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "query": "levée de fonds"
  }),
});
const { output } = await response.json();
```
```python tab="Python"
import os
import requests

response = requests.post(
    "https://piqline.com/api/v1/tools/searchLinkedinPosts",
    headers={"Authorization": "Bearer " + os.environ["PIQLINE_API_KEY"]},
    json={
        "query": "levée de fonds",
    },
)
output = response.json()["output"]
```

### `probeLinkedinWatch`

LinkedIn 모니터링을 구독하기 전에 쿼리 변형 1~3개를 시험하고, 구독에 첨부할 조사 티켓을 반환합니다.

`POST https://piqline.com/api/v1/tools/probeLinkedinWatch`

유형: 실시간 읽기. 스코프: `explore`.

| 매개변수 | 형식 | 필수 | 설명 |
| --- | --- | --- | --- |
| `intent` | `string` | 예 | User ask in natural language, e.g. « Suis les levées série A fintech chaque semaine » |
| `variants` | `array<object>` | 예 | Candidate keyword formulations as the market writes them |
| `detectionEvent` | `hiring \| funding \| launch \| expansion \| reorg \| open_to_work \| leaving \| interested_comment \| …` | 아니요 |  |
| `detectionRounds` | `array<pre_seed \| seed \| series_a \| series_b \| series_c \| series_d \| bridge \| extension \| …>` | 아니요 |  |
| `detectionSectors` | `array<string>` | 아니요 |  |
| `detectionGeos` | `array<string>` | 아니요 |  |
| `detectionVocabulary` | `array<string>` | 아니요 |  |

```bash tab="curl"
curl -s https://piqline.com/api/v1/tools/probeLinkedinWatch \
  -H "Authorization: Bearer $PIQLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"intent":"texte","variants":[{"query":"levée de fonds"}]}'
```
```javascript tab="JavaScript"
const response = await fetch("https://piqline.com/api/v1/tools/probeLinkedinWatch", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.PIQLINE_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "intent": "texte",
    "variants": [
      {
        "query": "levée de fonds"
      }
    ]
  }),
});
const { output } = await response.json();
```
```python tab="Python"
import os
import requests

response = requests.post(
    "https://piqline.com/api/v1/tools/probeLinkedinWatch",
    headers={"Authorization": "Bearer " + os.environ["PIQLINE_API_KEY"]},
    json={
        "intent": "texte",
        "variants": [
            {
                "query": "levée de fonds",
            },
        ],
    },
)
output = response.json()["output"]
```

### `getLinkedinPost`

공개 게시물 또는 기사를 읽습니다: 텍스트, 작성자, 날짜, 반응, 신호가 포함된 댓글.

`POST https://piqline.com/api/v1/tools/getLinkedinPost`

유형: 실시간 읽기. 스코프: `explore`.

| 매개변수 | 형식 | 필수 | 설명 |
| --- | --- | --- | --- |
| `url` | `string` | 예 | linkedin.com/posts/…, /feed/update/… or /pulse/… |

```bash tab="curl"
curl -s https://piqline.com/api/v1/tools/getLinkedinPost \
  -H "Authorization: Bearer $PIQLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://exemple.fr/article"}'
```
```javascript tab="JavaScript"
const response = await fetch("https://piqline.com/api/v1/tools/getLinkedinPost", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.PIQLINE_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "https://exemple.fr/article"
  }),
});
const { output } = await response.json();
```
```python tab="Python"
import os
import requests

response = requests.post(
    "https://piqline.com/api/v1/tools/getLinkedinPost",
    headers={"Authorization": "Bearer " + os.environ["PIQLINE_API_KEY"]},
    json={
        "url": "https://exemple.fr/article",
    },
)
output = response.json()["output"]
```

### `getLinkedinPostTranscript`

공개 게시물 동영상의 전사. 전사가 있는 경우에만 과금됩니다.

`POST https://piqline.com/api/v1/tools/getLinkedinPostTranscript`

유형: 실시간 읽기. 스코프: `explore`.

| 매개변수 | 형식 | 필수 | 설명 |
| --- | --- | --- | --- |
| `url` | `string` | 예 | URL of the LinkedIn video post |

```bash tab="curl"
curl -s https://piqline.com/api/v1/tools/getLinkedinPostTranscript \
  -H "Authorization: Bearer $PIQLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://exemple.fr/article"}'
```
```javascript tab="JavaScript"
const response = await fetch("https://piqline.com/api/v1/tools/getLinkedinPostTranscript", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.PIQLINE_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "https://exemple.fr/article"
  }),
});
const { output } = await response.json();
```
```python tab="Python"
import os
import requests

response = requests.post(
    "https://piqline.com/api/v1/tools/getLinkedinPostTranscript",
    headers={"Authorization": "Bearer " + os.environ["PIQLINE_API_KEY"]},
    json={
        "url": "https://exemple.fr/article",
    },
)
output = response.json()["output"]
```

### `getLinkedinCompany`

공개 회사 페이지: 설명, 직원 수, 업종, 투자 정보, 신호가 포함된 최신 게시물.

`POST https://piqline.com/api/v1/tools/getLinkedinCompany`

유형: 실시간 읽기. 스코프: `explore`.

| 매개변수 | 형식 | 필수 | 설명 |
| --- | --- | --- | --- |
| `company` | `string` | 예 | URL linkedin.com/company/… ou handle (ex. shopify) |

```bash tab="curl"
curl -s https://piqline.com/api/v1/tools/getLinkedinCompany \
  -H "Authorization: Bearer $PIQLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"company":"texte"}'
```
```javascript tab="JavaScript"
const response = await fetch("https://piqline.com/api/v1/tools/getLinkedinCompany", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.PIQLINE_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "company": "texte"
  }),
});
const { output } = await response.json();
```
```python tab="Python"
import os
import requests

response = requests.post(
    "https://piqline.com/api/v1/tools/getLinkedinCompany",
    headers={"Authorization": "Bearer " + os.environ["PIQLINE_API_KEY"]},
    json={
        "company": "texte",
    },
)
output = response.json()["output"]
```

### `getLinkedinCompanyPosts`

회사 페이지의 이전 게시물과 신호 요약(채용, 투자, 출시).

`POST https://piqline.com/api/v1/tools/getLinkedinCompanyPosts`

유형: 실시간 읽기. 스코프: `explore`.

| 매개변수 | 형식 | 필수 | 설명 |
| --- | --- | --- | --- |
| `company` | `string` | 예 | URL linkedin.com/company/… ou handle |
| `page` | `integer` | 아니요 |  |

```bash tab="curl"
curl -s https://piqline.com/api/v1/tools/getLinkedinCompanyPosts \
  -H "Authorization: Bearer $PIQLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"company":"texte"}'
```
```javascript tab="JavaScript"
const response = await fetch("https://piqline.com/api/v1/tools/getLinkedinCompanyPosts", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.PIQLINE_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "company": "texte"
  }),
});
const { output } = await response.json();
```
```python tab="Python"
import os
import requests

response = requests.post(
    "https://piqline.com/api/v1/tools/getLinkedinCompanyPosts",
    headers={"Authorization": "Bearer " + os.environ["PIQLINE_API_KEY"]},
    json={
        "company": "texte",
    },
)
output = response.json()["output"]
```

### `searchLinkedinAds`

광고 라이브러리를 검색합니다: 광고주, 형식, 날짜, 노출 수.

`POST https://piqline.com/api/v1/tools/searchLinkedinAds`

유형: 실시간 읽기. 스코프: `explore`.

| 매개변수 | 형식 | 필수 | 설명 |
| --- | --- | --- | --- |
| `company` | `string` | 아니요 | Nom d’entreprise, ex. Shopify |
| `companyId` | `string` | 아니요 | Id numérique LinkedIn de l’entreprise |
| `keyword` | `string` | 아니요 | Mot-clé secteur |
| `countries` | `string` | 아니요 | Codes pays ISO séparés par des virgules, ex. FR,ES |
| `startDate` | `string` | 아니요 |  |
| `endDate` | `string` | 아니요 |  |
| `paginationToken` | `string` | 아니요 |  |

```bash tab="curl"
curl -s https://piqline.com/api/v1/tools/searchLinkedinAds \
  -H "Authorization: Bearer $PIQLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
```javascript tab="JavaScript"
const response = await fetch("https://piqline.com/api/v1/tools/searchLinkedinAds", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.PIQLINE_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({}),
});
const { output } = await response.json();
```
```python tab="Python"
import os
import requests

response = requests.post(
    "https://piqline.com/api/v1/tools/searchLinkedinAds",
    headers={"Authorization": "Bearer " + os.environ["PIQLINE_API_KEY"]},
    json={},
)
output = response.json()["output"]
```

### `getLinkedinAd`

라이브러리 광고의 상세: 타겟팅, 국가별 노출 수, 게재 기간.

`POST https://piqline.com/api/v1/tools/getLinkedinAd`

유형: 실시간 읽기. 스코프: `explore`.

| 매개변수 | 형식 | 필수 | 설명 |
| --- | --- | --- | --- |
| `url` | `string` | 예 | linkedin.com/ad-library/detail/… URL |

```bash tab="curl"
curl -s https://piqline.com/api/v1/tools/getLinkedinAd \
  -H "Authorization: Bearer $PIQLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://exemple.fr/article"}'
```
```javascript tab="JavaScript"
const response = await fetch("https://piqline.com/api/v1/tools/getLinkedinAd", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.PIQLINE_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "https://exemple.fr/article"
  }),
});
const { output } = await response.json();
```
```python tab="Python"
import os
import requests

response = requests.post(
    "https://piqline.com/api/v1/tools/getLinkedinAd",
    headers={"Authorization": "Bearer " + os.environ["PIQLINE_API_KEY"]},
    json={
        "url": "https://exemple.fr/article",
    },
)
output = response.json()["output"]
```

### `matchLinkedinPosts`

공개 게시물을 바탕으로 가용한 사람과 기회를 매칭합니다(검색 두 번).

`POST https://piqline.com/api/v1/tools/matchLinkedinPosts`

유형: 실시간 읽기. 스코프: `explore`.

| 매개변수 | 형식 | 필수 | 설명 |
| --- | --- | --- | --- |
| `peopleQuery` | `string` | 예 |  |
| `opportunityQuery` | `string` | 예 |  |
| `datePosted` | `last-hour \| last-day \| last-week \| last-month \| last-year` | 아니요 |  |
| `semantic` | `boolean` | 아니요 | Re-rank by closeness in meaning when available |

```bash tab="curl"
curl -s https://piqline.com/api/v1/tools/matchLinkedinPosts \
  -H "Authorization: Bearer $PIQLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"peopleQuery":"texte","opportunityQuery":"texte"}'
```
```javascript tab="JavaScript"
const response = await fetch("https://piqline.com/api/v1/tools/matchLinkedinPosts", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.PIQLINE_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "peopleQuery": "texte",
    "opportunityQuery": "texte"
  }),
});
const { output } = await response.json();
```
```python tab="Python"
import os
import requests

response = requests.post(
    "https://piqline.com/api/v1/tools/matchLinkedinPosts",
    headers={"Authorization": "Bearer " + os.environ["PIQLINE_API_KEY"]},
    json={
        "peopleQuery": "texte",
        "opportunityQuery": "texte",
    },
)
output = response.json()["output"]
```

### `getLinkedinProfile`

공개 `/in/` 프로필을 제한적으로 읽습니다. 그 사람을 언급하는 공개 게시물에서만 가능합니다. 이 옵션을 켠 워크스페이스 전용입니다.

`POST https://piqline.com/api/v1/tools/getLinkedinProfile`

유형: 실시간 읽기. 스코프: `explore`.

| 매개변수 | 형식 | 필수 | 설명 |
| --- | --- | --- | --- |
| `url` | `string` | 예 | linkedin.com/in/… URL from a pointer or pasted by the user |
| `basis` | `pointer \| pasted` | 예 |  |
| `postUrl` | `string` | 아니요 | Required with basis='pointer': the public post carrying the signal |

```bash tab="curl"
curl -s https://piqline.com/api/v1/tools/getLinkedinProfile \
  -H "Authorization: Bearer $PIQLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://exemple.fr/article","basis":"pointer"}'
```
```javascript tab="JavaScript"
const response = await fetch("https://piqline.com/api/v1/tools/getLinkedinProfile", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.PIQLINE_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "https://exemple.fr/article",
    "basis": "pointer"
  }),
});
const { output } = await response.json();
```
```python tab="Python"
import os
import requests

response = requests.post(
    "https://piqline.com/api/v1/tools/getLinkedinProfile",
    headers={"Authorization": "Bearer " + os.environ["PIQLINE_API_KEY"]},
    json={
        "url": "https://exemple.fr/article",
        "basis": "pointer",
    },
)
output = response.json()["output"]
```
