Properties
| Name | Type | Description |
|---|---|---|
| q | string | Search query text |
| top_k | integer | Number of results |
| alpha | number | Semantic vs keyword weight (1.0=pure semantic, 0.0=pure keyword) |
| country | object | Strongly recommended: narrow searches are faster and more precise. LDH jurisdiction codes — mostly ISO 3166-1 alpha-2, plus aggregate/supranational codes such as EU, UN, CoE, INTL, and OECD. Call disc |
| source | object | Recommended when you know the court or publisher. Source IDs from discover_sources (e.g. ['FR/CNIL']). |
| court | object | |
| court_tier | object | |
| jurisdiction | object | |
| language | object | Optional language-code filter (e.g. fr, de), mainly useful in multilingual jurisdictions. Do not infer it from the query language. Metadata may be missing or non-normalized; if no results are found, r |
| date_start | object | Start date filter (YYYY-MM-DD) |
| date_end | object | End date filter (YYYY-MM-DD) |
| namespace | string | Pinecone namespace: "case_law", "legislation", or "doctrine" |
| result_detail | string | How much content to include per search hit. Omit or use 'snippet' for the backward-compatible default snippet response. Use 'summary_only' for concise summary/snippet content, 'full_text' to opt into |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/legaldatahunter-com/json-schema/legaldatahunter-com-search-request-schema.json",
"title": "SearchRequest",
"x-generated": "2026-11-15",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/legaldatahunter-com-openapi.json#/components/schemas/SearchRequest",
"properties": {
"q": {
"type": "string",
"maxLength": 10000,
"minLength": 1,
"title": "Q",
"description": "Search query text"
},
"top_k": {
"type": "integer",
"maximum": 100.0,
"minimum": 1.0,
"title": "Top K",
"description": "Number of results",
"default": 10
},
"alpha": {
"type": "number",
"maximum": 1.0,
"minimum": 0.0,
"title": "Alpha",
"description": "Semantic vs keyword weight (1.0=pure semantic, 0.0=pure keyword)",
"default": 0.7
},
"country": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Country",
"description": "Strongly recommended: narrow searches are faster and more precise. LDH jurisdiction codes — mostly ISO 3166-1 alpha-2, plus aggregate/supranational codes such as EU, UN, CoE, INTL, and OECD. Call discover_countries for the full list. E.g. ['FR', 'DE']."
},
"source": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Source",
"description": "Recommended when you know the court or publisher. Source IDs from discover_sources (e.g. ['FR/CNIL'])."
},
"court": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Court"
},
"court_tier": {
"anyOf": [
{
"type": "integer",
"maximum": 3.0,
"minimum": 1.0
},
{
"type": "null"
}
],
"title": "Court Tier"
},
"jurisdiction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Jurisdiction"
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Language",
"description": "Optional language-code filter (e.g. fr, de), mainly useful in multilingual jurisdictions. Do not infer it from the query language. Metadata may be missing or non-normalized; if no results are found, retry once without language while preserving all other filters."
},
"date_start": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"title": "Date Start",
"description": "Start date filter (YYYY-MM-DD)"
},
"date_end": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"title": "Date End",
"description": "End date filter (YYYY-MM-DD)"
},
"namespace": {
"type": "string",
"title": "Namespace",
"description": "Pinecone namespace: \"case_law\", \"legislation\", or \"doctrine\"",
"default": "case_law"
},
"result_detail": {
"type": "string",
"enum": [
"snippet",
"summary_only",
"full_text",
"full_metadata"
],
"title": "Result Detail",
"description": "How much content to include per search hit. Omit or use 'snippet' for the backward-compatible default snippet response. Use 'summary_only' for concise summary/snippet content, 'full_text' to opt into document text where available, or 'full_metadata' for text plus public metadata. Large text is bounded and marked with text_truncated/full_text_size.",
"default": "snippet"
}
},
"type": "object",
"required": [
"q"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/legaldatahunter-com-search-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.