POST REPOSTS API

See Who Reposted and What They Said

Send a post URL and get its reposts as JSON: the person or company page behind each one, their headline, and the commentary they added when they shared it. Page through with a cursor.

POST/api/v1/post/reposts

{
  "cursor": 2,
  "message": {
    "reposts": [
      {
        "actor": { "name": "Sarah Williams", ... },
        "commentary": "Great insights on professional..."
      }
    ],
    "total": 21
  }
}

What is the Datamagnet Post Reposts API?

The Datamagnet Post Reposts API lists the reposts of a post, from the post URL, as structured JSON. Each repost includes the person or company page behind it, with name, headline or follower count and profile image, and the commentary they added when sharing, if any. A page cursor walks the full list, and total gives the overall repost count.

Input
Post 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/post/reposts
  • Input: Post URL
  • Cost: 10 credits per page
POST /api/v1/post/reposts
curl -X POST \
  "https://api.datamagnet.co/api/v1/post/reposts" \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.linkedin.com/feed/update/urn:li:activity:7430615551086850048", "page": 1}'

→ 200 OK · 10 credits

{  "cursor": 2,  "message": {    "reposts": [      {        "actor": {          "name": "Sarah Williams",          "description": "Digital Consultant | SaaS Expert | AI Enthusiast",          "image": { "profile_pic": "...", "profile_urn": "ACoAABYJkyAB..." }        },        "commentary": "Great insights on professional development! ..."      },      ...    ],    "total": 21  }}

What you get

The main fields in the response. The Post Reposts reference documents every field.

FieldTypeDescription
actor.namestringName of the person or company.
actor.descriptionstringHeadline, or follower count for a company.
actor.image.profile_urnstringProfile URN, for a person.
actor.image.company_idstringCompany id, for a company page.
commentarystringText the reposter added. Absent when shared without commentary.
headerobjectOn a reshare of someone else’s content: who reposted it, with a link to their profile.
totalintegerTotal number of reposts of the post.
cursorinteger | nullNext page number. null when there are no more pages.

Use cases

Track amplification

See which people and company pages carried a launch or announcement further, and how many reposts it collected in total.

Read what sharers added

The commentary on each repost shows how people framed your post to their own audience, and which reposts carried no added text at all.

Find advocates

People and pages that reshare your posts are candidates for advocacy, partner and community programs. Each repost names them, with a profile URN or company id to match against your records.

Frequently asked questions

10 credits per successful request, and each request returns one page of reposts.

Make the first request without page. If cursor is not null, send it as page in the next request, and repeat until cursor is null.

Yes, as commentary. It is absent when the post was shared without any added text.

Yes. For a person, actor.image carries a profile_urn and actor.description is the headline. For a company page, actor.image carries a company_id and actor.description is the follower count.

List your first reposts with 10 free credits

No credit card required. Get an API key and see who shared a post in a few minutes.

  • 10 credits per page
  • Charged only on success
  • Commentary included

Interactive Demo

~15 minutes

1

Get your API key

1 min
2

POST a post URL

1 min
3

Page until cursor is null

Instant