> ## Documentation Index
> Fetch the complete documentation index at: https://vaquill.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get statute full text

> Get the full text of a statute section in HTML and plain text.

**Cost**: 6 credits ($0.06). You are only charged when text is returned:
not-found (404), failed fetches, and sections whose text is not yet ingested
(`available: false`) are all refunded.

Works across USC, CFR, and state corpora. The text preserves formatting,
cross-references, and paragraph numbering as published in the official source.

**Response**: `available: true` with `html` + `plain`, or `available: false`
with a `note` and `creditsConsumed: 0` when the full text is not yet ingested
(metadata is still available from `/statutes/section/{actId}`).



## OpenAPI

````yaml https://api.vaquill.ai/external/openapi.json get /api/v1/statutes/section/{act_id}/body
openapi: 3.1.0
info:
  title: Vaquill Developer API
  description: >-
    Public API for legal statutes and legislation.


    **Authentication**: Pass your API key via the `Authorization: Bearer
    vq_key_...` header.


    **Credits**: Each call costs API credits. See `GET
    /api/v1/api-credits/pricing` for the full pricing matrix.


    ## Jurisdictions


    | Jurisdiction | Coverage | `countryCode` |

    |---|---|---|

    | **United States** | USC, CFR, nearly all 50 state statutory codes (plus DC
    and Puerto Rico), state constitutions, and court rules. | `US` |


    See the full [Coverage page](https://www.vaquill.ai/docs/coverage) for the
    jurisdiction-by-jurisdiction breakdown, or call `/statutes/states` for live
    counts.


    ## Endpoints


    - **US Statutes**: Search and retrieve USC, CFR, state statutes,
    constitutions, court rules, executive orders, and regulations with full text

    - **Pricing**: Credit costs per endpoint (no auth required)


    ## Rate limits


    Limits are enforced per API key and scale with your plan. A `429` response
    includes a `Retry-After` header.


    | Plan | Per minute | Per hour | Per day |

    |---|---|---|---|

    | API ($199/mo, 1x) | 30 | 500 | 2,000 |

    | API Business ($1,000/mo, 5x) | 150 | 2,500 | 10,000 |


    For full documentation, visit the [API
    Reference](https://www.vaquill.ai/docs/api-reference/).
  version: 1.0.0
  contact:
    name: Vaquill API Support
    url: https://www.vaquill.ai
    email: support@vaquill.ai
  license:
    name: Proprietary
    url: https://www.vaquill.ai/terms
  termsOfService: https://www.vaquill.ai/terms
servers:
  - url: https://api.vaquill.ai
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: US Statutes
    description: >-
      Search and retrieve US statutes. Covers the United States Code (USC), Code
      of Federal Regulations (CFR), all 50 state statutes, constitutions, court
      rules, executive orders, Federal Register agency rules, agency guidance,
      and state regulations. Scope a search with the `corpusType` filter.


      - **Search**: Search across all USC, CFR, state, and regulatory sections

      - **Section**: Get metadata, citation, hierarchy, and source links for a
      specific section

      - **Body**: Get the full text of a section
  - name: Pricing
    description: >-
      Credit pricing and conversion rates. No authentication required. 1 credit
      = $0.01 USD.
externalDocs:
  description: Full API Reference
  url: https://www.vaquill.ai/docs/api-reference/
paths:
  /api/v1/statutes/section/{act_id}/body:
    get:
      tags:
        - US Statutes
      summary: Get statute full text
      description: >-
        Get the full text of a statute section in HTML and plain text.


        **Cost**: 6 credits ($0.06). You are only charged when text is returned:

        not-found (404), failed fetches, and sections whose text is not yet
        ingested

        (`available: false`) are all refunded.


        Works across USC, CFR, and state corpora. The text preserves formatting,

        cross-references, and paragraph numbering as published in the official
        source.


        **Response**: `available: true` with `html` + `plain`, or `available:
        false`

        with a `note` and `creditsConsumed: 0` when the full text is not yet
        ingested

        (metadata is still available from `/statutes/section/{actId}`).
      operationId: get_section_body_api_v1_statutes_section__act_id__body_get
      parameters:
        - name: act_id
          in: path
          required: true
          schema:
            type: string
            minLength: 3
            maxLength: 200
            description: Section identifier.
            examples:
              - CFR_T17_P240_S240_10b5_1
            title: Act Id
          description: Section identifier.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatuteBodyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    StatuteBodyResponse:
      properties:
        actId:
          type: string
          title: Actid
        html:
          anyOf:
            - type: string
            - type: 'null'
          title: Html
          description: HTML-formatted statute text.
        plain:
          anyOf:
            - type: string
            - type: 'null'
          title: Plain
          description: Plain text version.
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
          description: Data source identifier.
        available:
          type: boolean
          title: Available
          description: Whether full text is available.
          default: true
        note:
          anyOf:
            - type: string
            - type: 'null'
          title: Note
          description: Note if text is unavailable.
        processingTimeMs:
          type: number
          title: Processingtimems
          default: 0
        creditsConsumed:
          type: number
          title: Creditsconsumed
          default: 0
      type: object
      required:
        - actId
      title: StatuteBodyResponse
      description: Full text of a statute section in HTML and/or plain text.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: vq_key_*
      description: >-
        API key issued from the Vaquill developer dashboard. Pass as
        `Authorization: Bearer vq_key_...`

````