# Vaquill Count API

> Count the law sections in a jurisdiction, corpus, code, title, chapter, or part.

Source: https://www.sandbase.ai/apis/vaquill/count
API reference: https://www.sandbase.ai/apis/vaquill/count#api

## Facts

- Provider: Vaquill
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/vaquill/count`
- Price: $0.01 per call
- Capabilities: api, vaquill, legal research
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/vaquill/count` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `code` | any | no |  |
| `part` | any | no |  |
| `state` | any | no |  |
| `chapter` | any | no |  |
| `actStatus` | any | no |  |
| `corpusType` | any | no |  |
| `titleNumber` | integer | no |  |
| `excludeRepealed` | boolean | no |  |

## FAQ

### How do I use the Vaquill Count API?

Send a POST request to https://api.sandbase.ai/v1/api/vaquill/count with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Vaquill Count API cost?

$0.01 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Vaquill Count API accept?

No parameters are required. Optional: code (any), part (any), state (any), chapter (any), actStatus (any) and corpusType (any) and 2 more. The Parameters table and the Playground on this page list every field.

### What does the Vaquill Count API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

### Do I need a Vaquill developer account or API key?

No. Vaquill Count runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Vaquill API access separately.

## README

### Vaquill Count

Count the law sections in a jurisdiction, corpus, code, title, chapter, or part.
