Vai al contenuto
GET /v1/questions

Typed question lists without a search term

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/stackexchange-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/stackexchange-api/v1/questions" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stackexchange-api/v1/questions", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stackexchange-api/v1/questions");
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/questions",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "tag": "python",
        "site": "stackoverflow",
        "sort": "hot",
        "count": 20,
        "results": [
            {
                "id": 79958531,
                "link": "https://stackoverflow.com/questions/79958531/how-to-read-headers-set-by-wsgi-start-response",
                "tags": [
                    "python",
                    "wsgi",
                    "wsgiref",
                    "wsgiserver"
                ],
                "owner": "NickC",
                "score": -1,
                "title": "How to read headers set by WSGI start_response",
                "created_at": "2026-06-13T14:04:06.000Z",
                "view_count": 17,
                "is_answered": true,
                "answer_count": 1,
                "last_activity_at": "2026-06-13T14:20:47.000Z",
                "accepted_answer_id": 79958535
            },
            {
                "id": 79958517,
                "link": "https://stackoverflow.com/questions/79958517/fastapi-returns-422-unprocessable-entity-on-post-from-next-js-fetch-despite-matc",
                "tags": [
                    "python",
                    "next.js",
                    "http-post",
                    "fastapi",
                    "pydantic"
                ],
                "owner": "Debanshu Paul",
                "score": -1,
                "title": "FastAPI returns 422 Unprocessable Entity on POST from Next.js fetch despite matching Pydantic model",
                "created_at": "2026-06-13T13:23:27.000Z",
                "view_count": 19,
                "is_answered": false,
                "answer_count": 1,
                "last_activity_at": "2026-06-13T13:26:32.000Z",
                "accepted_answer_id": null
            },
            {
                "id": 79958459,
                "link": "https://stackoverflow.com/questions/79958459/how-does-python-handle-floating-point-numbers-when-the-round-function-is-also-in",
                "tags": [
                    "python",
                    "python-idle"
                ],
                "owner": "Nimish",
                "score": 0,
                "title": "How does Python handle floating point numbers when the round function is also involved?",
                "created_at": "2026-06-13T09:58:35.000Z",
                "view_count": 68,
                "is_answered": true,
                "answer_count": 3,
                "last_activity_at": "2026-06-13T11:21:08.000Z",
                "accepted_answer_id": null
            },
            {
                "id": 79958384,
                "link": "https://stackoverflow.com/questions/79958384/is-it-better-for-users-to-get-raw-information-or-the-tidied-up-information-from",
                "tags": [
                    "python"
                ],
                "owner": "Ellan Aqira",
                "score": 0,
                "title": "Is it better for users to get raw information or the tidied up information f
…