> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/platforms/stack-overflow/posts-postid-timeline>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/stack-overflow/posts-postid-timeline.mdx>

---

# Stack Overflow Post Timeline API

One chronological record of answers, comments, edits, reviews, votes and locks on a question or answer.

`GET /v1/stack-overflow/posts/{postId}/timeline` returns what happened to a post. Each event has `id`, `type`, `at`, `action`, `actor` with `id`, `name` and `url`, `license`, `detail`, `linkedPostId` and `isDeleted`. `type` is `answer`, `comment`, `history` (an edit, a close or a lock), `review`, `vote` (an accept or a bounty) or `other`.

Review events can share an `id`, so `id` is not unique within a response; use `type`, `at`, `action` and `actor` to tell those events apart. The result also carries the question `title` and the post's current `license`. Use `types` to keep only some kinds, for example `types=history,vote`. A comment event can have no user id; the actor is then the name and the profile link. A missing post is `not_found`.

## Request

- **Endpoint:** `GET /v1/stack-overflow/posts/{postId}/timeline`
- **Credits:** 1 credit
Failed requests are free
- **Input:** by post id
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/stack-overflow/posts/postid/timeline/get)
- **Platform page:** [/platforms/stack-overflow](https://www.socialfetch.dev/platforms/stack-overflow)

## FAQ

### What is in a timeline that a revision list does not have?

The timeline also records answers, comments, reviews, accepts and bounties, not only edits. Each event carries its type, actor and a detail line.

### How many credits does a timeline page cost?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth. Each paginated page is a separate billed request.

### Can I filter the events?

Yes. types takes a comma-separated subset of answer, comment, history, review, vote and other. The default is every kind.

### Why does a comment event have no actor id?

Some comment rows have no user id. The actor then has the name and the profile URL and id is null.
