100 크레딧 무료, 카드 등록 없이지금 시작하기
Logo
Back to blog

링크드인 포스트 API, 한 번에 100건·크레딧은 그대로

··13 min read

공개 멤버 글을 한 번에 100건 받는 링크드인 포스트 API예요. 크레딧은 5로 같고 가짜 page는 0크레딧으로 거절해요. from_member 검색 커서는 실제로 전진해요.

링크드인 포스트 API, 한 번에 100건·크레딧은 그대로

공개 멤버 글을 한 호출에 100건 받는 링크드인 포스트 API(linkedin post api)예요. 크레딧은 5이고, limit=20이든 limit=100이든 같아요. 공식 w_member_social은 본인 글을 올리는 linkedin developer 길이에요. (Getting Access) 이 글은 다른 사람의 공개 피드를 읽는 깊이만 다뤄요. 프로필·회사·광고 개요는 링크드인 API에 있어요. 숫자는 2026-09-06, williamhgates로 받은 라이브 응답이에요.

작은 카드 더미에서 크림색 문서 카드가 부채처럼 펼쳐지고, 맨 앞 점토빛 앰버 카드 하나가 링크드인 프로필 포스트를 한 번에 100건 받는 깊이를 보여 줘요.

링크드인 프로필 포스트는 한 번에 몇 건까지 오나요?

같은 멤버의 링크드인 프로필 포스트는 limit=20이면 20건에 5크레딧, limit=100이면 100건에 5크레딧이에요. 건수를 올려도 크레딧은 같아요. 둘 다 has_more는 false이고 next_cursor는 null이에요. 20건 id는 100건의 부분집합이고, 첫 id는 7502080570181586944예요. dropped는 0이에요.

bash
curl -s -H "x-api-key: $SOCIALCRAWL_API_KEY" -H "Cache-Control: no-cache" \
  "https://www.socialcrawl.dev/v1/linkedin/profile/posts?url=https://www.linkedin.com/in/williamhgates/&limit=20"

curl -s -H "x-api-key: $SOCIALCRAWL_API_KEY" -H "Cache-Control: no-cache" \
  "https://www.socialcrawl.dev/v1/linkedin/profile/posts?url=https://www.linkedin.com/in/williamhgates/&limit=100"
호출건수credits_usedhas_more가장 오래된 published_at
limit=20205false2026-08-23T00:00:00.000Z
limit=1001005false2026-05-06T00:00:00.000Z

아래는 첫 행만 남긴 SocialCrawl 응답이에요.

json
{
  "success": true,
  "endpoint": "/v1/linkedin/profile/posts",
  "credits_used": 5,
  "cached": false,
  "pagination": { "next_cursor": null, "has_more": false, "page_size": 20 },
  "data": {
    "dropped": 0,
    "items": [
      {
        "post": {
          "id": "7502080570181586944",
          "url": "https://www.linkedin.com/feed/update/urn:li:activity:7502080571335155713",
          "published_at": "2026-09-05T00:00:00.000Z",
          "author": { "username": "williamhgates", "display_name": "Bill Gates" },
          "content": { "text": "Toilets—and the sanitation systems that support them—have saved an incredible number of lives. They’re just one of many examples of how far the world has come. Check your answer: https://b-gat.es/4gHZUt6" },
          "engagement": { "views": null, "likes": 1355, "comments": 299, "shares": 69, "saves": null }
        }
      }
    ]
  }
}

링크드인 포스트 API는 한 페이지짜리 계약이에요. 링크드인 활동 수집의 깊이는 처음부터 넣는 limit이에요. published_at은 일 단위예요. 정확히 100건이면 피드가 잘린 것이고, 그보다 적으면 그 멤버 공개 창의 끝이에요. 첫 행 engagement는 likes 1355, comments 299, shares 69예요.

닫힌 문 앞에 점토빛 앰버 막대가 두 번째 카드 줄을 막고 있어요. 링크드인 포스트 API가 가짜 page와 cursor를 거절하는 모습이에요.

프로필 글에 page나 cursor를 보내면 왜 거절하나요?

