/v1/question
A question by id
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/stackexchange-api/v1/question" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stackexchange-api/v1/question", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stackexchange-api/v1/question");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/stackexchange-api/v1/question",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"id": 11227809,
"link": "https://stackoverflow.com/questions/11227809/why-is-conditional-processing-of-a-sorted-array-faster-than-of-an-unsorted-array",
"tags": [
"java",
"c++",
"performance",
"cpu-architecture",
"branch-prediction"
],
"owner": "GManNickG",
"score": 27530,
"title": "Why is conditional processing of a sorted array faster than of an unsorted array?",
"created_at": "2012-06-27T13:51:36.000Z",
"view_count": 1985304,
"is_answered": true,
"answer_count": 26,
"last_activity_at": "2026-04-08T05:35:32.000Z",
"accepted_answer_id": 11227902
},
"meta": {
"timestamp": "2026-05-30T06:33:29.921Z",
"request_id": "17f03b07-c69f-4aed-8065-159a7ff98e4d"
},
"status": "ok",
"message": "Question retrieved",
"success": true
}