DEV Community

ScaffDev
ScaffDev

Posted on

Building a Free Search API for AI Agents in 2026

The Problem

AI agents need web search capability, but most search APIs cost money:

  • Google Custom Search API: $5 per 1,000 queries
  • SerpAPI: $50/month for 5,000 searches
  • Bing Search API: $7 per 1,000 transactions

We built Scaff Search — a completely free meta-search API that any AI agent can use. No API key needed. No rate limits.

Quick Start

curl "https://search.scaff.dev/api/search?q=python+tutorial"
Enter fullscreen mode Exit fullscreen mode

Response:

{
  "results": [
    {
      "title": "Python Tutorial - W3Schools",
      "url": "https://www.w3schools.com/python/",
      "snippet": "Learn Python programming..."
    }
  ]
}
Enter fullscreen mode Exit fullscreen mode

AI Agent Integration

MCP Protocol (Model Context Protocol)

Scaff Search has a built-in MCP server for Claude, ChatGPT, and other AI agents:

https://search.scaff.dev/mcp
Enter fullscreen mode Exit fullscreen mode

ARD (Agentic Resource Discovery)

We implement the new Google/Microsoft/HuggingFace ARD spec:

https://search.scaff.dev/.well-known/ard.json
Enter fullscreen mode Exit fullscreen mode

WebMCP

Our HTML form has WebMCP attributes for Chrome 149+ browser agents.

OpenAPI Spec

Full OpenAPI specification available:

https://search.scaff.dev/openapi.json
Enter fullscreen mode Exit fullscreen mode

Code Examples

Python

import requests

response = requests.get(
    "https://search.scaff.dev/api/search",
    params={"q": "machine learning", "limit": 5}
)
results = response.json()
for r in results["results"]:
    print(f"{r['title']}: {r['url']}")
Enter fullscreen mode Exit fullscreen mode

JavaScript/Node.js

const resp = await fetch(
  "https://search.scaff.dev/api/search?q=machine+learning&limit=5"
);
const data = await resp.json();
data.results.forEach(r => console.log(`${r.title}: ${r.url}`));
Enter fullscreen mode Exit fullscreen mode

curl

curl -s "https://search.scaff.dev/api/search?q=AI+agents" | jq '.results[].title'
Enter fullscreen mode Exit fullscreen mode

Features

  • Free — no API key, no signup, no rate limits
  • Multi-engine — aggregates Bing, Yahoo, DuckDuckGo, and 10+ engines
  • MCP server — native AI agent protocol support
  • ARD catalog — discoverable by AI crawlers
  • OpenAPI spec — standard API documentation
  • 20+ languages — international search support

Links


Scaff Search is an open meta-search engine built on SearXNG. We aggregate results from multiple search engines and provide them via a simple JSON API.

Top comments (0)