COMPANY POSTS API

Company Page Posts as Structured JSON

Send a company page URL and get its posts as JSON: text, attachments, author, engagement counts and reposts, going back about 12 months. Filter to articles or documents with one parameter.

POST/api/v1/company/posts

{
  "total": 365,
  "message": [
    {
      "text": "This week, we expanded the Gemini 3...",
      "created_at": "2025-12-20T16:06:30.020Z",
      "likes": 624,
      "comments": 48,
      "shares": 52
    }
  ]
}

What is the Datamagnet Company Posts API?

The Datamagnet Company Posts API returns the posts published on a company page as structured JSON, from the page URL. Each post includes its text, attachments, author, likes, comments, shares and a breakdown of reactions by type, plus whether it is a repost and of what. Results are paged with a cursor and go back about 12 months.

Input
Company page URL
Cost
10 credits per page
Freshness
Live at request time

One request

Authenticate with your API key as a bearer token and send a JSON body. This is the request behind the sample response.

  • POST /api/v1/company/posts
  • Input: Company page URL
  • Cost: 10 credits per page
POST /api/v1/company/posts
curl -X POST \
  "https://api.datamagnet.co/api/v1/company/posts" \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.linkedin.com/company/google"}'

→ 200 OK · 10 credits

{  "cursor": "eyJjb3VudCI6MTAwLCJzdGFydCI6MTAw...",  "total": 365,  "message": [    {      "text": "This week, we expanded the Gemini 3...",      "url": "https://www.linkedin.com/feed/update/urn:li:activity:...",      "created_at": "2025-12-20T16:06:30.020Z",      "author": { "name": "Google", "type": "Company", ... },      "likes": 624,      "comments": 48,      "shares": 52,      "is_repost": false    }  ]}

What you get

The main fields in the response. The Company Posts reference documents every field.

FieldTypeDescription
textstringText of the post.
urlstringLink to the post.
created_atstringISO 8601 time the post was created.
authorobjectThe company (name, logo, followers) or, for a repost, the member who wrote the original.
attachmentsarrayImages, videos, documents and articles attached to the post.
likes, comments, sharesnumberEngagement counts on the post.
reactionsarrayReaction counts by type: LIKE, PRAISE, EMPATHY, INTEREST and others.
is_repostbooleanWhether the post reshares another post.
original_post_urlstringLink to the original post when this one is a repost.
mentionsarrayPeople and companies tagged in the post.
totalintegerHow many posts the company feed reports. null when not available.
cursorstringToken for the next page. null when there are no more posts.

Use cases

Account research

See what a target account announced recently, from launches to hiring pushes, before a call or a sequence goes out.

Content benchmarking

Compare likes, comments, shares and reaction mix per post across your own page and your competitors', post by post.

Find who engages

Pass a post URL to Post Reactions or Post Comments to list the people behind the engagement. For a repost, use original_post_url.

Frequently asked questions

10 credits per successful request, and each request returns one page of posts. A temporary failure returns HTTP 400 with status failed and is not charged. A company page that does not exist returns 404 and is charged like a successful request, since the lookup ran.

About 12 months. Older posts are not available, and the cursor is empty once the feed reaches that point. The total field reports how many posts the feed holds, which can be lower than the number the company has ever published.

Yes. Set type to articles for articles only or documents for document posts. The default, all, returns every type of post.

A repost is its own post with its own URL, and its reactions belong to the original. Pass original_post_url, not url, to the Post Reactions endpoint.

Pull a company's posts with 10 free credits

No credit card required. Get an API key and read the first page of any company feed in a few minutes.

  • 10 credits per page
  • Temporary failures are not charged
  • About 12 months of posts

Interactive Demo

~15 minutes

1

Get your API key

1 min
2

POST a company page URL

1 min
3

Page through with the cursor

Instant