Skip to main content
GET
/
api
/
v1
/
citations
/
cases
/
search
Search cases by citation or name
curl --request GET \
  --url https://api.vaquill.ai/api/v1/citations/cases/search \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "results": [
      {
        "citation": "[1978] 2 S.C.R. 621",
        "caseName": "MANEKA GANDHI versus UNION OF INDIA",
        "court": "Supreme Court of India",
        "courtCode": "SC",
        "judges": [
          "M. HAMEEDULLAH BEG"
        ],
        "decisionDate": "1978-01-25",
        "year": 1978,
        "validityStatus": "UNKNOWN",
        "citedByCount": 75,
        "pdfUrl": "https://pub-0ca0278f132c481887c0474333ff6d8a.r2.dev/indian-courts-v1/supreme-court/english/1978/1978_2_621_776_EN.pdf",
        "hasFullText": true
      },
      {
        "citation": "[2017] 10 S.C.R. 569",
        "caseName": "JUSTICE K S PUTTASWAMY (RETD.), AND ANR. versus UNION OF INDIA AND ORS.",
        "court": "Supreme Court of India",
        "courtCode": "SC",
        "judges": [
          "J.S. KHEHAR"
        ],
        "decisionDate": "2017-08-24",
        "year": 2017,
        "validityStatus": "UNKNOWN",
        "citedByCount": 0,
        "pdfUrl": "https://pub-0ca0278f132c481887c0474333ff6d8a.r2.dev/indian-courts-v1/supreme-court/english/2017/2017_10_569_999_EN.pdf",
        "hasFullText": true
      }
    ]
  },
  "meta": {
    "processingTimeMs": 65.3,
    "creditsRemaining": 4.9,
    "creditsConsumed": 0.1,
    "total": 2,
    "limit": 10
  }
}

Documentation Index

Fetch the complete documentation index at: https://vaquill.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key issued from the Vaquill developer dashboard. Pass as Authorization: Bearer vq_key_...

Query Parameters

q
string
required

Search query — citation text or case name

Required string length: 2 - 300
limit
integer
default:10

Max results (1-50)

Required range: 1 <= x <= 50
court_code
string | null

Filter by court code. Common values: SC (Supreme Court), DEL (Delhi HC), BOM (Bombay HC), MAD (Madras HC).

year_start
integer | null

Earliest decision year (inclusive), e.g. 1950.

Required range: 1800 <= x <= 2100
year_end
integer | null

Latest decision year (inclusive), e.g. 2024.

Required range: 1800 <= x <= 2100
validity_status
string | null

Filter by legal validity. One of: GOOD_LAW, OVERRULED, DISTINGUISHED, QUESTIONED, SUPERSEDED, AFFIRMED, PARTIALLY_OVERRULED, UNKNOWN.

countryCode
string | null

ISO 3166-1 alpha-2 country code (e.g. IN for India). Reserved for future multi-jurisdiction support. Currently the dataset covers India only, so requests for other country codes will return empty results naturally from the database.

Response

Search results

Top-level response for GET /citations/cases/search.

data
CitationSearchData · object
required

Data payload for the citation search endpoint.

meta
CitationApiMeta · object
required

Metadata returned with every citation API response.