Search recent news
tinyfish.web.search.newsSearch TinyFish's news index with optional recency, date, domain, language, and location filters.
- Price
- freeAu prix du fournisseur
- Success rate
- 99,8 %Last 30 days · 157 938 calls
- Latency p50
- 1.4 sp95 5.7 s
- Last verified
- 23 sept. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tinyfish.web.search.news?query=AI+browser+agents&domain_type=newsPreviewTry 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 | AI browser agents | |
purpose | chaîne | Facultatif | ||
language | chaîne | Facultatif | en | |
location | chaîne | Facultatif | ||
after_date | chaîne | Facultatif | YYYY-MM-DD | 2024-01-01 |
before_date | chaîne | Facultatif | YYYY-MM-DD | 2024-12-31 |
domain_type | chaîne | Obligatoire | news | |
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 :
AI browser agentspurposechaîneFacultatiflanguagechaîneFacultatifExemple :
enlocationchaîneFacultatifafter_datechaîneFacultatifYYYY-MM-DD
Exemple :
2024-01-01before_datechaîneFacultatifYYYY-MM-DD
Exemple :
2024-12-31domain_typechaîneObligatoireExemple :
newsexclude_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.news?query=AI+browser+agents&domain_type=news' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tinyfish.web.search.news?query=AI+browser+agents&domain_type=news",
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.news?query=AI+browser+agents&domain_type=news", {
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.