# NoJunk Web Search

> NoJunk Web Search is a paid API for AI agents from nojunk-web-search.mick8511.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-28).

Performs a live web search query and returns up to 10 ranked results (title, URL, domain, snippet) as JSON, powered by DuckDuckGo, with optional region and safe-search filtering.

## Facts

- Endpoint: GET https://nojunk-web-search.mick8511.workers.dev/search?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nojunk-web-search-b9cf6684
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_33yho54YOoxL51aVQGUUu

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 nojunk-web-search-b9cf6684
```

Example prompt: Search the web for 'best open-source LLM frameworks 2025' and give me the top 10 results — use the us-en region and moderate safe search.

## When to prefer this

Choose this endpoint when you need cheap, fast, live web search results in structured JSON without scraping. At $0.002 per call it is cost-effective for agents that perform many searches. It is ideal as the first step in a search-then-read pipeline before fetching full page content with a /read service. Prefer it over full-browser or headless-chrome solutions when you only need ranked URLs and snippets, not full page HTML.

## Known failure modes

- Empty results array if no pages match the query or region filter is too restrictive
- Query too long (over 400 chars) returns a validation error
- Invalid region code silently falls back to no-region search
- Network timeout or DuckDuckGo upstream failure returns a 5xx error
- Safe-search enum typo results in a 400 bad request

## How this service works

Cheap web search for AI agents: give it a query, get up to 10 live web results back as JSON (rank, title, url, domain, snippet). Optional region (e.g. us-en) and safe-search level. Sources tried in order: DuckDuckGo, Bing, Yahoo. Results link to the live web; pair with a /read service to fetch the pages.

## Output

A JSON object containing the original query, safe-search level, region, result count, source ('DuckDuckGo'), a fetch timestamp, and a ranked array of up to 10 results each with rank (integer), title (string), url (string), domain (string), and snippet (string).

## 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",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 400,
       "minLength": 1,
       "description": "Search query, 1-400 characters"
      },
      "safe": {
       "enum": [
        "moderate",
        "off",
        "strict"
       ],
       "type": "string",
       "description": "Safe-search level (default moderate)"
      },
      "count": {
       "type": "string",
       "description": "Max results to return, 1-10 (default 10)"
      },
      "region": {
       "type": "string",
       "description": "Optional DuckDuckGo region code such as us-en, uk-en, de-de (default: no region)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "safe": "moderate",
  "count": 2,
  "query": "cloudflare workers pricing",
  "region": null,
  "source": "DuckDuckGo",
  "results": [
   {
    "url": "https://developers.cloudflare.com/workers/platform/pricing/",
    "rank": 1,
    "title": "Pricing · Cloudflare Workers docs",
    "domain": "developers.cloudflare.com",
    "snippet": "Workers Free and Workers Paid plans: 100,000 requests per day free, then $5 per month for 10 million requests..."
   },
   {
    "url": "https://workers.cloudflare.com/",
    "rank": 2,
    "title": "Cloudflare Workers | Serverless Computing",
    "domain": "workers.cloudflare.com",
    "snippet": "Build serverless applications and deploy instantly across the globe for exceptional performance, reliability, and scale."
   }
  ],
  "fetched_at": "2026-10-15T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nojunk-web-search-b9cf6684/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nojunk-web-search.mick8511.workers.dev](https://www.zero.xyz/host/nojunk-web-search.mick8511.workers.dev/llms.txt)
