搜尋 API · 學術

學術研究搜尋 API

透過單一端點查詢 arXiv、PubMed、bioRxiv 與 medRxiv 上的同行評審論文與預印本。預先成型的 JSON 輸出,可直接用於 LLM 工具呼叫、引用擷取與科學文獻 RAG。

5 點 / 呼叫60 次/分鐘POST /api/search/academic

即時試用學術搜尋

輸入您的 API 金鑰,對運行中的端點發送一次真實查詢。

API Authentication Required
Enter your API key to access this service. All API calls require authentication.

還沒有 API 金鑰?

登入帳戶以建立並管理您的 API 金鑰。

5 條範例查詢 — 點擊載入

API Integration Guide

Learn how to integrate this API into your applications with code examples and detailed documentation.

API Overview
對 arXiv、PubMed、bioRxiv 與 medRxiv 的語意搜尋。回傳排序過的標題、摘要與來源 URL,可供 LLM 攝入。
POST
/api/search/academic

Base URL

https://www.apipick.com

Full Endpoint

https://www.apipick.com/api/search/academic
Parameters
Required and optional parameters for this API
query
required
string

Natural-language search query

max_num_results
optional
integer

1–5, default 5

relevance_threshold
optional
number

0.0–1.0 quality filter

country_code
optional
string

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

start_date
optional
string

ISO date YYYY-MM-DD

end_date
optional
string

ISO date YYYY-MM-DD

Code Examples
Copy and paste these examples to quickly integrate the API into your application

cURL Request

curl -X POST "https://www.apipick.com/api/search/academic" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "query": "Latest breakthroughs in CRISPR gene editing",
  "max_num_results": 5,
  "country_code": "US",
  "start_date": "2026-01-01"
}'
Replace YOUR_API_KEY with your actual API key
Response Example
Example response from the API

JSON Response

{
  "query": "Latest breakthroughs in CRISPR gene editing",
  "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": 5,
  "remaining_credits": 99
}
Integration Tips

Best Practices

  • • Always include x-api-key header
  • • Always handle errors gracefully
  • • Validate input data before sending
  • • Use HTTPS for secure communication
  • • Cache responses when appropriate

Response Headers

  • • Content-Type: application/json
  • • x-api-key: Required for authentication
  • • Status codes: 200 (success), 400 (error), 401 (unauthorized)
  • • No rate limiting applied

Rate Limits

⏱️

Request Rate

60req / 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: 60
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 12

{
  "error": "rate_limit_exceeded",
  "message": "Rate limit exceeded: 60 requests/minute per API key. Retry after 12s.",
  "retry_after": 12
}

常見問題

涵蓋哪些來源?

arXiv(資訊、數學、物理等)、PubMed(生物醫學)、bioRxiv(生物學預印本)與 medRxiv(醫學預印本)。一次呼叫即可平行查詢全部四者。

為何比其他垂直搜尋 API 便宜?

開放存取的學術索引(arXiv、PubMed、bioRxiv、medRxiv)相對於專屬金融或法律資料集而言查詢成本較低。點數價格反映了這一點。

可以限制日期範圍嗎?

可以。傳入 start_dateend_date,格式為 YYYY-MM-DD,即可依發表日期篩選。

會回傳論文全文嗎?

不會 — 結果包含標題、類摘要片段、來源 URL 與相關性分數。要取得任意論文全文,可對來源 URL 呼叫 POST /api/extract

OpenAI / Claude 工具 schema 呢?

GET /api/search/academic/tool-schema 回傳可直接貼上的 OpenAI 函式與 Claude 工具使用定義。