---
title: "Get a bill by ID"
method: GET
path: "/v1/bills/{id}"
tags: ["Bills"]
---

# Get a bill by ID

`GET /v1/bills/{id}`

## Request

- Base URL: `https://api.dapperglobal.com`
- URL: `https://api.dapperglobal.com/v1/bills/{id}`
- Auth: API key in header `X-API-Key`

Full detail for one bill: title, type, source, and congress_records (the chamber's own docket links). Doesn't include tramitaciones/votes/interventions — use get_bill_overview(bill_id) instead if you need those in the same call. Bill ids are globally unique; no country_code needed.

**Data sources:** the official docket systems of each national congress — e.g. Câmara dos Deputados and Senado Federal (Brazil), Cámara de Diputados/Senado, Congreso, Asamblea Nacional. Each record carries its official docket code and a link to the chamber's file in `congress_records`.

## Path parameters

- `id` integer, required

## Response `200`

Successful response (real sample data)

- BillDetail
  - `dapper_url` string, nullable: This record's page in the Dapper platform (dapperglobal.com) — hand this to a person who wants the full detail. Use it as given; the routes are not derivable from the payload. `null` means the record has no page (see the field's per-domain notes), not that the link is missing. Distinct from `external_link`/`congress_records[].link`, which point at the original official document.
  - `relevance` number, nullable
  - `country_code` string, nullable
  - `country_id` integer, nullable
  - `id` integer, required
  - `title` string, nullable
  - `filing_date` string, date, nullable
  - `created_at` string, date-time, nullable
  - `legislative_period` string, nullable
  - `bill_type` string, nullable
  - `source` string, nullable
  - `congress_records` BillCongressRecord[]
    - `code` string, nullable
    - `link` string, nullable
    - `congress_name` string, nullable
    - `congress_short_name` string, nullable
  - `authors` BillAuthor[]
    - `actor_id` integer, required
    - `name` string, nullable
  - `origin` string, nullable
  - `latest_state` string, nullable
  - `subject` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dapperglobal/apis/dapper-political-intelligence-api.md) · [All operations](https://skmtc.dev/dapperglobal/apis/dapper-political-intelligence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dapperglobal/apis/dapper-political-intelligence-api/revisions/f34d9e6a2b0e?raw)
