영국 의회 검색 API
영국 의회 토론, 서면 질의, 의원 활동(Hansard)을 단일 엔드포인트로 조회. 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/politicshttps://www.apipick.com영국 의회 Hansard 전반의 시맨틱 검색 — 토론, 서면 질의, 의원 활동. 다운스트림 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/politics" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"query": "UK Parliament debates on AI regulation",
"max_num_results": 5,
"country_code": "US",
"start_date": "2026-01-01"
}'{
"query": "UK Parliament debates on AI regulation",
"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": 40,
"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.
60req/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: 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
}자주 묻는 질문
왜 호출당 40크레딧인가요?
영국 의회 Hansard는 대규모이며 지속적으로 갱신되는 코퍼스로 인덱스 유지보수가 필요하므로 엔드포인트는 40크레딧(호출당 약 $0.04)으로 책정됩니다.
어떤 소스가 포함되나요?
Hansard(하원·상원)의 영국 의회 토론, 서면 질의, 의원 활동. 주제, 법안, 의원명을 자연어 쿼리로 전달하세요.
영국만 대상인가요?
예. 이 엔드포인트는 영국 의회를 다룹니다. 영국 판례법과 법령은 UK Legal 검색 엔드포인트를 이용하세요.
날짜 필터링은요?
예. start_date와 end_date를 YYYY-MM-DD 형식으로 전달하면 특정 회기나 기간으로 좁힐 수 있습니다.
OpenAI / Claude용 도구 스키마는요?
GET /api/search/politics/tool-schema가 바로 붙여넣을 수 있는 OpenAI 함수 및 Claude 도구 사용 정의를 반환합니다.