Search the open web
linkup.web.searchReturn ranked sources, a sourced answer, or structured JSON from a web query.
- Price
- $0.055/successAl precio del proveedor
- Success rate
- 100 %Last 30 days · 829 calls
- Latency p50
- 1.7 sp95 4.6 s
- Last verified
- 29 sept 2026Verified working
POSThttps://toolswitch.dev/v1/tools/linkup.web.searchPreviewTry onlinePróximamenteProvider 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 herramienta no tiene parámetros. Consulta la documentación del proveedor ↗ Provider docs
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.055/success, incluida la tarifa de servicio.