Search the open web
tinyfish.web.searchSearch the web by keyword or meaning, with domain, language, location, and date filters.
- Price
- freeAu prix du fournisseur
- Success rate
- 87,8 %Last 30 days · 747 613 calls
- Latency p50
- 1.7 sp95 4.7 s
- Last verified
- 23 sept. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tinyfish.web.search?query=TinyFish+API+documentation&domain_type=webPreviewTry onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
page | entier | Facultatif | ||
fetch | objet | Facultatif | JSON object in the query string; {} attaches each result's fetched page content. A boolean is rejected (400 INVALID_INPUT). | {} |
query | chaîne | Obligatoire | TinyFish API documentation | |
purpose | chaîne | Facultatif | Describe what the results will be used for. | |
language | chaîne | Facultatif | en | |
location | chaîne | Facultatif | United States | |
after_date | chaîne | Facultatif | YYYY-MM-DD; only results after this date. | 2024-01-01 |
before_date | chaîne | Facultatif | YYYY-MM-DD; only results before this date. | 2024-12-31 |
domain_type | chaîne | Obligatoire | web | |
exclude_domains | array[string] | Facultatif | ||
include_domains | array[string] | Facultatif | ||
recency_minutes | entier | Facultatif | ||
include_thumbnail | booléen | Facultatif | ||
- Paramètres de requête
pageentierFacultatiffetchobjetFacultatifJSON object in the query string; {} attaches each result's fetched page content. A boolean is rejected (400 INVALID_INPUT).
Exemple :
{}querychaîneObligatoireExemple :
TinyFish API documentationpurposechaîneFacultatifDescribe what the results will be used for.
languagechaîneFacultatifExemple :
enlocationchaîneFacultatifExemple :
United Statesafter_datechaîneFacultatifYYYY-MM-DD; only results after this date.
Exemple :
2024-01-01before_datechaîneFacultatifYYYY-MM-DD; only results before this date.
Exemple :
2024-12-31domain_typechaîneObligatoireExemple :
webexclude_domainsarray[string]Facultatifinclude_domainsarray[string]Facultatifrecency_minutesentierFacultatifinclude_thumbnailbooléenFacultatif
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tinyfish.web.search?query=TinyFish+API+documentation&domain_type=web' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tinyfish.web.search?query=TinyFish+API+documentation&domain_type=web",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tinyfish.web.search?query=TinyFish+API+documentation&domain_type=web", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à free, frais de service inclus.