株式・暗号資産・マーケット検索API
世界・米国株式、暗号資産、為替、ETF、投資信託、商品、米国マーケットムーバーを1つのエンドポイントで照会。AI主導の価格照会、市場データ取得、トレーディングリサーチ向けの事前整形されたJSON。
Integration guide
Copy a snippet, replace your API key, run. Works in any HTTP client — examples below in cURL, JavaScript, and Python.
/api/search/marketshttps://www.apipick.com株式、暗号資産、為替、ETF、ファンド、商品、米国マーケットムーバー全体のセマンティック検索。後段のLLM向けにランク付けされたレコードとソースURLを返します。
querystringrequiredNatural-language search query
max_num_resultsintegeroptional1–5, default 5
relevance_thresholdnumberoptional0.0–1.0 quality filter
country_codestringoptionalISO country code (e.g. US, GB)
start_datestringoptionalISO date YYYY-MM-DD
end_datestringoptionalISO date YYYY-MM-DD
curl -X POST "https://www.apipick.com/api/search/markets" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"query": "Current price and market cap of Apple (AAPL)",
"max_num_results": 5,
"country_code": "US",
"start_date": "2026-01-01"
}'{
"query": "Current price and market cap of Apple (AAPL)",
"results": [
{
"title": "Example result",
"url": "https://example.com/article",
"snippet": "Short excerpt of the page content…",
"source_type": "web",
"published_at": "2026-04-15",
"score": 0.92
}
],
"result_count": 1,
"credits_used": 120,
"remaining_credits": 99
}Rate limits
Throttling is per API key, sliding 60-second window. Hit the limit and you get a clean 429 with a Retry-After header.
30req/min
Per API key, per endpoint. Sliding 60-second window.
3concurrent
Max simultaneous in-flight requests per API key.
X-RateLimit-LimitMaximum requests allowed per minuteX-RateLimit-RemainingRequests remaining in the current windowX-RateLimit-ResetSeconds until the current window resetsRetry-AfterSeconds to wait before retrying (only on 429)HTTP/1.1 429 Too Many Requests
Retry-After: 12
X-RateLimit-Limit: 30
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 12
{
"error": "rate_limit_exceeded",
"message": "Rate limit exceeded: 30 requests/minute per API key. Retry after 12s.",
"retry_after": 12
}よくある質問
なぜ1回の呼び出しが120クレジットなのですか?
市場データ — 75取引所の株式、暗号資産、為替、ファンド、ムーバー — はライセンスとインデックス保守が必要なため、エンドポイントは120クレジット(1回あたり約$0.12)に設定されています。専用の市場データAPIシートよりはるかに安価です。
どの市場が対象ですか?
世界・米国株式、暗号資産、為替ペア、ETF、投資信託、商品先物、米国マーケットムーバー(値上がり・値下がり・出来高上位)。すべて並列クエリされます。
データはリアルタイムですか?
結果は各銘柄の最新の利用可能データを返します。特定時点の履歴には、日付フィルターで絞り込むか、特定の銘柄と期間を照会してください。
日付フィルタリングは?
はい。start_date と end_date を YYYY-MM-DD 形式で渡すと特定のウィンドウに絞り込めます。
OpenAI / Claude 用のツールスキーマは?
GET /api/search/markets/tool-schema がそのまま貼り付け可能なOpenAI関数およびClaudeツール使用の定義を返します。