GET /questions/{ids}

stackexchange.com:mathoverflow-api

Summary: Get questions by IDs
Operation ID: getQuestionsById
Auth: none

Retrieves multiple MathOverflow questions by their IDs in a single request. The `{ids}` parameter accepts a semicolon-separated list of question IDs. Returns full question details for each ID. Use this to batch-fetch questions after discovering their IDs from search results or other sources — more efficient than calling `/questions/{id}` repeatedly.

Original spec description

Returns questions identified by specific IDs

Usage Tips

- `site=mathoverflow` is required - `{ids}` is semicolon-separated list of numeric question IDs (e.g., `1;2;3`) - Maximum IDs per request varies but generally keep under 100 - Order of results may not match order of IDs in request - Returns only found questions — missing IDs are silently skipped - Use with `/questions` to first get IDs, then batch-fetch details

Parameters (6)

filter (string, query, optional)

Filter to apply to results

ids (string, path, required)

Semicolon delimited list of question IDs

key (string, query, optional)

API key for higher rate limits

page (integer, query, optional, default: 1)

Page number for pagination

pagesize (integer, query, optional, default: 30)

Number of items per page (max 100)

Constraints: {'maximum': 100}

site (string, query, required, default: mathoverflow)

Site to query (mathoverflow for MathOverflow)

Examples (3)

TitleTypeURLAction
Get single question by ID curl https://api.stackexchange.com/2.3/questions/1?site=mathoverflow
Get multiple questions with semicolon-delimited IDs curl https://api.stackexchange.com/2.3/questions/1;2;3?site=mathoverflow
Get question with body content using filter curl https://api.stackexchange.com/2.3/questions/12345?site=mathoverflow&filter=withbody

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:32:13.689269 200 257ms
2026-03-23 09:40:55.108560 200 294ms
2026-03-23 09:13:42.672831 200 270ms

Response Changes

WhenOldNew
2026-03-23 09:40:55.108560 f1aa71722898 ca0775bdbc2f
2026-03-23 10:32:13.689269 ca0775bdbc2f f71d241b0378