Search countries by name
companyenrich.geo.countries.searchSearches countries by name — returns up to 100 countries per page
- Price
- freeプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/08/20Verified working
POSThttps://toolswitch.dev/v1/tools/companyenrich.geo.countries.searchPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
FREE. Name-to-code resolution for the `countries` filter. Because matching is whole-word rather than prefix, feed it a full country name, not a fragment.
このツールにパラメータはありません。プロバイダのドキュメント ↗ を参照してください Provider docs
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/companyenrich.geo.countries.search' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"query":"United States"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/companyenrich.geo.countries.search",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"query\":\"United States\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/companyenrich.geo.countries.search", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"query\":\"United States\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。