# Stack Overflow Q&A Search via api.kadec0.xyz

> Stack Overflow Q&A Search via api.kadec0.xyz is a paid API for AI agents from api.kadec0.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Searches Stack Overflow questions and answers using the Stack Exchange API, returning scored Q&A pairs with accepted-answer flags, tags, and full answer bodies.

## Facts

- Endpoint: GET https://api.kadec0.xyz/v1/stackoverflow
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stack-overflow-q-a-search-via-api-kadec0-xyz-8b8d48f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0UEQqv5V5VImksyCnMeDx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stack-overflow-q-a-search-via-api-kadec0-xyz-8b8d48f2
```

Example prompt: Search Stack Overflow for the top 10 questions and answers about 'Python asyncio event loop already running', filtering by the 'python' tag, and show me the accepted answers with their scores.

## When to prefer this

Use this endpoint when an agent needs to retrieve real Stack Overflow programming Q&A content — especially when you want scores, accepted-answer status, tags, and full answer bodies. Prefer this over generic web search when you specifically want structured Stack Exchange data with quality signals like vote scores and acceptance flags.

## Known failure modes

- No results found for the given query or tag combination
- Invalid question IDs provided for mode=question
- Stack Exchange API rate limit exceeded
- Malformed query parameters returning 400 error
- Empty result set when tag filter is too restrictive

## How this service works

Stack Overflow Q&A. Programming question and answer search with scores, accepted-answer flags, tags, and answer bodies via the Stack Exchange API.

## Output

Returns a list of Stack Overflow questions with their associated answers, including scores, accepted-answer flags, tags, and full answer body text — sourced from the Stack Exchange API.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "anyOf": [
      {
       "required": [
        "q"
       ]
      },
      {
       "required": [
        "ids"
       ]
      }
     ],
     "required": [],
     "properties": {
      "q": {
       "type": "string"
      },
      "ids": {
       "type": "string",
       "description": "comma list of question ids (mode=question)"
      },
      "tag": {
       "type": "string",
       "description": "optional tag filter"
      },
      "mode": {
       "enum": [
        "search",
        "question"
       ],
       "type": "string"
      },
      "maxItems": {
       "type": "string",
       "default": "20"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stack-overflow-q-a-search-via-api-kadec0-xyz-8b8d48f2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.kadec0.xyz](https://www.zero.xyz/host/api.kadec0.xyz/llms.txt)
