corpusTypestringwymagane
Corpus to browse. Other corpora are flatter — search them instead.
Możliwe wartości: USC, CFR, STATE, REGULATION
https://api.sandbase.ai/v1/api/vaquill/divisionsWalk a US legal code level by level: titles, chapters, parts, then sections.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Walk a US legal code level by level: titles, chapters, parts, then sections.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
corpusTypestringwymaganeCorpus to browse. Other corpora are flatter — search them instead.
Możliwe wartości: 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.
Możliwe wartości: 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'.
Możliwe wartości: 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.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Vaquill DivisionsTo API Vaquill | $0.01 za wywołanie | Asynchroniczny JSON |
Vaquill | $0.01 za wywołanie | Asynchroniczny JSON |
Vaquill | Od $0 za wywołanie | Asynchroniczny JSON |
Vaquill | Od $0.02 za wywołanie | Asynchroniczny JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/vaquill/divisions z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: corpusType (jedna z opcji: USC, CFR, STATE, REGULATION). Opcjonalne: code (string), part (string), state (jedna z opcji: 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) i actStatus (jedna z opcji: 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) i jeszcze 2. Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik.
Nie. Vaquill Divisions działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Vaquill.