codeany
State statutory code identifier, e.g. 'tx_pe' (Texas Penal Code) — the identifier /us/statutes/divisions returns for corpusType=STATE. The only way to scope below a whole jurisdiction.
https://api.sandbase.ai/v1/api/vaquill/countCount the law sections in a jurisdiction, corpus, code, title, chapter, or part.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Count the law sections in a jurisdiction, corpus, code, title, chapter, or part.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/vaquill/count" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
codeanyState statutory code identifier, e.g. 'tx_pe' (Texas Penal Code) — the identifier /us/statutes/divisions returns for corpusType=STATE. The only way to scope below a whole jurisdiction.
partanyPart within a title or code, e.g. '240' (17 C.F.R. Part 240). Must be paired with titleNumber or code, or upstream answers 422.
stateanyLowercase two-letter jurisdiction code (50 states, 'dc', 'pr'), or 'federal' for USC / CFR / Constitution / federal rules. A list covers several at once.
chapteranyChapter within a title or code, e.g. '21'. Must be paired with titleNumber or code, or upstream answers 422.
actStatusanyKeep only sections carrying these publisher statuses, e.g. 'repealed'. Contradicts excludeRepealed when it names a dead status (upstream 422).
corpusTypeanyRestrict to one corpus or a list, e.g. 'CFR' or ['USC','CFR']. Omit to cover every corpus. /us/statutes/coverage lists what each jurisdiction holds.
titleNumberintegerUSC or CFR title number, e.g. 17 (SEC) or 42 (civil rights). State titles are not numeric — use code.
excludeRepealedbooleanDrop sections whose status is affirmatively dead (repealed, renumbered, superseded, ...). A section with no recorded status is kept; read goodLawStatus on each result.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Vaquill CountEsta API Vaquill | $0.01 por chamada | JSON assíncrono |
Vaquill | A partir de $0 por chamada | JSON assíncrono |
Vaquill | $0.01 por chamada | JSON assíncrono |
Vaquill | A partir de $0.02 por chamada | JSON assíncrono |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/vaquill/count com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.01 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Nenhum parâmetro é obrigatório. Opcionais: code (any), part (any), state (any), chapter (any), actStatus (any) e corpusType (any) e mais 2. A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Um resultado JSON. Este endpoint é assíncrono, então a resposta informa como buscar o resultado final.
Não. Vaquill Count funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Vaquill separadamente.