# TokenGuard Crypto Search

> TokenGuard Crypto 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-09-15).

Searches crypto and DeFi topics returning relevant web results with summaries and snippets

## Facts

- Endpoint: POST https://eltociear-tokenguard.hf.space/search
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-crypto-search-9ac43cf1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dqAfVB1GyZO-Pz6pf6gZM

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-crypto-search-9ac43cf1 -d '<json body>'
```

Example prompt: Search TokenGuard for 'Uniswap V3 liquidity pools' and give me the top 5 results with summaries so I can understand how their liquidity mechanism works.

## When to prefer this

Use this endpoint when you need to search for background information, explanations, or web content about a specific crypto token, DeFi protocol, or blockchain concept — especially when combined with other TokenGuard endpoints for ERC-20 safety checks or on-chain analytics. Prefer this over general web search when the query is crypto-specific and you want results filtered to relevant crypto/DeFi sources.

## Known failure modes

- Query string missing or empty — returns 400 error
- No results found for obscure or misspelled query — returns count:0 with empty results array
- x402 micropayment not included or invalid — returns 402 Payment Required
- Rate limiting or HuggingFace Space downtime — returns 503 or timeout
- Non-crypto query may return irrelevant or no results since index is crypto-focused

## How this service works

Knowledge search via Wikipedia + DuckDuckGo Instant Answer. Returns article summaries, snippets, factual entities. Great for AI agent knowledge lookups.

## Output

Returns a JSON object with a result count, the original query, an array of up to N results each containing a URL, title, source, and snippet, plus a top_summary object with a title and longer extract from the most relevant result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "description": "Max results 1-20 (default 5)"
  },
  "query": {
   "type": "string",
   "description": "Search query"
  },
  "include_summary": {
   "type": "boolean",
   "description": "Include detailed summary of top result (default true)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 5,
  "query": "bitcoin etf",
  "results": [
   {
    "url": "https://en.wikipedia.org/wiki/Bitcoin_ETF",
    "title": "Bitcoin ETF",
    "source": "wikipedia",
    "snippet": "A bitcoin exchange-traded fund..."
   }
  ],
  "top_summary": {
   "title": "Bitcoin ETF",
   "extract": "..."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-crypto-search-9ac43cf1/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)
