> **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/questions>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/stack-overflow/questions.mdx>

---

# Stack Overflow Questions API

A page of questions sorted by creation, votes, activity or hot, filtered by tag or date.

`GET /v1/stack-overflow/questions` returns up to 100 questions per page. Each row has `id`, `url`, `title`, `tags`, `score`, `votes.up` and `votes.down`, `viewCount`, `answerCount`, `commentCount`, `favoriteCount`, `isAnswered`, `acceptedAnswerId` and the creation, activity and edit times.

Add `include=body` for `bodyHtml` and `bodyMarkdown`; with it, `limit` is at most 25. Sort by `creation` to page without a ceiling. `votes`, `activity`, `hot`, `week` and `month` return up to 2,500 rows per list (625 with `include=body`), then stop and set `limitReached` to true. Rows with equal scores can repeat or skip on those sorts. `tagged` takes up to five tags and keeps only questions that carry all of them. `hot`, `week` and `month` take no date range, `unanswered`, `relatedTo` or `linkedTo`.

## Request

- **Endpoint:** `GET /v1/stack-overflow/questions`
- **Credits:** 1 credit
Failed requests are free
- **Input:** by tag or time
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/stack-overflow/questions/get)
- **Platform page:** [/platforms/stack-overflow](https://www.socialfetch.dev/platforms/stack-overflow)

## FAQ

### How do I get the next page?

Read page.hasMore and send page.nextCursor back as cursor, with the same filters. A cursor is tied to the filters it was issued for; change a filter and start again without one.

### How many credits does a 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.

### How do I list questions under one tag?

Set tagged to the tag name, for example tagged=python. Several tags are comma-separated and a question must carry all of them. Combine it with sort and a creation date range.

### Why did a list stop at 2,500 rows?

Lists sorted by anything other than creation stop at 2,500 rows (625 with include=body). limitReached is true when that happened. Switch to sort=creation and page with the cursor to go deeper. Rows with equal scores can repeat or skip on the other sorts.
