Skip to main content
GET
/
api
/
v1
/
statutes
/
codes
List available codes for a US state
curl --request GET \
  --url https://api.vaquill.ai/api/v1/statutes/codes \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "state": "tx",
    "stateName": "Texas",
    "codes": [
      {
        "actId": "tex_health_and_safety_code",
        "displayLabel": "Tex. Health and Safety Code",
        "sectionCount": 3903
      },
      {
        "actId": "tex_penal_code",
        "displayLabel": "Tex. Penal Code",
        "sectionCount": 261
      },
      {
        "actId": "tex_family_code",
        "displayLabel": "Tex. Family Code",
        "sectionCount": 1092
      }
    ]
  },
  "meta": {
    "processingTimeMs": 218.4,
    "creditsConsumed": 1
  }
}

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.

Pass state=tx (or any 2-letter state code) to get the list of codes we cover for that state, each annotated with its section count. Use the returned actId values to scope /statutes/search calls. Cost: 1 credit per call.

Authorizations

Authorization
string
header
required

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

Query Parameters

state
string
required

Response

Codes for the requested state.