corpusTypestringrequerido
Corpus to browse. Other corpora are flatter — search them instead.
Valores posibles: USC, CFR, STATE, REGULATION
https://api.sandbase.ai/v1/api/vaquill/divisionsWalk a US legal code level by level: titles, chapters, parts, then sections.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Walk a US legal code level by level: titles, chapters, parts, then sections.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/vaquill/divisions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"corpusType": "USC"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
corpusTypestringrequeridoCorpus to browse. Other corpora are flatter — search them instead.
Valores posibles: 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.
Valores posibles: 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'.
Valores posibles: 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.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Vaquill DivisionsEsta API Vaquill | $0.01 por llamada | JSON asíncrono |
Vaquill | $0.01 por llamada | JSON asíncrono |
Vaquill | Desde $0 por llamada | JSON asíncrono |
Vaquill | Desde $0.02 por llamada | JSON asíncrono |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/vaquill/divisions con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.01 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: corpusType (una de USC, CFR, STATE, REGULATION). Opcionales: code (string), part (string), state (una de 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) y actStatus (una de 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) y 2 más. La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Un resultado JSON. Este endpoint se ejecuta de forma asíncrona, así que la respuesta indica cómo obtener el resultado final.
No. Vaquill Divisions funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Vaquill por separado.