> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Vaquill

> US statutes, regulations, constitutions and court rules (federal and every state): search, citation resolution, section metadata, full text and cross-state comparison.

![](https://mintcdn.com/webrouter/8QP9EZc8V07Kl-0I/logo/data-apis/vaquill.webp?fit=max\&auto=format\&n=8QP9EZc8V07Kl-0I\&q=85\&s=4adf8d0e413b8be72589bf17c2e05d6d)

[Web Catalog · Government](https://docs.webrouter.net/data-apis.md?category=government)

Needs&#x20;

`VAQUILL_API_KEY`

Endpoints

6

Auth

Key in header

[Vendor docs](https://www.vaquill.ai/docs/api-guide/overview)

&#x20;·&#x20;

[Pricing](https://www.vaquill.ai/legal-api)

## Setup

| Variable | | What it is |
| - | - | - |
| `VAQUILL_API_KEY` | required | A Vaquill API key (vq\_key\_...). Sent as 'Authorization: Bearer \<key>'; the X-API-Key header also works. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Billed in credits (1 credit = \$0.01); every answer carries creditsConsumed with the real charge, which can be below list price. GET /api-credits/pricing returns live prices for free. 422 validation errors, not-found and failed calls are not charged.
* Rate limits by plan: Pro 60/min, 1,000/hour, 2,000/day; Business 150/min, 2,500/hour, 10,000/day. 429 answers carry Retry-After.
* An optional Idempotency-Key header (16-255 ASCII characters) replays the first 2xx answer for 24 hours without a second charge.
* Statutes only: case law is not served by the API. Text links back to the official government source; check actStatus before relying on a section.

## Endpoints

POST

Search statutes and regulations

Ranked statute, regulation, constitution and court-rule sections for a query or citation, filterable by jurisdiction and code.

[Open](#vaquill-statutes-search)

GET

Resolve a citation

The section a Bluebook citation points to.

[Open](#vaquill-statutes-resolve)

GET

Get a section's metadata

Citation, heading, status, history, effective dates and related documents of a section, without its text.

[Open](#vaquill-statutes-section)

GET

Get a section's full text

The text of a section as HTML, plain text or markdown, optionally one subsection or as of a past date.

[Open](#vaquill-statutes-text)

GET

Browse the statutory hierarchy

Titles, chapters, parts and sections of a code, one level at a time.

[Open](#vaquill-statutes-divisions)

GET

Compare a provision across states

The closest matching provision in other states for a state statute section.

[Open](#vaquill-statutes-cross-state)

### Search statutes and regulations

POST

`/us/statutes/search`

`vaquill.statutes.search`

Ranked statute, regulation, constitution and court-rule sections for a query or citation, filterable by jurisdiction and code.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query` required</td><td>string</td><td>body</td><td>2-500 characters; a citation such as '42 U.S.C. § 1983' ranks its section first. Example `security deposit return deadline`</td></tr>

    <tr>
      <td>
        `corpusType`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Corpus token or list: USC, CFR, STATE, CONSTITUTION, STATE\_CONSTITUTION, FEDERAL\_RULES, STATE\_RULES, REGULATION, EXECUTIVE\_ACTION, FEDERAL\_REGISTER, SESSION\_LAW and others.
      </td>
    </tr>

    <tr><td>`state`</td><td>string</td><td>body</td><td>2-letter state code, federal, or a list. Example `tx`</td></tr>

    <tr>
      <td>
        `code`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        State code (e.g. tx\_pe) or federal rule set (frcp, fre).
      </td>
    </tr>

    <tr>
      <td>
        `titleNumber`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        USC or CFR title.
      </td>
    </tr>

    <tr>
      <td>
        `chapter`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Chapter; pairs with titleNumber (USC) or code (state).
      </td>
    </tr>

    <tr>
      <td>
        `yearFrom`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Earliest most-recent-amendment year.
      </td>
    </tr>

    <tr>
      <td>
        `yearTo`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Latest most-recent-amendment year.
      </td>
    </tr>

    <tr>
      <td>
        `excludeRepealed`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Drop sections known to be repealed, default false.
      </td>
    </tr>

    <tr>
      <td>
        `changedSince`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Sections changed on or after this date, YYYY-MM-DD.
      </td>
    </tr>

    <tr><td>`matchType`</td><td>string</td><td>body</td><td>any (hybrid semantic+keyword, default), all, phrase or boolean (AND, OR, NOT, /s, /p, /N). One of `any`, `all`, `phrase`, `boolean`</td></tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Results per page, 1-50, default 10.
      </td>
    </tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Default 0; max 70 with matchType any, 10,000 otherwise.
      </td>
    </tr>

    <tr>
      <td>
        `includeBody`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Add each row's full text; 6 extra credits per row with text.
      </td>
    </tr>

    <tr>
      <td>
        `includePinpoint`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Name the matched subsection; free.
      </td>
    </tr>

    <tr>
      <td>
        `excerptChars`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Excerpt length, 100-600, default 500.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://www.vaquill.ai/docs/api-reference/statutes/search-us-statutes.md)

```python Python theme={null}
router.call_data_api("vaquill.statutes.search", {'query': 'security deposit return deadline', 'state': 'tx'})
```

```text MCP theme={null}
call_data_api(endpoint="vaquill.statutes.search", params={"query": "security deposit return deadline", "state": "tx"})
```

> [!NOTE]
>
> * A read over POST. 4 credits per call, plus 6 per row when includeBody is true. Refunded when nothing matches a filtered search; charged when noGoodMatch is true (rows are then only the nearest sections).
> * Unknown body fields are refused (422).

### Resolve a citation

GET

`/us/statutes/resolve`

`vaquill.statutes.resolve`

The section a Bluebook citation points to.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`cite` required</td><td>string</td><td>query</td><td>Citation, 2-200 characters. Example `42 U.S.C. 1983`</td></tr>

    <tr>
      <td>
        `state`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Two-letter state code or federal.
      </td>
    </tr>

    <tr><td>`corpusType`</td><td>string</td><td>query</td><td>Restrict to one corpus. One of `STATE`, `REGULATION`, `STATE_RULES`, `CONSTITUTION`, `STATE_CONSTITUTION`, `FEDERAL_BILL`</td></tr>
  </tbody>
</table>

[Vendor docs](https://www.vaquill.ai/docs/api-reference/us-statutes/resolve-a-citation-to-its-section.md)

```python Python theme={null}
router.call_data_api("vaquill.statutes.resolve", {'cite': '42 U.S.C. 1983'})
```

```text MCP theme={null}
call_data_api(endpoint="vaquill.statutes.resolve", params={"cite": "42 U.S.C. 1983"})
```

> [!NOTE]
>
> * 2 credits, charged whether or not it resolves (refunded on malformed or ambiguous-jurisdiction misses).

### Get a section's metadata

GET

`/us/statutes/section/{act_id}`

`vaquill.statutes.section`

Citation, heading, status, history, effective dates and related documents of a section, without its text.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`act_id` required</td><td>string</td><td>path</td><td>Section id from a search, resolve or divisions result, e.g. USC\_T42\_C21\_S1983. A citation also works but adds the 2-credit resolve price. Example `USC_T42_C21_S1983`</td></tr>

    <tr>
      <td>
        `full`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Return every list entry and the full history text, default false (lists capped at 50).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://www.vaquill.ai/docs/api-reference/us-statutes/get-statute-section-metadata.md)

```python Python theme={null}
router.call_data_api("vaquill.statutes.section", {'act_id': 'USC_T42_C21_S1983'})
```

```text MCP theme={null}
call_data_api(endpoint="vaquill.statutes.section", params={"act_id": "USC_T42_C21_S1983"})
```

> [!NOTE]
>
> * 2 credits; 404 not charged.

### Get a section's full text

GET

`/us/statutes/section/{act_id}/body`

`vaquill.statutes.text`

The text of a section as HTML, plain text or markdown, optionally one subsection or as of a past date.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`act_id` required</td><td>string</td><td>path</td><td>Section id from a search, resolve or divisions result, e.g. USC\_T42\_C21\_S1983. A citation also works but adds the 2-credit resolve price. Example `USC_T42_C21_S1983`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Default both (html + plain). One of `all`, `both`, `html`, `markdown`, `plain`, `content`, `operative`</td></tr>

    <tr>
      <td>
        `structured`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Add a subsections tree, default false.
      </td>
    </tr>

    <tr>
      <td>
        `pinpoint`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        One subsection, e.g. (c)(1); not with asOf.
      </td>
    </tr>

    <tr>
      <td>
        `asOf`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        YYYY-MM-DD: the text as it stood then, plain only; not with pinpoint or structured.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://www.vaquill.ai/docs/api-reference/us-statutes/get-statute-full-text.md)

```python Python theme={null}
router.call_data_api("vaquill.statutes.text", {'act_id': 'USC_T42_C21_S1983'})
```

```text MCP theme={null}
call_data_api(endpoint="vaquill.statutes.text", params={"act_id": "USC_T42_C21_S1983"})
```

> [!NOTE]
>
> * 6 credits whatever the format; refunded when no text comes back.

### Browse the statutory hierarchy

GET

`/us/statutes/divisions`

`vaquill.statutes.divisions`

Titles, chapters, parts and sections of a code, one level at a time.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`corpusType` required</td><td>string</td><td>query</td><td>Corpus to browse. One of `USC`, `CFR`, `STATE`, `REGULATION`, `STATE_RULES`, `CONSTITUTION`, `STATE_CONSTITUTION`, `FEDERAL_RULES`</td></tr>

    <tr>
      <td>
        `state`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        2-letter state; required for STATE, REGULATION, STATE\_RULES and STATE\_CONSTITUTION.
      </td>
    </tr>

    <tr>
      <td>
        `titleNumber`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        USC/CFR title (integer, or 5a / 18a).
      </td>
    </tr>

    <tr>
      <td>
        `code`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        State code (tx\_pe), federal rule set (frcp) or state court rule set.
      </td>
    </tr>

    <tr>
      <td>
        `chapter`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Chapter.
      </td>
    </tr>

    <tr>
      <td>
        `part`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Part.
      </td>
    </tr>

    <tr>
      <td>
        `title`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        State codes and regulations only; needs code.
      </td>
    </tr>

    <tr>
      <td>
        `article`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Constitution or state code article.
      </td>
    </tr>

    <tr>
      <td>
        `excludeRepealed`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Drop repealed sections, default false.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        nextCursor from the previous page; keep the same filters.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://www.vaquill.ai/docs/api-reference/us-statutes/browse-the-statutory-hierarchy.md)

> [!NOTE]
>
> * 1 credit; not charged when no rows come back.

### Compare a provision across states

GET

`/us/statutes/section/{act_id}/cross-state`

`vaquill.statutes.cross_state`

The closest matching provision in other states for a state statute section.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`act_id` required</td><td>string</td><td>path</td><td>Section id from a search, resolve or divisions result, e.g. USC\_T42\_C21\_S1983. A citation also works but adds the 2-credit resolve price. Example `USC_T42_C21_S1983`</td></tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        States to return, 1-25, default 5.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://www.vaquill.ai/docs/api-reference/us-statutes/compare-this-provision-against-other-states.md)

```python Python theme={null}
router.call_data_api("vaquill.statutes.cross_state", {'act_id': 'USC_T42_C21_S1983'})
```

```text MCP theme={null}
call_data_api(endpoint="vaquill.statutes.cross_state", params={"act_id": "USC_T42_C21_S1983"})
```

> [!NOTE]
>
> * 6 credits; not charged for sections outside the state statute corpus or when nothing matches.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.