Skip to main content
POST
/
api
/
v1
/
acts
/
search
Search Indian legislation
curl --request POST \
  --url https://api.vaquill.ai/api/v1/acts/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>"
}
'
{
  "data": {
    "results": [
      {
        "actId": "<string>",
        "title": "<string>",
        "content": "<string>",
        "sectionNumber": "<string>",
        "sectionTitle": "<string>",
        "chapter": "<string>",
        "chapterTitle": "<string>",
        "year": 123,
        "category": "<string>",
        "state": "<string>",
        "department": "<string>",
        "jurisdiction": "<string>",
        "actStatus": "<string>",
        "provisionType": "<string>",
        "legalSubject": [
          "<string>"
        ],
        "actsReferenced": [
          "<string>"
        ],
        "longTitle": "<string>",
        "enactmentDate": "<string>",
        "pdfUrl": "<string>",
        "textUrl": "<string>",
        "sourceUrl": "<string>"
      }
    ],
    "totalReturned": 123
  },
  "meta": {
    "processingTimeMs": 123,
    "creditsConsumed": 123,
    "creditsRemaining": 123
  }
}

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_...

Body

application/json

Search Indian legislation by semantic query.

query
string
required

Search query

Required string length: 2 - 10000
category
string | null

Filter: central, state, regulatory, repealed, spent

state
string | null

Filter by state slug (e.g. 'maharashtra', 'delhi')

department
string | null

Filter by regulatory body (e.g. 'sebi', 'rbi')

yearFrom
integer | null

Minimum year (inclusive)

yearTo
integer | null

Maximum year (inclusive)

sectionNumber
string | null

Filter by exact section number (e.g. '23', '302', '498A')

actTitle
string | null

Filter by act title substring (e.g. 'Indian Penal Code', 'BNSS')

pageSize
integer
default:10

Results per page (1-50)

Required range: 1 <= x <= 50

Response

Successful Response

data
ActSearchData · object
required
meta
ActSearchMeta · object
required