Browse news events across all companies
predictleads.news.discoverReturns a list of News Events, optionally filtered by categories and company's location, company's size, ordered by found_at descending.
- Price
- $0.04/resultAu prix du fournisseur
- Success rate
- 99,1 %Last 30 days · 118 calls
- Latency p50
- 1.1 sp95 24 s
- Last verified
- 20 août 2026Verified working
GEThttps://toolswitch.dev/v1/tools/predictleads.news.discover?limit=1Preview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
the market-wide signal feed: 'every company that opened a new location this week'. Ordered newest-first, so found_at on the first record is the watermark for the next poll
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
page | entier | Facultatif | ||
limit | entier | Facultatif | default 30, max 1000 — PRICE DIAL on this discovery route | 1 |
categories | array[string] | Facultatif | comma-separated event categories, e.g. receives_financing,opens_new_location,partners_with | partners_with |
company_sizes | array[string] | Facultatif | comma-separated company size buckets | |
company_location | chaîne | Facultatif | country name or US state name/abbreviation | United States |
- Paramètres de requête
pageentierFacultatiflimitentierFacultatifdefault 30, max 1000 — PRICE DIAL on this discovery route
Exemple :
1categoriesarray[string]Facultatifcomma-separated event categories, e.g. receives_financing,opens_new_location,partners_with
Exemple :
partners_withcompany_sizesarray[string]Facultatifcomma-separated company size buckets
company_locationchaîneFacultatifcountry name or US state name/abbreviation
Exemple :
United States
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/predictleads.news.discover?limit=1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/predictleads.news.discover?limit=1",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/predictleads.news.discover?limit=1", {
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 à $0.04/result, frais de service inclus.