[ search · endpoint ]검색 API · 영국 법률

영국 판례법 & 입법 검색 API

한 엔드포인트로 영국 판례법과 1차 입법을 쿼리. AI 기반 법률 리서치, 컴플라이언스 검토, 법령 해석을 위한 미리 정형화된 JSON.

60 크레딧 / 호출30 요청 / 분POST /api/search/uk-legal
[ 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/uk-legal
base
https://www.apipick.com

영국 판례법과 1차 입법 전반의 시맨틱 검색. 다운스트림 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/uk-legal" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "query": "data protection breach damages",
  "max_num_results": 5,
  "country_code": "US",
  "start_date": "2026-01-01"
}'
● 200 · response
{
  "query": "data protection breach damages",
  "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": 60,
  "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

어떤 출처가 포함되나요?

영국 판례법(잉글랜드·웨일스 법원의 판결)과 영국 입법(법률 및 Statutory Instruments). Hansard / 의회 토론은 제외 — 추후 상위 등급에 추가될 예정.

02

이것이 법률 자문인가요?

아니요. 출력은 공개 법률 코퍼스에 대한 정보 검색입니다. 실제 법률 자문은 자격 있는 솔리시터에게 항상 문의하세요.

03

판결문이나 법령 전문도 가져올 수 있나요?

결과에는 본문 단락과 출처 URL이 포함됩니다. 전체 문서가 필요하면 URL에 POST /api/extract를 사용하세요 — LLM 흡수에 적합한 깔끔한 마크다운을 반환합니다.

04

날짜 범위 필터는요?

네. start_date / end_date가 판결을 날짜로, 입법을 시행일로 필터합니다.

05

도구 스키마는?

GET /api/search/uk-legal/tool-schema가 OpenAI 함수와 Claude 도구 사용 정의를 반환합니다.