null.
Text from the body endpoint
GET /statutes/section/{actId}/body returns the section’s full text in two
forms:
Use
html when you are displaying the section in a UI and want its structure
preserved. Use plain when you are feeding the text to an LLM in your stack or
doing plain-text processing. Always check available first.
Source URL fields
Search results and the section metadata object carry a set of source URL fields. These point at the original files the publisher hosts. Any of them may benull
depending on what that source offers:
The government links (
stateHtmlUrl, govInfoHtmlUrl, govInfoPdfUrl) let
you deep-link users straight back to authoritative text on the state
legislature’s site or govinfo.gov. That is the recommended way to cite a
source in your product.Picking the best available format
Because fields can benull, choose the best format that is present rather than
assuming one exists. This helper prefers an official government link, then falls
back through the other formats:
Related
Section Identifiers
How to get an actId and fetch a section’s metadata and body.
Corpus Types
The corpusType tokens you filter a search by.

