AI 에이전트를 위한 웹 검색 API
LLM 도구 호출을 위해 제작된 실시간 웹 검색 엔드포인트. 예측 가능한 JSON 출력, 국가·날짜 필터, 호출당 크레딧 청구 — OpenAI 함수 호출, Claude 도구 사용, 어떠한 에이전트 프레임워크에든 연결 가능.
API Integration Guide
Learn how to integrate this API into your applications with code examples and detailed documentation.
/api/search/webBase URL
https://www.apipick.comFull Endpoint
https://www.apipick.com/api/search/webqueryNatural-language search query
max_num_results1–5, default 5
relevance_threshold0.0–1.0 quality filter
country_codeISO country code (e.g. US, GB)
start_dateISO date YYYY-MM-DD
end_dateISO date YYYY-MM-DD
cURL Request
curl -X POST "https://www.apipick.com/api/search/web" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"query": "latest developments in quantum computing",
"max_num_results": 5,
"country_code": "US",
"start_date": "2026-01-01"
}'YOUR_API_KEY with your actual API keyJSON Response
{
"query": "latest developments in quantum computing",
"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": 15,
"remaining_credits": 99
}✓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
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
}자주 묻는 질문
Google이나 Bing 검색 API와 무엇이 다른가요?
응답이 LLM 소비용으로 미리 정형화되어 있습니다: 짧은 스니펫(보일러플레이트 없음), 구조화 JSON, 관련성 점수. 모델에 결과를 넘기기 전에 별도의 스크래핑·정제 단계가 필요 없습니다.
결과는 어떻게 순위가 매겨지나요?
키워드 매칭이 아닌 시맨틱 임베딩으로 순위가 매겨지므로, 표현이 달라도 의미가 비슷한 항목이 가까이 위치합니다. relevance_threshold(0.0–1.0)를 전달해 저품질 결과를 걸러낼 수도 있습니다.
특정 국가나 날짜 범위로 제한할 수 있나요?
네. country_code(ISO 3166-1 alpha-2, 예: US, JP)와/또는 start_date / end_date를 YYYY-MM-DD 형식으로 전달하세요.
실패한 호출의 크레딧은 어떻게 되나요?
검색이 실패하거나(5xx, 잘못된 쿼리) 실패 시 크레딧은 차감되지 않습니다. 성공한 2xx 응답에 대해서만 청구됩니다.
OpenAI 함수 호출용 도구 스키마가 있나요?
네. GET /api/search/web/tool-schema가 OpenAI 함수와 Claude 도구 사용 정의를 즉시 붙여 넣을 수 있는 형태로 반환합니다.