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

# List bill text versions

> Retrieve the published versions of a bill's text.

Returns the published versions of a bill's text, ordered by publication date, oldest first. Versions without a publication date are listed last.

This endpoint returns metadata only. To retrieve the full text of a version, use [Get bill text version](https://docs.parsagon.io/api-reference/legislative/get-text.md).

## Path parameters

**bill\_id** `string` *required*

The `id` of the bill.

## Query parameters

**limit** `number`

The maximum number of records to return. Defaults to `100`; maximum `500`.

**offset** `number`

The number of records to skip. Defaults to `0`.

## Response

**count** `integer`

Total number of records that match the query.

**next** `string | null`

URL for the next page of results, or `null` if this is the last page.

**previous** `string | null`

URL for the previous page of results, or `null` if this is the first page.

**results** `array`

Array of text versions, oldest first.

**Text version fields**

**id** `string`

UUID of the text version.

**external\_id** `string`

The text version's ID in the legislature's own system.

**title** `string`

Title of the text version, such as `"HL Bill 57"`. Empty if unavailable.

**publication\_type** `string`

Type of publication, as given by the legislature. Empty if unavailable.

**publication\_date** `string | null`

When the text version was published (ISO 8601).

**is\_current** `boolean`

Whether this is the bill's current text.

**pdf\_url** `string`

URL of the PDF version on the legislature's website. Empty if unavailable.

**html\_url** `string`

URL of the HTML version on the legislature's website. Empty if unavailable.

**download\_url** `string`

URL that Parsagon downloaded the text from. Empty if unavailable.

**source** `string | null`

`uuid` of the `"LEGISLATION"` source that holds the extracted text. `null` until the text is extracted.

**has\_text** `boolean`

Whether the extracted text is available from [Get bill text version](https://docs.parsagon.io/api-reference/legislative/get-text.md).

## Errors

| Status | Meaning |
| - | - |
| `403 Forbidden` | Your account doesn't have a valid subscription or hasn't accepted the Terms of Service. |
| `404 Not Found` | No bill has this `id`, or the bill belongs to a jurisdiction you can't access. |

```json Example response theme={null}
{
  "count": 4,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": "1e9a5c3f-7b2d-4c60-a8f1-4d6b0e2c9a75",
      "external_id": "65075",
      "title": "Bill 389",
      "publication_type": "Bill",
      "publication_date": "2026-02-25T00:00:00Z",
      "is_current": false,
      "pdf_url": "https://publications.parliament.uk/pa/bills/cbill/59-01/0389/240389.pdf",
      "html_url": "",
      "download_url": "https://publications.parliament.uk/pa/bills/cbill/59-01/0389/240389.pdf",
      "source": "2d7f0b48-3a6e-4c19-9d82-5b1e7a3f0c64",
      "has_text": true
    },
    {
      "id": "a7c2e9f1-4b6d-4e83-9a05-3f1d8b6c2e47",
      "external_id": "66182",
      "title": "Bill 422",
      "publication_type": "Bill",
      "publication_date": "2026-04-28T00:00:00Z",
      "is_current": false,
      "pdf_url": "https://publications.parliament.uk/pa/bills/cbill/59-01/0422/240422.pdf",
      "html_url": "",
      "download_url": "https://publications.parliament.uk/pa/bills/cbill/59-01/0422/240422.pdf",
      "source": "c5e1a8d3-6f2b-4097-b4c8-1a9e7d3f5b20",
      "has_text": true
    },
    {
      "id": "3d8f6b2a-9e1c-4a57-8f30-6b4e2d9a1c85",
      "external_id": "66295",
      "title": "Bill 005",
      "publication_type": "Bill",
      "publication_date": "2026-05-14T00:00:00Z",
      "is_current": false,
      "pdf_url": "https://publications.parliament.uk/pa/bills/cbill/59-02/0005/260005.pdf",
      "html_url": "https://publications.parliament.uk/pa/bills/cbill/59-02/0005/260005.html",
      "download_url": "https://publications.parliament.uk/pa/bills/cbill/59-02/0005/260005.pdf",
      "source": "8b4a2f7e-0d5c-4e19-a3b6-9c1f5e8d2a64",
      "has_text": true
    },
    {
      "id": "6f3b8d21-0e4a-4b7c-95d6-8a2c1f9e4b03",
      "external_id": "68079",
      "title": "HL Bill 57",
      "publication_type": "Bill",
      "publication_date": "2026-10-14T00:00:00Z",
      "is_current": true,
      "pdf_url": "https://bills.parliament.uk/publications/68079/documents/8898",
      "html_url": "https://bills.parliament.uk/publications/68079/documents/8900",
      "download_url": "https://bills.parliament.uk/publications/68079/documents/8898",
      "source": "9a7e6b14-2c5d-4f80-b3e1-7d2c8f05a6b9",
      "has_text": true
    }
  ]
}
```

```bash cURL theme={null}
curl -X GET "https://parsagon.io/api/legislative/v1/bills/b8e2d4f0-1a3c-4e5b-8d7f-6c9a0b2e4d61/texts/" \
  -H "Authorization: Token YOUR_API_KEY_HERE"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.