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
| Field | Type | Value in the sample |
|---|---|---|
platform | string | stackoverflow |
user_id | string | 22656 |
display_name | string | Jon Skeet |
reputation | number | 1530593 |
badges | object | {"gold":895,"silver":9325,"bronze":9364} |
accept_rate | number | 86 |
location | string | Reading, United Kingdom |
website_url | string | http://csharpindepth.com |
profile_image | string | https://www.gravatar.com/avatar/6d8ebb117e8d83d74ea95fbdd0f87e13?s=256&d=identicon&r=PG |
profile_url | string | https://stackoverflow.com/users/22656/jon-skeet |
account_age_days | number | 6628 |
last_active_days_ago | number | 0 |
is_moderator | boolean | false |
credits_used | number | 1 |
latency_ms | number | 181 |
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"}'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
- 401: the key is missing or wrong.
- 402: out of credits; top up on the pricing page.
- 422: the input does not match; the answer names the field.
- 429: too many calls too fast; wait a moment and try again.
- 503: the source did not answer; nothing is charged. Live state: status.
Free to start: 100 credits, no card. Then from $10. Credits you buy never expire.
Get my free keyMore from Stack Overflow: question
Same category: Developer data · all APIs
How we calculate
- Price of one call and of 1,000 calls: The credits per call times the smallest paid plan's price per credit (its monthly price divided by its monthly credits), times 1,000 for the larger figure.
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.