Home · APIs · Developer data · Stack Overflow user

Stack Overflow user API

One request, one key: POST /v1/developer/stackoverflow/user. The sample below is a real response captured 20 November 2026, shortened for display (long text cut, lists cut to three items); it is not invented.

Price

1 credit a call. One call is about $0.0098 and 1,000 calls are about $9.80 at the smallest paid plan's rate.Formula A call that comes back empty is not charged.

Try it free

Runs one real call with the sample input below. No key and no sign-up; a few runs a day per visitor.

{
  "user_id": "22656"
}

What it returns

FieldTypeValue in the sample
platformstringstackoverflow
user_idstring22656
display_namestringJon Skeet
reputationnumber1530593
badgesobject{"gold":895,"silver":9325,"bronze":9364}
accept_ratenumber86
locationstringReading, United Kingdom
website_urlstringhttp://csharpindepth.com
profile_imagestringhttps://www.gravatar.com/avatar/6d8ebb117e8d83d74ea95fbdd0f87e13?s=256&d=identicon&r=PG
profile_urlstringhttps://stackoverflow.com/users/22656/jon-skeet
account_age_daysnumber6628
last_active_days_agonumber0
is_moderatorbooleanfalse
credits_usednumber1
latency_msnumber181

Sample response (20 November 2026)

{
  "platform": "stackoverflow",
  "user_id": "22656",
  "display_name": "Jon Skeet",
  "reputation": 1530593,
  "badges": {
    "gold": 895,
    "silver": 9325,
    "bronze": 9364
  },
  "answer_count": null,
  "question_count": null,
  "accept_rate": 86,
  "location": "Reading, United Kingdom",
  "website_url": "http://csharpindepth.com",
  "profile_image": "https://www.gravatar.com/avatar/6d8ebb117e8d83d74ea95fbdd0f87e13?s=256&d=identicon&r=PG",
  "profile_url": "https://stackoverflow.com/users/22656/jon-skeet",
  "account_age_days": 6628,
  "last_active_days_ago": 0,
  "is_moderator": false,
  "errors": [],
  "credits_used": 1,
  "latency_ms": 181
}

Measured on that call: 719 ms.

Code

curl -X POST https://api.foxapis.com/v1/developer/stackoverflow/user \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id":"22656"}'
import requests

r = requests.post(
    "https://api.foxapis.com/v1/developer/stackoverflow/user",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={"user_id":"22656"},
)
print(r.json())
const r = await fetch("https://api.foxapis.com/v1/developer/stackoverflow/user", {
  method: "POST",
  headers: { "Authorization": "Bearer YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({"user_id":"22656"}),
});
console.log(await r.json());

n8n (HTTP Request node: paste it into a workflow)

{
  "nodes": [
    {
      "name": "Stack Overflow user",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.foxapis.com/v1/developer/stackoverflow/user",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\"user_id\":\"22656\"}"
      }
    }
  ],
  "connections": {}
}

Assistants (Claude, ChatGPT, Cursor)

Connect the FoxAPIs server once; the tools it offers are listed on the MCP page.

claude mcp add --transport http foxapis https://foxapis.com/mcp \
  --header "Authorization: Bearer YOUR_KEY"

Errors and limits

Free to start: 100 credits, no card. Then from $10. Credits you buy never expire.

Get my free key

More from Stack Overflow: question

Same category: Developer data · all APIs

How we calculate

Data: scripts/data/endpoint-credits.json and plans.json, 2026-11-20. Every other figure on this page is copied from the record, not calculated by us.