Stack Overflow Questions API
Questions from Stack Overflow or another Stack Exchange site, found by search words and tags: title, tags, score, answers, views, accepted answer, dates and the link to the question.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from api.stackexchange.com
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/stack-overflow-questions/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"search":"connection pool"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
12 fields: 10 here, 2 technical ones under Technical details.
Basics
- Title
Title of the question.
Example Why is an UPDATE by primary key slow when the GIN-indexed array is unchanged?
- Tags
Tags on the question.
Example postgresql, query-optimization
- Score
Votes up minus votes down.
Example 4
- Answer count
Number of answers.
Example 0
- View count
Number of views.
Example 85
- Answered
Whether the question has an accepted or upvoted answer.
Example No
- Site
The Stack Exchange site searched.
Example stackoverflow
Dates
- Created
When the question was asked (UTC).
Example Dec 2, 2026
- Last activity at
Last edit, answer or comment on it (UTC).
Example Dec 2, 2026
Links
- Link
Link to the question.
Technical detailsField names and types for developers, and the 2 fields hidden above
Hidden by default
These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.
- Question ID
question_idThe site's own id of the question. - Accepted answer ID
accepted_answer_idId of the accepted answer, when the asker accepted one.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
question_id | number | Question ID (hidden) | 3 of 3 |
title | text | Title | 3 of 3 |
tags | list | Tags | 3 of 3 |
score | number | Score | 3 of 3 |
answer_count | number | Answer count | 3 of 3 |
view_count | number | View count | 3 of 3 |
is_answered | yes or no | Answered | 3 of 3 |
accepted_answer_id | number | Accepted answer ID (hidden) | 1 of 3 |
created_at | date and time | Created | 3 of 3 |
last_activity_at | date and time | Last activity at | 3 of 3 |
link | link | Link | 3 of 3 |
site | text | Site | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Title | Tags | Score | Answer count | View count | Answered | Site | Created | Last activity at | Link |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Why is an UPDATE by primary key slow when the GIN-indexed array is unchanged? | postgresql, query-optimization, polardb | 4 | 0 | 85 | No | stackoverflow | Dec 2, 2026 | Dec 2, 2026 | stackoverflow.com/questions/80019836/why-is-an-update-by-primary-key-slow-when-the-gin-indexed-array-is-unchanged |
| 2 | Why does the ST_MakeLine() function produce an unexpected result when constructing sparse hexagonal grids? | postgresql, postgis | 3 | 1 | 123 | Yes | stackoverflow | Nov 29, 2026 | Nov 30, 2026 | stackoverflow.com/questions/80019327/why-does-the-st-makeline-function-produce-an-unexpected-result-when-constructi |
| 3 | Postgres connection refused after moving config to docker-compose — works locally | postgresql, docker, docker-compose | -3 | 0 | 89 | No | stackoverflow | Nov 27, 2026 | Nov 27, 2026 | stackoverflow.com/questions/80019033/postgres-connection-refused-after-moving-config-to-docker-compose-works-locall |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- One run returns at most 1,000 questions, read 100 at a time.
- The source allows 300 requests a day for each address without a key, shared by every run on our side, so heavy use can be refused until the next day; a run then ends early with the questions read so far.
- Only question metadata is returned, not the question or answer text; open the link for the full thread.
- Questions that were moved to another site can appear with their original title and link.
- answered_only keeps questions with at least one answer; accepted_answer_id is filled only when the asker accepted one.
- Scores, views and answer counts are as of the moment of the run.
- Content on Stack Exchange sites is licensed CC BY-SA: credit Stack Overflow (or the site) and link back to the question.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.