> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/platforms/stack-overflow/users-batch>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/stack-overflow/users-batch.mdx>

---

# Stack Overflow Users Batch API

Up to 100 user ids per request, one profile per distinct id, in the order you sent them.

`GET /v1/stack-overflow/users/batch?ids=22656,1` answers one entry for every distinct id, in the order first asked. Each entry has `id`, its own `lookupStatus` and `user`, which is null for a miss. A mix of existing and missing ids is a normal 200 response.

The batch charges 1 credit per distinct user id, including an id that does not exist, and repeats are dropped before billing. `-1` is the Community user and is accepted. For one id, the single user route returns the same profile shape.

## Request

- **Endpoint:** `GET /v1/stack-overflow/users/batch`
- **Credits:** 1 credit per user id
Up to 100 ids per request
Max 100 credits
An id that is not a user is still charged
Failed requests are free
- **Input:** by user ids
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/stack-overflow/users/batch/get)
- **Platform page:** [/platforms/stack-overflow](https://www.socialfetch.dev/platforms/stack-overflow)

## FAQ

### How many user ids can one call take?

1 to 100 ids, comma-separated. Duplicates are dropped before the request and before billing.

### How is the batch billed?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.

### Does the order of entries match the ids?

Yes. data.users has one entry per distinct requested id in the order first asked, and each entry repeats its id.

### What happens when one id is missing?

Its entry has lookupStatus not_found and user null, while the rest carry their profiles. The response stays HTTP 200.
