Stack Overflow Questions Search
Pricing
from $3.40 / 1,000 question rows
Stack Overflow Questions Search
Find Stack Overflow and Stack Exchange questions by tag, keyword, or URL with the official Stack Exchange API. One row per question: title, tags, score, answers, accepted flag, views, dates, author, and link, with attribution. No login.
Pricing
from $3.40 / 1,000 question rows
Rating
0.0
(0)
Developer
Mamba Labs
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a day ago
Last modified
Categories
Features
Share
Give Stack Overflow tags, search terms, or question URLs. The actor reads the official Stack Exchange API and returns one row per public question: title, tags, score, answer count, accepted answer flag, views, asked and last activity dates, author name and profile link, an optional body text, and an attribution line that names the Stack Exchange Network. It works on Stack Overflow and on the other Stack Exchange sites, such as Server Fault and Super User. You pay this actor per question row on Apify. No login.
Features
- Questions by tag. Join up to 5 tags with
;(for examplesalesforce;apex) for questions that carry all of them. - Questions by keyword, optionally limited to questions with given tags (
within_tags). - Single questions by URL or ID. A URL from another Stack Exchange site is read from that site.
- Filters: asked on or after, asked before, with or without an accepted answer. Sort by recent activity, newest, highest score, or relevance (searches).
- Up to 2,500 questions per tag set or search term. A question an earlier query already returned is skipped and not charged.
- Every row carries the source, author, license, and link, as the Stack Exchange API Terms of Use require.
How the data is read
The actor calls the official Stack Exchange API v2.3 at api.stackexchange.com (/search/advanced and /questions/<ids>), 100 questions per call, at least 0.25 seconds apart. It waits out any backoff the API asks for. Reads need no login. The actor calls the API directly with no proxy and calls no other developer's actor.
Without a key the API allows 300 calls a day per IP address, and one call reads up to 100 questions. A run that reaches the quota or a rate limit ends with a free row that says so. Your own free Stack Apps key (api_key) raises the quota to 10,000 calls a day. The key is optional, stored encrypted by Apify, sent only to api.stackexchange.com, and never written to a row or a log. The actor never moves to another address to get past a limit.
Input
| Field | Type | Default | What it does |
|---|---|---|---|
tags | array | Stack Exchange tags, for example hubspot or google-sheets. Each line is one query; join up to 5 tags with ; (salesforce;apex) for questions that carry all of them. In Clay, put the column inside a one item list. | |
search_terms | array | Keywords to search question titles and text for, for example webhook retry. Each term is one search. One term per line. | |
question_urls | array | Question URLs or question IDs, for example https://stackoverflow.com/questions/72144044. Each returns that one question. URLs from other Stack Exchange sites use their own site. | |
site | string | stackoverflow | Stack Exchange site for tags, searches, and bare question IDs: stackoverflow (default), serverfault, superuser, askubuntu, dba, salesforce, or any site name or host such as webapps.stackexchange.com. |
within_tags | string | Optional. Limit search terms to questions with these tags, joined by ; (for example hubspot;api). | |
sort | string | activity | activity (default) lists the most recently active first; creation lists the newest first; votes lists the highest score first; relevance applies to search terms (tags use activity). |
answered | string | any | any (default); accepted keeps questions with an accepted answer; not-accepted keeps questions without one, which are the open questions. |
created_after | string | Only questions asked on or after this date, YYYY-MM-DD. | |
created_before | string | Only questions asked before this date, YYYY-MM-DD. | |
max_questions_per_query | string | At most this many questions per tag set or search term, up to 2,500 (the API's limit of 25 pages of 100). Default 100. | |
include_body | string | no | yes adds the question body as plain text, cut at 4,000 characters. Default no. |
api_key | string | Optional. Your own free Stack Apps key, from stackapps.com/apps/oauth/register. Without a key the API allows 300 requests a day per IP address (one request reads up to 100 questions); a key raises that to 10,000 a day. The key is stored encrypted by Apify, sent only to api.stackexchange.com, and never written to a row or a log. | |
max_charge_usd | string | Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. |
Output
| Field | Type | What it holds |
|---|---|---|
row_type | string | One of: question, run_summary. run_summary is the one free row written when the input is refused. |
query_type | string | tag, search, or ids: which input produced this row. |
query | string | The tag set, search term, or question IDs you gave. |
site | string | Stack Exchange site the question is on, for example stackoverflow or serverfault. |
rank | integer | Position of this question in the API's results for the query. |
question_id | integer | Stack Exchange question ID. |
title | string | Question title as plain text. |
question_url | string | The question page. |
tags | array | Tags on the question. |
score | integer | Upvotes minus downvotes. |
answer_count | integer | Number of answers. |
is_answered | boolean | True when the question has an accepted answer or an answer with a positive score. |
has_accepted_answer | boolean | True when the asker accepted an answer. |
accepted_answer_id | integer | ID of the accepted answer, empty when none. |
view_count | integer | Total views the site reports. |
created_at | string | When the question was asked, ISO 8601 UTC. |
last_activity_at | string | Last edit, answer, or comment, ISO 8601 UTC. |
last_edited_at | string | Last edit of the question, ISO 8601 UTC, empty when never edited. |
closed_at | string | When the question was closed, ISO 8601 UTC, empty when open. |
closed_reason | string | Why the question was closed, for example Duplicate, empty when open. |
author_name | string | Display name of the asker as published on the site. |
author_profile_url | string | The asker's public profile page. |
author_reputation | integer | The asker's reputation on the site. |
body_text | string | Question body as plain text, cut at 4,000 characters. Only when include_body is on. |
content_license | string | License of the question text, for example CC BY-SA 4.0. |
attribution | string | Source line naming the Stack Exchange Network, the author, the license, and the link. Keep it with the content. |
row_status | string | ok, or why this row carries no data: no_results, no_change, partial, blocked, or error. |
error_reason | string | Why the row is not ok. A refused input reads input_invalid: followed by what to fix. |
billable_events_json | string | What this row was billed as, for example {"question-row":1}. {} means free. |
scraped_at | string | When the row was written, UTC. |
Pricing
Pay per event. You pay Apify's run start event and one question-row event per question returned. Tags and searches with no question, unknown question IDs, repeats, the API quota, a rate limit, API errors, and a refused input are free rows.
| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
question-row, one question | $0.004 | $0.0038 | $0.0036 | $0.0034 |
apify-actor-start, once per run (one per GB of memory; the default 256 MB is one) | $0.004 | $0.004 | $0.004 | $0.004 |
Per 1,000 rows of question-row: $4.00 on the free plan, $3.40 on Gold.
Free plan cap: 1.50 USD of evaluation a month, about 375 rows. Any paid Apify plan removes the cap, and it resets on the 1st. The run stops before a charge that passes your maximum charge per run in Apify or your max_charge_usd input.
Mamba Labs pays the platform costs of your run, Apify proxy traffic included.
Usage examples
Open questions about your product. tags ["hubspot"], answered not-accepted, sort creation.
Questions about an integration this year. search_terms ["webhook retry"], within_tags hubspot, created_after 2026-01-01.
Top questions on a stack. tags ["salesforce;apex"], sort votes, max_questions_per_query 500.
Another Stack Exchange site. site serverfault, tags ["nginx"].
Score and answers for known questions. question_urls with one question URL per line.
Clay. Number and on or off inputs are text fields, which is what Clay sends. A list input takes a JSON list, so put the column inside a one item list.
Error handling
| Case | What you get |
|---|---|
| Missing or unreadable input | One free row, row_type run_summary, error_reason starting input_invalid: with what to fix. The run ends successfully and charges nothing but the run start |
| A tag or search with no question | One free row, row_status no_results, error_reason starting not_found: |
| A question ID that does not exist or was deleted | One free row per ID, error_reason starting not_found:. The next query still runs |
| Every question was already returned by an earlier query | One free row, error_reason starting repeats_only: |
| An unknown site or a parameter the API refuses | One free row, row_status error, error_reason starting query_invalid: with the API's message |
| The API quota, a rate limit, or a key the API does not accept | One free row, row_status blocked. The run stops |
| The first 3 queries all find nothing | One free row starting miss_stop:; the run stops so a list of wrong tags costs only the start |
| The run is close to its timeout | The actor stops starting new work 90 seconds before the timeout and delivers what it has |
Limitations
- The API returns at most 25 pages of 100 per query, so 2,500 questions per tag set or search term. Use date filters or several queries to reach further.
- The date and accepted answer filters apply to tags and searches, not to question URLs.
- Question volume varies widely by tag. On 2026-11-30 the
hubspottag's most recent activity was 2025-12-14, whilepythonhad questions from the same day. A quiet tag returns old questions or a freenot_foundrow. - Questions only. No answers, no comments, and no votes by user.
author_name,author_profile_url, andauthor_reputationare what the site publishes for the asker; no other contact data is read. A deleted user has no name or link.- Question text is licensed under CC BY-SA by its authors. Keep the
attributionline with any content you show or republish. - Stack Exchange's API Terms of Use allow API reads and require attribution to the Stack Exchange Network. Its Acceptable Use Policy bars automated collection used to build a similar or competing site, product, or service, or to develop, build, train, test, index, benchmark, or improve any generative AI or machine learning model, and collection at a volume that harms the network. Your use of the data falls under Stack Exchange's terms.
Mamba Labs actor suite
Built by Mamba Labs.