corpusTypestringrequired
Corpus to browse. Other corpora are flatter — search them instead.
Possible values: USC, CFR, STATE, REGULATION
https://api.sandbase.ai/v1/api/vaquill/divisionsWalk a US legal code level by level: titles, chapters, parts, then sections.
Your output will appear here
Complete the inputs, then click Run.
Walk a US legal code level by level: titles, chapters, parts, then sections.
Start building
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/vaquill/divisions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"corpusType": "USC"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
corpusTypestringrequiredCorpus to browse. Other corpora are flatter — search them instead.
Possible values: USC, CFR, STATE, REGULATION
codestringState code identifier to drill into, e.g. 'tx_pe' — the identifier returned by browsing corpusType=STATE with a state.
partstringPart identifier to drill into (CFR).
statestringLowercase two-letter jurisdiction code, e.g. 'tx'; required for STATE and REGULATION.
Possible values: al, ak, az, ar, ca, co, ct, de, dc, fl, ga, hi, id, il, in, ia, ks, ky, la, me, md, ma, mi, mn, ms, mo, mt, ne, nv, nh, nj, nm, ny, nc, nd, oh, ok, or, pa, pr, ri, sc, sd, tn, tx, ut, vt, va, wa, wv, wi, wy
cursorstringResume token from a previous response's nextCursor, at the level that lists sections.
chapterstringChapter identifier to drill into (USC and state codes).
actStatusstringList only sections carrying this status, e.g. 'repealed'.
Possible values: abolished, deleted, expired, in_force, inactive, non_precedential, not_funded, not_yet_effective, omitted, proposed, recodified, recompiled, rejected, relocated, removed, renumbered, repealed, rescinded, reserved, revoked, superseded, terminated, transferred, unconstitutional, vacant, vacated, vetoed, withdrawn
titleNumberintegerUSC or CFR title number to drill into.
excludeRepealedbooleanLeave out sections whose status is affirmatively dead. A section with no recorded status is kept.
Saved example response for this API; no live request is made when viewing it.
No saved response has been published. Run the API in Playground to inspect its response.
Explore more
| API | Price | Response |
|---|---|---|
Vaquill DivisionsThis API Vaquill | $0.01 per call | Async JSON |
Vaquill | $0.01 per call | Async JSON |
Vaquill | From $0 per call | Async JSON |
Vaquill | From $0.02 per call | Async JSON |
Questions
Send a POST request to https://api.sandbase.ai/v1/api/vaquill/divisions 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.
$0.01 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.
Required: corpusType (one of USC, CFR, STATE, REGULATION). Optional: code (string), part (string), state (one of al, ak, az, ar, ca, co, ct, de, dc, fl, ga, hi, id, il, in, ia, ks, ky, la, me, md, ma, mi, mn, ms, mo, mt, ne, nv, nh, nj, nm, ny, nc, nd, oh, ok, or, pa, pr, ri, sc, sd, tn, tx, ut, vt, va, wa, wv, wi, wy), cursor (string), chapter (string) and actStatus (one of abolished, deleted, expired, in_force, inactive, non_precedential, not_funded, not_yet_effective, omitted, proposed, recodified, recompiled, rejected, relocated, removed, renumbered, repealed, rescinded, reserved, revoked, superseded, terminated, transferred, unconstitutional, vacant, vacated, vetoed, withdrawn) and 2 more. The Parameters table and the Playground on this page list every field.
A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.
No. Vaquill Divisions 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.