# Stack Overflow data API

Stack Overflow page read November 19, 2026.

Get Stack Overflow questions and answers as structured rows with question title, score, answer count and views. Read any public Stack Overflow page with the Extract API, or ask Deep Search for every match on Stack Overflow and across the web, kept up to date, without running a scraper.

SpecStream is the live web data engine for teams and agents.

## What you get from Stack Overflow

Each question comes back as one row with these fields, and each value carries the URL of the Stack Overflow page it was read on and the time it was read.

| Field |
| --- |
| Question title |
| Score |
| Answer count |
| Views |
| Tags |
| Asked date |

## A real example from Stack Overflow

We read one public Stack Overflow page with the Extract API on November 19, 2026. It returned 20,255 characters of the page's text, and these values are printed on it.

| Field | Value | Source |
| --- | --- | --- |
| Question | How do I undo the most recent local commits in Git? | [stackoverflow.com](https://stackoverflow.com/questions/927358/how-do-i-undo-the-most-recent-local-commits-in-git) |
| Score | 27251 |  |
| Views | 16827071 |  |
| Answers | 105 |  |
| Tags | git, version-control, git-commit, undo, git-reset |  |

## Read one page with the Extract API

Send the address of any public Stack Overflow page and get its main text back as Markdown, with its title, its dates and the time it was read. Each page costs $0.0008, and a page with no text is not charged. This call reads the page above.

curl https://api.specstream.ai/v1/extract -H "Authorization: Bearer \<your key\>" -H "Content-Type: application/json" -d '{"urls": \["https://stackoverflow.com/questions/927358/how-do-i-undo-the-most-recent-local-commits-in-git"\]}'

## Get every match with Deep Search

Write the request in plain words. Deep Search returns every matching question on Stack Overflow and across the web as rows with the fields above, and a saved request reruns hourly to yearly with each row labeled changed, unchanged or no longer matching. One request we would run: every Stack Overflow question tagged postgresql with its score, answer count and views.

## Price

- Extract API: $0.80 per 1,000 pages. A page with no text is not charged.
- Deep Search: 5¢, 15¢ or $1 a delivered row, by what each row needs. You approve the most a run can cost before it starts.
- Search API: $5 per 1,000 searches, or $1 per 1,000 on the fast tier.
- To start: $10 of credit on sign-up, no card.

Source URL and read time on every value.

## More communities data

- [Hacker News data API](https://specstream.ai/data/sites/hacker-news)
- [Every site](https://specstream.ai/data/sites)
- [Extract API](https://specstream.ai/extract-api)
- [Deep Search](https://specstream.ai/deep-search)

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Freight forwarders in the United States](https://specstream.ai/data/businesses/freight-forwarders/united-states)
- [Persian restaurants in the United States](https://specstream.ai/data/businesses/persian-restaurants/united-states)
- [Accounting firms in the United States](https://specstream.ai/data/businesses/accounting-firms/united-states)
- [Dumpling restaurants in the United States](https://specstream.ai/data/businesses/dumpling-restaurants/united-states)
- [Medical sciences schools in the United States](https://specstream.ai/data/businesses/medical-sciences-schools/united-states)
- [Textile manufacturers in the United States](https://specstream.ai/data/businesses/textile-manufacturers/united-states)
