Search Stack Overflow questions and accepted answers
stackoverflowStack Overflow questions matching words, optionally by tags and accepted status: title, score, answer count, accepted flag, tags and link. With answers=1 the accepted answer's first 600 characters are included. Content is CC BY-SA 4.0 (attribution per item). Stack Exchange API 2.3. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "stackoverflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search words | |
| limit | No | 1 to 20 (default 5) | |
| tagged | No | Tags separated by commas, e.g. rust,tokio | |
| answers | No | 1 to include the accepted answer's text | |
| accepted | No | true to keep only questions with an accepted answer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| source | No | ||
| checkedAt | No | ||
| questions | No |