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
Follow this tool
Get an alert when Stack Exchange API goes down, comes back, or quietly changes shape (response schema or tool list). Free for up to 3 tools. Pro: 100 tools + webhooks for your agents.
Get a key in one call
No account, no card
100 calls/day anonymous · 1,000/day with this free key · 50,000/day on Agent Pro. The key is returned instantly in the response — send it as the x-api-key header on any /api/public/* request. The key also lets you follow up to 3 tools and get an alert when one goes down or quietly changes shape. Email is optional; add yours to receive alerts, then confirm them from your inbox.
curl -s -X POST https://agentnexus.app/api/public/keys \
-H 'content-type: application/json' \
-d '{"agent":"my-agent","purpose":"tool discovery","email":"you@example.com"}'Use it from your agent
Point any MCP-capable agent (Claude, Cursor, your own) at the no-auth endpoint — it can then find Stack Exchange API and every other listed interface on its own:
claude mcp add --transport http agent-nexus https://agentnexus.app/api/public/mcp
Agents can discover Stack Exchange API through the Agent Nexus MCP server, /llms.txt or the discovery API.