Home · Free APIs · Stack Overflow questions

Stack Overflow question data API, free to test

Test it now, no key


When a support article or an incident report links to a Stack Overflow question, it helps to know how much attention that question has had and when it last changed. Send the question's address in the box above to get its title, body text, author and public figures.

The official free source: the Stack Exchange API

Their page says: “the max of the daily request limit for the applications involved, which by default is 10,000”

Stack Exchange offers its own free API with a daily quota per application, and asks clients to wait when it tells them to back off. Open the official source (read 22 November 2026).

When the official source is the better choice

Choose the official API if you want the answers themselves with their scores, tag searches, comment threads or many questions per request. It does all of that free within its quota, and it returns far more structure than a summary of one page.

When this call is useful

This call fits a pipeline that already handles links from several developer sites and wants one record shape per link, without keeping a separate application key and backoff logic for each of them.

What comes back, and what to check

The saved answer, for a long-standing and heavily viewed question, returns the address, the question text, its title, the author's name and profile address, the original publish time and its numeric timestamp, the last modified time, a source note naming the Stack Exchange API, the score under likes, the comment count and the view count. Followers, shares, reposts and saves are empty because the site has no such things. Note that likes here means the question's vote score, which can be negative. The modified time can reflect a small edit made years after the question was asked, so it does not show the answers are current.

What people do with Stack Overflow questions

Questions

Do I get the accepted answer?

Not from this call. It describes the question.

Is likes the same as votes?

In this answer likes holds the question's score, which is up votes minus down votes.

May I republish the question text?

Stack Exchange content has its own licence and attribution rules. Read them before showing the text on your own pages, and link to the source.

What “free” means here

Get a free key · Pricing

A real saved answer

Taken 22 November 2026 with long text and long lists shortened, and people lists and abstracts left out.

Show the answer
{
 "url": "https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-processing-an-unsorted-array",
 "platform": "stackoverflow",
 "extracted_at": "2026-11-22T01:33:04.894836+00:00",
 "text": "In this C++ code, sorting the data (before the timed region) makes the primary loop ~6x faster:\n#include <algorithm>\n#include <ctime>\n#include <iostream>\n\nint main()\n{\n    // Generate data\n    const unsigned arraySize...",
 "title": "Why is conditional processing of a sorted array faster than of an unsorted array?",
 "description": null,
 "author_name": "GManNickG",
 "author_handle": null,
 "author_url": "https://stackoverflow.com/users/87234/gmannickg",
 "author_avatar": null,
 "author_followers": null,
 "author_verified": null,
 "published_at": "2012-06-27T13:51:36+00:00",
 "published_at_unix": 1340805096,
 "modified_at": "2026-09-04T02:36:50+00:00",
 "date_source": "stackexchange_api",
 "likes": 27549,
 "comments_count": 25,
 "shares": null,
 "views": 2039978,
 "reposts": null,
 "saves": null
}

Code

curl

curl -X POST https://api.foxapis.com/v1/developer/stackoverflow/question \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-processing-an-unsorted-array"}'

JavaScript

const res = await fetch("https://api.foxapis.com/v1/developer/stackoverflow/question", {
  method: "POST",
  headers: { Authorization: "Bearer YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({"url":"https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-processing-an-unsorted-array"}),
});
console.log(await res.json());

Python

import requests

res = requests.post(
    "https://api.foxapis.com/v1/developer/stackoverflow/question",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={"url":"https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-processing-an-unsorted-array"},
    timeout=60,
)
print(res.json())

The endpoint page

More free API pages

Stack Overflow user reputation API, free to test · Twitch channel data API, free to test · Free WARN layoff notices API · Free 13D and 13G ownership API · Free bioRxiv preprints API · All of them

Other names belong to their owners. FoxAPIs is not affiliated with or endorsed by them.