# Scout DX Stack Overflow Search

> Scout DX Stack Overflow Search is a paid API for AI agents from scout-dx.hugen.tokyo, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Searches Stack Overflow for relevant answers and posts based on a query, returning developer Q&A content and insights.

## Facts

- Endpoint: GET https://scout-dx.hugen.tokyo/scout/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/scout-dx-hugen-tokyo-0ae34785
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GEAhhO4tBBt2x1l0wIYw-

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 scout-dx-hugen-tokyo-0ae34785
```

Example prompt: Search Stack Overflow for answers about how to handle asyncio event loop errors in Python — I need the most relevant posts and accepted answers.

## When to prefer this

Choose this endpoint when you need to programmatically search Stack Overflow for developer Q&A content, especially in an agent workflow that requires on-demand technical answers. Prefer this over a general web search when the user specifically wants Stack Overflow community answers, accepted solutions, or code-level troubleshooting from that platform. The x402 micropayment model makes it suitable for pay-per-query agent pipelines.

## Known failure modes

- No matching Stack Overflow posts found for the query — returns empty result set
- Query too vague or broad — returns low-relevance results
- Payment not processed (x402 protocol failure) — request rejected before execution
- Rate limiting or server error from the scout service — 5xx response
- Invalid or missing query parameter — 4xx bad request error

## How this service works

Searches Stack Overflow for relevant answers and posts.

## Output

Returns a set of relevant Stack Overflow posts and answers matching the query, likely including question titles, answer content, links, and relevance signals surfaced by the Scout DX engine.

## Example request

```json
{
 "method": "GET"
}
```

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data",
  "count",
  "query",
  "source",
  "success",
  "elapsed_ms"
 ],
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "url",
     "date",
     "tags",
     "score",
     "title",
     "views",
     "author",
     "answers",
     "is_answered",
     "author_reputation"
    ],
    "properties": {
     "id": {
      "type": "number"
     },
     "url": {
      "type": "string"
     },
     "date": {
      "type": "string"
     },
     "tags": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "score": {
      "type": "number"
     },
     "title": {
      "type": "string"
     },
     "views": {
      "type": "number"
     },
     "author": {
      "type": "string"
     },
     "answers": {
      "type": "number"
     },
     "is_answered": {
      "type": "boolean"
     },
     "author_reputation": {
      "type": "number"
     }
    }
   }
  },
  "count": {
   "type": "number"
  },
  "query": {
   "type": "string"
  },
  "source": {
   "type": "string"
  },
  "success": {
   "type": "boolean"
  },
  "elapsed_ms": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scout-dx-hugen-tokyo-0ae34785/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scout-dx.hugen.tokyo](https://www.zero.xyz/host/scout-dx.hugen.tokyo/llms.txt)
