Sign inSign up

pratyay360/searchapi

By pratyay360

•Updated about 1 month ago

A deployable REST API for programmatic web, research papers , pdf ,,, searches.

Image
API management
Machine learning & AI
Developer tools
1

2.2K

pratyay360/searchapi repository overview

⁠SearchAPI

Lightweight, deployable web search API powered by SearXNG. FastAPI backend with structured endpoints for multiple search engines. Completely free — no paid APIs required.

Brave costs ~$5 per 1000 searches. This doesn't.

⁠Special Mention

DuckDuckGo free API endpoint:

curl -X GET \
  'https://api.duckduckgo.com/?q=duckduckgo&format=json&pretty=1&no_redirect=1' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/555.96 (KHTML, like Gecko) Chrome/107.3.11.12 Safari/542.70 Edg/113.6.8.0' \
  -H 'Accept: application/json'

⁠Quick Start

⁠Docker Images
ghcr.io/pratyay360/searchapi:latest
docker.io/pratyay360/searchapi:latest
quay.io/pratyay360/searchapi:latest
⁠Deploy
⁠Build
buildah build
podman images

⁠VS Code MCP Config

{
  "mcpServers": {
    "searchapi": {
      "type": "remote",
      "url": ["https://searchapi.fastapicloud.dev/mcp"]
    }
  }
}

⁠Why?

Needed free search for LLM fine-tuning datasets. No good free options except DuckDuckGo.

⁠Rate Limiting

  • Use proxies / VPN / Tor
  • Add politeness delays between requests
  • Educational use only

⁠Support

Sponsor on GitHub⁠

Repo: github.com/Pratyay360/searchapi⁠

Tag summary

Content type

Image

Digest

sha256:2ba4ee391…

Size

98.7 MB

Last updated

about 1 month ago

docker pull pratyay360/searchapi