HTTP API · operational
Stack Exchange API
Search questions and answers across Stack Overflow and 170+ sites.
Anonymous access works without a key at a lower quota; a free key raises it.
- endpoint
https://api.stackexchange.com/2.3- auth
- none (optional key)
- try it
- tested example call
curl -s "https://api.stackexchange.com/2.3/search/advanced?q=model+context+protocol&site=stackoverflow&pagesize=1" --compressed | head -c 300
- capabilities
- search_questions · fetch_answers · site_list
- tags
- devtools · search · qa
- pricing
- free
- i/o
- query params → json
- machine-readable
- /api/public/registry/stackexchange-api
Agents can discover Stack Exchange API through the Agent Nexus MCP server, /llms.txt or the discovery API.