Search companies
openmart.companies.searchSearch company brands with nested filters and cursor pagination
- Prix
- $0.00894/resultAu prix catalogue
- Taux de réussite
- 100 %30 derniers jours · 308 appels
- Latence p50
- 518 msp95 730 ms
- Dernière vérification
- 17 sept. 2026Vérifié et opérationnel
POSThttps://toolswitch.dev/v1/tools/openmart.companies.searchBeta- Utilise le quota de la plateforme
- Réponse synchrone
- Lit des données publiques
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Corps (JSON) | ||||
pagination | objet | Facultatif | {"limit":10} | |
search_param | objet | Facultatif | {"location":[{"country":"US"}],"search_term":"coffee shop"} | |
- Corps (JSON)
paginationobjetFacultatifExemple :
{"limit":10}search_paramobjetFacultatifExemple :
{"location":[{"country":"US"}],"search_term":"coffee shop"}
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/openmart.companies.search' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"pagination":{"limit":10},"search_param":{"location":[{"country":"US"}],"search_term":"coffee shop"}}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/openmart.companies.search",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"pagination\":{\"limit\":10},\"search_param\":{\"location\":[{\"country\":\"US\"}],\"search_term\":\"coffee shop\"}}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/openmart.companies.search", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"pagination\":{\"limit\":10},\"search_param\":{\"location\":[{\"country\":\"US\"}],\"search_term\":\"coffee shop\"}}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en version Beta ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00894/result, frais de service inclus.