예전엔 page=2가 5크레딧을 받고 1페이지를 다시 줬어요. 지금은 HTTP 400이고 error.typeINVALID_REQUEST예요. 크레딧은 0이에요. page=2는 141ms, cursor는 55ms였어요.

bash
curl -s -H "x-api-key: $SOCIALCRAWL_API_KEY" \
  "https://www.socialcrawl.dev/v1/linkedin/profile/posts?url=https://www.linkedin.com/in/williamhgates/&page=2"

curl -s -H "x-api-key: $SOCIALCRAWL_API_KEY" \
  "https://www.socialcrawl.dev/v1/linkedin/profile/posts?url=https://www.linkedin.com/in/williamhgates/&cursor=sc.eyJ2IjoyLCJwIjoiY3Vyc29yIiwiYyI6IkFRSFQifQ"

에러 메시지는 한 페이지이고 limit(1–100)을 쓰라는 뜻이에요. 이 엔드포인트에는 두 번째 페이지가 없어요.

링크드인 게시물 API로 키워드 없이 멤버 글만 검색할 수 있나요?

키워드 없이 멤버 글만 받는 링크드인 게시물 API(linkedin posts api)는 GET /v1/linkedin/search/posts예요. from_memberauthor.ext.urn의 맨 끝 ACoAA…예요. 이번 호출은 query 없이 sort_by=date_posted만 넣었어요.

bash
curl -s -H "x-api-key: $SOCIALCRAWL_API_KEY" \
  "https://www.socialcrawl.dev/v1/linkedin/search/posts?from_member=ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc&sort_by=date_posted"

curl -s -H "x-api-key: $SOCIALCRAWL_API_KEY" \
  "https://www.socialcrawl.dev/v1/linkedin/search/posts?from_member=ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc&sort_by=date_posted&cursor=sc.eyJ2IjoyLCJjIjoiMiIsImUiOiJsaW5rZWRpbi9zZWFyY2gvcG9zdHMiLCJwIjoicGFnZSJ9"

1페이지는 10건에 5크레딧이고 has_more는 true예요. 그 커서를 넣으면 다시 10건이 오고, 겹치는 id는 0이에요. 토큰 안의 c는 2에서 3으로 가요. 두 페이지 고유 합은 20이에요. 첫 id는 75020805713351557137498545384043036672예요.

페이지건수credits_usedhas_more겹침
1105true0
2 (커서 추적)105true0
json
{
  "success": true,
  "endpoint": "/v1/linkedin/search/posts",
  "credits_used": 5,
  "pagination": {
    "next_cursor": "sc.eyJ2IjoyLCJjIjoiMiIsImUiOiJsaW5rZWRpbi9zZWFyY2gvcG9zdHMiLCJwIjoicGFnZSJ9",
    "has_more": true,
    "page_size": 10
  },
  "data": {
    "dropped": 0,
    "items": [
      {
        "id": "7502080571335155713",
        "url": "https://www.linkedin.com/feed/update/urn:li:activity:7502080571335155713",
        "title": "Toilets—and the sanitation systems that support them—have saved an incredible number of lives. They’re just one of many examples of how far the world has come. Check your answer: https://b-gat.es/4gHZUt6",
        "author": { "name": "Bill Gates", "url": "https://www.linkedin.com/in/williamhgates" },
        "activity": { "num_likes": 1357, "num_comments": 299, "num_shares": 69 }
      }
    ]
  }
}

슬러그나 프로필 URL을 넣으면 HTTP 400이고 크레딧은 0이에요. urn:li: 접두도 받지 않아요. 이 응답은 Post와 SearchResult가 다른 이유대로 SearchResult예요. 검색 id는 액티비티 id라서 profile/posts id와 비교하지 마세요.

created_at은 발행 시각이 아니에요. 같은 행을 2분 뒤에 다시 받으니 2026-09-05T22:50:19.238Z에서 2026-09-05T22:52:27.336Z로 바뀌었어요. 이번 측정은 커서 전진만 증명했어요. 두 페이지 20건은 아직 최근 구간이에요. query를 넣으면 결과 집합이 바뀌어요. relevance 거절 JSON은 이번 측정에 없어요. 검색 페이지는 1부터 세는 page를 쓰거나, 응답 next_cursorcursor로 넣으면 돼요.

