Simple search
curl --request GET \
--url https://api.pipellm.ai/v1/websearch/simple-search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pipellm.ai/v1/websearch/simple-search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pipellm.ai/v1/websearch/simple-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pipellm.ai/v1/websearch/simple-search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Simple search
Fast web search snippets without page extraction.
GET
/
v1
/
websearch
/
simple-search
Simple search
curl --request GET \
--url https://api.pipellm.ai/v1/websearch/simple-search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pipellm.ai/v1/websearch/simple-search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pipellm.ai/v1/websearch/simple-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pipellm.ai/v1/websearch/simple-search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Use this route when you want faster search results without page extraction,
embedding, or reranking.
Endpoint
| Method | Endpoint |
|---|---|
GET | https://api.pipellm.ai/v1/websearch/simple-search |
Authentication
Authorization: Bearer $PIPELLM_API_KEY
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Search query |
Example Request
curl -X GET "https://api.pipellm.ai/v1/websearch/simple-search?q=latest+AI+news" \
-H "Authorization: Bearer $PIPELLM_API_KEY"
Response Shape
{
"code": 200,
"message": "ok",
"took_ms": 950,
"data": {
"answerBox": {
"title": "Latest AI news",
"snippet": "..."
},
"organic": [
{
"title": "AI News",
"link": "https://example.com",
"snippet": "Latest updates..."
}
]
}
}
Notes
- This route proxies to the internal
/api/simple-searchhandler. - It returns search results quickly and does not add
contextsvia deep retrieval. - Successful requests cost $0.01 each and are recorded with internal model name
websearch. - PipeLLM derives the model name from the route; clients do not send it.
Related Docs
Deep Search
Use retrieval and reranking when you need richer context
News Search
Search recent news articles instead of general web results
WebSearch Overview
Product overview and full route matrix
Was this page helpful?