Use cases / Stack Overflow

Stack Overflow user data API

A Stack Overflow profile is a public record of what a developer has been answering and how other developers rated it. Reputation and badge counts are no hiring verdict, but they are a quick, dated signal, and developer-relations teams use the same record to understand who is active around a technology.

What the official Stack Overflow interface gives, and where it stops

The Stack Exchange API is free and covers every site in the network. Its throttle page describes a daily quota tied to your application key, a shared quota by IP address without a token, and a hard cut-off for a single address sending more than thirty requests a second. If you already manage a key and backoff, it gives you far more than a profile.

What the FoxAPIs endpoint adds

Here you send the numeric user ID and get the profile as one object: display name, reputation, gold, silver and bronze badge counts, accept rate, the location and website the user published, and the profile image address. You do not register an application, track a shared quota or write backoff handling for a throttle. Some counts come back empty, as the answer and question counts do in the sample, so check each field before you show it. It does not list a user's answers, search by name or read other Stack Exchange sites.

Use it to enrich a profile link that a person gave you themselves, for instance in a community application form. Reputation reflects activity on one site and says nothing about work done elsewhere, so it should never be the only thing a decision about a person rests on, and this data is not for employment screening.

POST /v1/developer/stackoverflow/user costs 5 credits for a successful call; an answer with no data is not charged. Plans and top-ups are on the pricing page. Endpoint page · Get a key

A real response

Captured 22 November 2026 from a live call, shortened here: long text and long lists are cut, and contact details and lists of people are left out.

{
  "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_url": "https://stackoverflow.com/users/22656/jon-skeet",
  "account_age_days": 6630,
  "last_active_days_ago": 0,
  "is_moderator": false,
  "errors": []
}

The call in curl, JavaScript and Python

curl

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

JavaScript

const res = await fetch("https://api.foxapis.com/v1/developer/stackoverflow/user", {
  method: "POST",
  headers: { Authorization: "Bearer " + process.env.FOXAPIS_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({"user_id":"22656"}),
});
if (!res.ok) throw new Error("HTTP " + res.status);
console.log(await res.json());

Python

import os, requests

res = requests.post(
    "https://api.foxapis.com/v1/developer/stackoverflow/user",
    headers={"Authorization": "Bearer " + os.environ["FOXAPIS_KEY"]},
    json={"user_id":"22656"},
    timeout=60,
)
res.raise_for_status()
print(res.json())

Questions people ask about the stack exchange api

What is the Stack Exchange API rate limit?

Its throttle page describes a per-address cut-off for very fast senders and a daily quota, by default 10,000, that depends on the application key. Without a token, applications on one IP address share a quota.

Do I need a Stack Exchange API key?

Not for this endpoint. With the official API a key raises your quota.

Can I find a user by name?

No. You need the numeric ID, which is part of the profile address.

Is this suitable for screening job candidates?

No. These answers are not a consumer report and must not decide employment.

Related

Stack Overflow is a name of its owner. FoxAPIs is not affiliated with or endorsed by Stack Overflow. You are responsible for using the data within the source's terms.

Run this free, then pay per call

Start with 10,000 credits, no card. They arrive once you confirm your email and expire 90 days after they are added; credits you buy never expire. Start with 10,000 credits

5 credits a call: $3.98 per 1,000 calls on Production, $4.90 on Builder.

Run this freeBuy credits

Building an AI agent? See the MCP server