Searxng search

From bidewio/better-openclaw · View interactive version

Searxng search is an AI agent skill from the GitHub repository bidewio/better-openclaw. Search the web privately using the SearXNG meta-search engine at {{SEARXNG_HOST}}:{{SEARXNG_PORT}} with aggregated results from multiple search providers.

How to use this skill

Skill file

SearXNG Search Skill

SearXNG meta-search engine is available at http://{{SEARXNG_HOST}}:{{SEARXNG_PORT}} within the Docker network.

Basic Search

Perform a web search and get JSON results:

curl "http://{{SEARXNG_HOST}}:{{SEARXNG_PORT}}/search?q=your+search+query&format=json"

Search with Parameters

Fine-tune results using categories, engines, and language filters:

# Search specific categories
curl "http://{{SEARXNG_HOST}}:{{SEARXNG_PORT}}/search?q=machine+learning&format=json&categories=science,it"

# Search with specific engines
curl "http://{{SEARXNG_HOST}}:{{SEARXNG_PORT}}/search?q=python+tutorial&format=json&engines=google,duckduckgo,brave"

# Search in a specific language
curl "http://{{SEARXNG_HOST}}:{{SEARXNG_PORT}}/search?q=bonjour&format=json&language=fr"

# Restrict to a time range
curl "http://{{SEARXNG_HOST}}:{{SEARXNG_PORT}}/search?q=latest+news&format=json&time_range=week"

Image Search

curl "http://{{SEARXNG_HOST}}:{{SEARXNG_PORT}}/search?q=landscape+photography&format=json&categories=images"

News Search

curl "http://{{SEARXNG_HOST}}:{{SEARXNG_PORT}}/search?q=tech+news&format=json&categories=news&time_range=day"

Paginated Results

# Get page 2 of results (pageno is 1-indexed)
curl "http://{{SEARXNG_HOST}}:{{SEARXNG_PORT}}/search?q=docker+tutorial&format=json&pageno=2"

Response Structure

Results are returned as JSON with this structure:

{
  "query": "your search query",
  "number_of_results": 12345,
  "results": [
    {
      "url": "https://example.com/article",
      "title": "Article Title",
      "content": "Snippet of the search result content...",
      "engine": "google",
      "category": "general",
      "score": 8.5
    }
  ],
  "suggestions": ["related query 1", "related query 2"],
  "infoboxes": []
}

Available Categories

Available Time Ranges

Tips for AI Agents

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.