[ search · endpoint ]検索API · マーケット

株式・暗号資産・マーケット検索API

世界・米国株式、暗号資産、為替、ETF、投資信託、商品、米国マーケットムーバーを1つのエンドポイントで照会。AI主導の価格照会、市場データ取得、トレーディングリサーチ向けの事前整形されたJSON。

120クレジット / コール30 req / 分POST /api/search/markets
[ 01 · live ]

マーケット検索をライブで試す

APIキーを入力し、ライブエンドポイントに対して実際のクエリを実行してください。

auth · x-api-key

APIキーをお持ちでない方は

アカウントにサインインしてAPIキーを作成・管理してください。

5件のサンプルクエリ — クリックで読み込み
[ 02 · integrate ]

Integration guide

Copy a snippet, replace your API key, run. Works in any HTTP client — examples below in cURL, JavaScript, and Python.

spec
POST/api/search/markets
base
https://www.apipick.com

株式、暗号資産、為替、ETF、ファンド、商品、米国マーケットムーバー全体のセマンティック検索。後段のLLM向けにランク付けされたレコードとソースURLを返します。

parameters
querystringrequired

Natural-language search query

max_num_resultsintegeroptional

1–5, default 5

relevance_thresholdnumberoptional

0.0–1.0 quality filter

country_codestringoptional

ISO country code (e.g. US, GB)

start_datestringoptional

ISO date YYYY-MM-DD

end_datestringoptional

ISO 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"
}'
● 200 · response
{
  "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
}
[ 03 · limits ]

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.

request rate

30req/min

Per API key, per endpoint. Sliding 60-second window.

concurrency

3concurrent

Max simultaneous in-flight requests per API key.

response headers
X-RateLimit-LimitMaximum requests allowed per minute
X-RateLimit-RemainingRequests remaining in the current window
X-RateLimit-ResetSeconds until the current window resets
Retry-AfterSeconds to wait before retrying (only on 429)
● 429 · too many requests
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
}
[ faq ]

よくある質問

01

なぜ1回の呼び出しが120クレジットなのですか?

市場データ — 75取引所の株式、暗号資産、為替、ファンド、ムーバー — はライセンスとインデックス保守が必要なため、エンドポイントは120クレジット(1回あたり約$0.12)に設定されています。専用の市場データAPIシートよりはるかに安価です。

02

どの市場が対象ですか?

世界・米国株式、暗号資産、為替ペア、ETF、投資信託、商品先物、米国マーケットムーバー(値上がり・値下がり・出来高上位)。すべて並列クエリされます。

03

データはリアルタイムですか?

結果は各銘柄の最新の利用可能データを返します。特定時点の履歴には、日付フィルターで絞り込むか、特定の銘柄と期間を照会してください。

04

日付フィルタリングは?

はい。start_dateend_dateYYYY-MM-DD 形式で渡すと特定のウィンドウに絞り込めます。

05

OpenAI / Claude 用のツールスキーマは?

GET /api/search/markets/tool-schema がそのまま貼り付け可能なOpenAI関数およびClaudeツール使用の定義を返します。