9router-web-search

Solid

Web search via 9Router /v1/search using Tavily / Exa / Brave / Serper / SearXNG / Google PSE / Linkup / SearchAPI / You.com / Perplexity. Use when the user wants to search the web, look up information, find articles, or query a search engine.

AI & Automation 17,320 stars 2650 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 9Router — Web Search Requires `NINEROUTER_URL` (and `NINEROUTER_KEY` if auth enabled). See https://raw.githubusercontent.com/decolua/9router/refs/heads/master/skills/9router/SKILL.md for setup. ## Discover ```bash curl $NINEROUTER_URL/v1/models/web | jq '.data[] | select(.kind=="webSearch") | .id' # Per-provider params (searchTypes, maxResults, required options like cx for google-pse) curl "$NINEROUTER_URL/v1/models/info?id=tavily/search" ``` IDs end in `/search` (e.g. `tavily/search`). Combos (`owned_by:"combo"`) chain providers with auto-fallback. ## Endpoint `POST $NINEROUTER_URL/v1/search` | Field | Required | Notes | |---|---|---| | `model` (or `provider`) | yes | from `/v1/models/web` (e.g. `tavily` or `brave`) | | `query` | yes | search query | | `max_results` | no | default 5 | | `search_type` | no | `web` (default) / `news` | | `country`, `language`, `time_range`, `domain_filter` | no | provider-dependent | ## Examples ```bash curl -X POST $NINEROUTER_URL/v1/search \ -H "Authorization: Bearer $NINEROUTER_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"tavily","query":"9Router open source","max_results":5}' ``` JS: ```js const r = await fetch(`${process.env.NINEROUTER_URL}/v1/search`, { method: "POST", headers: { "Authorization": `Bearer ${process.env.NINEROUTER_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ model: "search-combo", query: "latest LLM benchmarks", max_results: 10 }), }); console.log(await r.json()...

Details

Author
decolua
Repository
decolua/9router
Created
5 months ago
Last Updated
6 days ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category