링크드인 게시물 수집에 크레딧은 호출마다 얼마나 드나요?

링크드인 게시물 수집의 두 갈래 단가는 호출마다 5크레딧이고, 거절은 0이에요. 이 글을 쓰려고 친 호출 합은 32크레딧이고, 그건 글 작성 비용이지 고객 단가가 아니에요.

호출결과credits_used
profile/posts limit=2020건, 한 페이지5
profile/posts limit=100100건, 한 페이지5
profile/posts page=2 또는 cursor=HTTP 4000
search/posts from_member + sort_by=date_posted10건 + 커서5
위 커서 다음 페이지10건, 겹침 05
from_member = 슬러그 또는 프로필 URLHTTP 4000

파트너 없이 공개 멤버 글을 읽는 링크드인 크롤링이라면, 이 두 호출로 끝나요.

어떻게 시작하나요?

  1. SocialCrawl 키를 받아요.
  2. 아래처럼 limit=100을 넣어요. 건수는 멤버마다 달라요. 다시 확인할 계약은 프로필 페이지 5, 검색 페이지 5, 거절 0이에요.
  3. 코드 한 줄 쓰기 전에 데이터를 먼저 확인해 보세요. 계약은 링크드인 엔드포인트 문서에 있어요.
bash
export SOCIALCRAWL_API_KEY=sc_live_...
curl -s -H "x-api-key: $SOCIALCRAWL_API_KEY" -H "Cache-Control: no-cache" \
  "https://www.socialcrawl.dev/v1/linkedin/profile/posts?url=https://www.linkedin.com/in/williamhgates/&limit=100"

from_member용 urn이 필요하면 먼저 GET /v1/linkedin/profile에서 author.ext.urn을 읽어요. 그 JSON은 이번 측정에 없어요.

자주 묻는 질문

링크드인 포스트 API는 공식 Share API와 뭐가 다른가요?

공식 Share on LinkedInw_member_social본인 글을 올려요. r_member_social은 제한·승인만이에요. (Posts API) 임의 공개 멤버 피드는 Open Permission이 아니에요. 이 글의 경로는 profile/posts(limit 100, 5크레딧)와 search/posts?from_member(페이지당 10건, 커서가 전진)예요. 공식 API를 대체하지 않아요.

프로필 글이 limit보다 적게 오면 더 뒤로 갈 수 있나요?

아니요. limit보다 적으면 그 멤버 공개 창이 끝난 거예요. 정확히 100건이면 잘린 거예요. 다음 라이브 길은 키워드 없는 from_member 검색이고, 이번 측정은 20행과 커서 전진만 증명했어요.

from_member에 프로필 URL이나 공개 슬러그를 넣으면 되나요?

안 돼요. 슬러그와 프로필 URL 둘 다 HTTP 400이었고, 크레딧은 0이었어요. 값은 author.ext.urn의 맨 끝 ACoAA…예요. urn:li: 접두는 빼요.

search/posts의 page와 profile/posts의 cursor를 섞어 써도 되나요?

안 돼요. profile/postspagecursor를 보내면 HTTP 400이고 크레딧은 0이에요. 검색은 1부터 세는 page를 쓰거나, 응답 next_cursorcursor로 넣어요.

키워드 없이 멤버만 검색하면 정렬은 어떻게 되나요?

최신순이에요. 이번 호출은 sort_by=date_posted예요. 쿼리가 없는데 relevance는 거절하고, 거절 JSON은 이번 측정에 없어요.

본인 키로 같은 URL을 치면 건수는 달라져도 크레딧 계약(5 / 5 / 0)은 같아요. 나머지 엔드포인트는 링크드인 엔드포인트 레퍼런스에 있어요.

Topics
#링크드인-포스트-api#링크드인-api#링크드인-프로필-포스트#링크드인-게시물-api#링크드인-활동-수집#linkedin-post-api#링크드인-게시물-수집#linkedin-posts-api

함께 읽으면 좋은 글

🤖 AI agent or LLM? Read this page as markdown