urlstringจำเป็น
Company URL.
https://api.sandbase.ai/v1/api/linkedin/web-v2/company-postsReturns posts from a LinkedIn organization page using the company URL. Supports ordering by top or recent posts and offset or token pagination.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
The LinkedIn company profile and posts API example separates the two requests and their historical observations. Start with the required company URL; do not infer a pagination token path from another provider's API.
Optional input types are unspecified here and pending product confirmation; the published parameter schema remains authoritative. The exact token extraction path and the behavior when offset and token are sent together also need confirmation before a continuation example. The first-request example sends only url; no sorting or continuation request is demonstrated here.
Retrieve posts from a company's profile by supplying the organization url. Adjust feed ordering with sort_by and manage multi-page results using start or pagination_token.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/web-v2/company-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.linkedin.com/company/microsoft/"}'
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Company URL. |
start | unspecified (pending confirmation) | No | Pagination offset — 0 for page 1, 50 for page 2, and so on. |
sort_by | unspecified (pending confirmation) | No | top or recent. |
pagination_token | unspecified (pending confirmation) | No | Token from the paging object of the previous response. |
sort_by to top or recent to adjust output order.start in increments of 50 or by passing the pagination_token returned in the previous response.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/web-v2/company-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/company/microsoft/"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
urlstringจำเป็นCompany URL.
pagination_tokenanyToken from the `paging` object of the previous response.
sort_byanytop or recent.
startanyPagination offset — 0 for page 1, 50 for page 2, and so on.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
LinkedIn Company PostsAPI นี้ LinkedIn | $0.05 ต่อการเรียก | JSON |
LinkedIn | $0.008 ต่อการเรียก | JSON |
LinkedIn | $0.05 ต่อการเรียก | JSON |
LinkedIn | $0.05 ต่อการเรียก | JSON |
LinkedIn | $0.008 ต่อการเรียก | JSON |
LinkedIn | $0.05 ต่อการเรียก | JSON |
คู่มือ:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/linkedin/web-v2/company-posts โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.05 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: url (string). ตัวเลือก: pagination_token (any), sort_by (any) และ start (any). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ไม่จำเป็น LinkedIn Company Posts ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง LinkedIn API แยกต่างหาก
ส่ง URL เต็มของหน้า company ใน LinkedIn ลงในฟิลด์ url ที่กำหนด รวม https:// ด้วย ตัวอย่าง request แรกใช้เพียงฟิลด์นี้ README ปัจจุบันอธิบายค่า sort_by เป็น top และ recent; recent เป็นตัวเลือกการเรียงลำดับ ไม่ใช่การรับประกันความใหม่ ตรวจสอบเอกสารอ้างอิงของ endpoint สำหรับประเภทอินพุตแบบเลือกได้ปัจจุบันก่อนเพิ่มการเรียงลำดับหรือ pagination
ไม่มีการรับประกันประวัติครบถ้วนหรือขนาดหน้าคงที่ในที่นี้ README อธิบายจุดเริ่มต้นที่ 0, 50 และต่อจากนั้น หรือการต่อเนื่องด้วย pagination_token จากการตอบกลับก่อนหน้า ค่าออฟเซ็ตเหล่านี้ไม่ได้พิสูจน์ว่าแต่ละหน้ามีโพสต์ 50 รายการ ต้องยืนยันเส้นทางการดึง token ที่แน่ชัดและพฤติกรรมเมื่อส่ง offset กับ token พร้อมกันก่อนเผยแพร่ตัวอย่างการต่อเนื่อง