LCARS 47
SerperClone
System Status
Uptime
--
Searches
0
Engine
--
Version
--
Search Query
API Command CURL SYNTAX
curl -X POST http://localhost:8500/search \
  -H "X-API-KEY: " \
  -H "Content-Type: application/json" \
  -d '{"q": ""}'
System Alert
Search Results
RECORDS
Related Queries
Search History
No Records
Search history will appear here after you perform searches.
Configuration
Authentication X-API-KEY HEADER
API key is stored in browser localStorage and sent with each request.
Connection ENDPOINTS
API Server
localhost:8500
Web Interface
localhost:3500
Search Settings
Data Management
System Metrics
Uptime
--
Total Searches
0
Cache Hits
0
Cache Misses
0
Cache Performance
Hits: Misses:
API Key Activity
System Information
API Version
--
Search Engine
--
API Documentation
Authentication

All API requests require authentication via the X-API-KEY header.

X-API-KEY: sk-serperclone-your-key-here
Endpoints
POST /search

Perform a web search query. Compatible with Serper.dev API format.

Request Body:
{
  "q": "search query",
  "num": 10,
  "gl": "us",
  "hl": "en"
}
Response:
{
  "searchParameters": { ... },
  "organic": [
    { "title", "link", "snippet", "position" }
  ],
  "peopleAlsoAsk": [ ... ]
}
GET /health

Health check endpoint. No authentication required.

GET /stats

Get server statistics including uptime, search counts, and cache performance.

GET /metrics

Prometheus-compatible metrics endpoint for monitoring integration.

Code Examples
Python
import requests

response = requests.post(
  "http://localhost:8500/search",
  headers={"X-API-KEY": "your-key"},
  json={"q": "your query"}
)
results = response.json()
JavaScript
const response = await fetch("http://localhost:8500/search", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-API-KEY": "your-key"
  },
  body: JSON.stringify({ q: "your query" })
});
const results = await response.json();