Developer
Stack Overflow search API
Search Stack Overflow Q&A (Stack Exchange API) by query and optional tag, with score and whether the question is answered/accepted. For coding agents. Answers 'Stack Overflow answers for X', 'how do people solve Y', 'top SO question about Z'.
Price$0.01per request
MethodPOST
Route/v1/dev/stackoverflow
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache600s public
devstackoverflowstack-exchangecodingqaprogrammingsearchanswers
API URL
Integration docshttps://x402.hexl.dev/v1/dev/stackoverflowExample request
{
"query": "async await deadlock",
"tag": "node.js",
"limit": 1
}Example response
{
"query": "async await deadlock",
"quotaRemaining": 290,
"results": [
{
"title": "Avoiding deadlocks with async/await",
"link": "https://stackoverflow.com/q/123",
"score": 412,
"answers": 6,
"answered": true,
"hasAcceptedAnswer": true,
"tags": [
"javascript",
"async-await"
],
"createdAt": "2018-01-01T00:00:00.000Z"
}
]
}Input schema
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"examples": [
"async await deadlock"
]
},
"tag": {
"type": "string",
"examples": [
"node.js"
]
},
"limit": {
"type": "number",
"default": 10
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}