Stack Overflow Tag Stats API
Question counts for Stack Overflow tags, or tags on any other Stack Exchange site: the most popular tags or the ones you name, each with its tag page, synonyms, Collective, last activity and optionally the tags asked about most often alongside it.
$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/docs/tags
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-tag-stats/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"tags":["postgresql","mongodb"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
10 fields.
Basics
- Tag
Name of the tag, such as postgresql.
Example postgresql
- Site
The Stack Exchange site the counts are from, such as stackoverflow.
Example stackoverflow
- Question count
Number of questions on the site that carry this tag.
Example 178,795
- Has synonyms
Yes when other tag names lead to this tag.
Example Yes
- Synonyms
Other tag names that lead to this tag, such as postgres for postgresql.
Example postgres, pgsql
- Collectives
Names of the Stack Overflow Collectives (company or community spaces) the tag belongs to, such as AWS or Google Cloud.
Example AWS
- Related tags
Up to 10 tags used most often together with this tag, the most frequent first (with include_related).
Example sql, python
Dates
- Last activity at
When a question with this tag last had activity (UTC).
Example Dec 2, 2026
- Captured
When this count was read (UTC); compare runs to see growth.
Example Dec 6, 2026
Links
- Link
The tag's page of questions on the site.
Technical detailsField names and types for developers
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 |
|---|---|---|---|
tag | text | Tag | 3 of 3 |
site | text | Site | 3 of 3 |
url | link | Link | 3 of 3 |
question_count | number | Question count | 3 of 3 |
has_synonyms | yes or no | Has synonyms | 3 of 3 |
synonyms | list | Synonyms | 3 of 3 |
collectives | list | Collectives | 1 of 3 |
related_tags | list | Related tags | 3 of 3 |
last_activity_at | date and time | Last activity at | 3 of 3 |
captured_at | date and time | Captured | 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 | Tag | Site | Question count | Has synonyms | Synonyms | Collectives | Related tags | Last activity at | Captured | Link |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | postgresql | stackoverflow | 178,795 | Yes | postgres, pgsql, sql-postgres, azure-database-postgresql | — | sql, python, database, ruby-on-rails | Dec 2, 2026 | Dec 6, 2026 | stackoverflow.com/questions/tagged/postgresql |
| 2 | mongodb | stackoverflow | 175,154 | Yes | mongo, mongod | — | node.js, mongoose, javascript, mongodb-query | Nov 12, 2026 | Dec 6, 2026 | stackoverflow.com/questions/tagged/mongodb |
| 3 | amazon-web-services | stackoverflow | 158,594 | Yes | aws | AWS | amazon-s3, amazon-ec2, aws-lambda, python | Dec 4, 2026 | Dec 6, 2026 | stackoverflow.com/questions/tagged/amazon-web-services |
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.
- Stack Exchange allows about 300 requests a day per connection without a key, shared with every other Stack Exchange data request from it. One request reads up to 100 tags; related_tags costs one more request per tag.
- related_tags is filled for the first 30 tags of a run only, and only when include_related is on. It holds up to 10 tags, the ones most often used together with this tag first.
- Without tags, a run reads the site's tag list in the order chosen in sort, up to 2,500 tags (25 pages of 100).
- A synonym you ask for, such as golang, returns its main tag (go). Tags that do not exist on the site are left out.
- question_count is the all-time total of questions carrying the tag, as the Stack Exchange API reports it, not the questions asked in a period. Run it on a schedule and compare captured_at to see growth.
- Tag data is published by Stack Exchange under CC BY-SA 4.0: credit Stack Overflow (or the site used) when you publish it.
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.