# Tokenguard Stack Overflow Search

> Tokenguard Stack Overflow Search is a paid API for AI agents from eltociear-tokenguard.hf.space, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-23).

Searches Stack Overflow for developer questions and returns scored, ranked results matching a query string

## Facts

- Endpoint: POST https://eltociear-tokenguard.hf.space/dev/stackoverflow?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-stack-overflow-search-e71735b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rDEKiypK2ahXbweRX6pUg

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 tokenguard-stack-overflow-search-e71735b4 -d '<json body>'
```

Example prompt: Search Stack Overflow for 'fastapi dependency injection' and show me the top answered questions with their relevance scores.

## When to prefer this

Use this endpoint when an agent needs to find developer programming solutions, code examples, or technical Q&A from Stack Overflow, particularly for software engineering topics. Prefer this over generic web search when you specifically want Stack Overflow's scored and answered-flagged results.

## Known failure modes

- Empty or vague query returns zero results
- Query string too long may be truncated or rejected
- Stack Overflow rate limits may cause 429 errors
- Network timeout from HuggingFace Space cold start
- No answered questions found for niche or misspelled query

## How this service works

Stack Exchange question search with score, answer count and whether an answer was accepted

## Output

Returns a JSON object with a result count, the original query string, and an array of results each containing a title, link URL, relevance score (0-100), and a boolean indicating whether the question has been answered.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "site": {
   "type": "string",
   "description": "Stack Exchange site (default stackoverflow)"
  },
  "limit": {
   "type": "integer",
   "description": "1-30 results (default 10)"
  },
  "query": {
   "type": "string",
   "description": "Search terms"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "query": "fastapi dependency injection",
  "results": [
   {
    "link": "https://…",
    "score": 88,
    "title": "…",
    "is_answered": true
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-stack-overflow-search-e71735b4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-tokenguard.hf.space](https://www.zero.xyz/host/eltociear-tokenguard.hf.space/llms.txt)
