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
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.
| Field | Type | Description |
|---|---|---|
actor.name | string | Name of the person or company. |
actor.description | string | Headline, or follower count for a company. |
actor.image.profile_urn | string | Profile URN, for a person. |
actor.image.company_id | string | Company id, for a company page. |
commentary | string | Text the reposter added. Absent when shared without commentary. |
header | object | On a reshare of someone else’s content: who reposted it, with a link to their profile. |
total | integer | Total number of reposts of the post. |
cursor | integer | null | Next 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
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
Get your API key
1 minPOST a post URL
1 minPage until cursor is null
Instant