Search the open web
linkup.web.searchReturn ranked sources, a sourced answer, or structured JSON from a web query.
- Price
- $0.055/successPelo preço do provedor
- Success rate
- 100%Last 30 days · 829 calls
- Latency p50
- 1.7 sp95 4.6 s
- Last verified
- 29 de set. de 2026Verified working
POSThttps://toolswitch.dev/v1/tools/linkup.web.searchPreviewTry onlineEm breveProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
Depth and output type determine price. The structured output schema is a JSON-encoded string, not an object.
Esta ferramenta não tem parâmetros. Veja a documentação do provedor ↗ Provider docs
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/linkup.web.search' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"q":"What is example.com used for?","depth":"flash","maxResults":2,"outputType":"searchResults"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/linkup.web.search",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"q\":\"What is example.com used for?\",\"depth\":\"flash\",\"maxResults\":2,\"outputType\":\"searchResults\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/linkup.web.search", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"q\":\"What is example.com used for?\",\"depth\":\"flash\",\"maxResults\":2,\"outputType\":\"searchResults\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.055/success, incluindo a taxa de serviço.