The endpoint for the Bills dataset, including all legislation available to your Quorum account.
The endpoint for the Bills dataset, including all legislation available to your Quorum account.
Sample queries:
www.quorum.us/api/newbill/12345/?username=[USERNAME]&api_key=[API_KEY]
www.quorum.us/api/newbill/?title__contains=infrastructure&username=[USERNAME]&api_key=[API_KEY]
amendment_count | integer <int64> NOTE: Parameter accepts additional qualifiers appended to the end: |
bill_type | integer <int64> The bill's type (e.g. H.R., S., H.J.Res. etc.) NOTE: Parameter accepts additional qualifiers appended to the end: See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name BillType, for an explanation of values. |
committees | Array of integers <int64> Committees to which the bill has been referred. NOTE: Parameter accepts additional qualifiers appended to the end: |
current_general_status | integer <int64> The current status of the bill. NOTE: Parameter accepts additional qualifiers appended to the end: See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name GeneralBillStatus, for an explanation of values. |
current_status | integer <int64> A more specific status of the bill. NOTE: Parameter accepts additional qualifiers appended to the end: See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name BillStatus, for an explanation of values. |
current_status_date | string <date-time> The date of the last major action on the bill corresponding to the current_status. NOTE: Parameter accepts additional qualifiers appended to the end: |
fts_index | string |
id | integer <int64> The Quorum primary key for this record; guaranteed to be persistent and unique across all objects at this endpoint. |
introduced_date | string <date-time> The date the bill was introduced. NOTE: Parameter accepts additional qualifiers appended to the end: |
label | string Bill's type and number without state abbreviation (e.g. HB 1, SB 24) NOTE: Parameter accepts additional qualifiers appended to the end: |
most_recent_action_date | string <date-time> The date of the last major action on the bill. NOTE: Parameter accepts additional qualifiers appended to the end: |
num_committees | integer <int64> Number of committees a bill has been assigned to. NOTE: Parameter accepts additional qualifiers appended to the end: |
num_cosponsors | integer <int64> Number of cosponsors that a bill has. NOTE: Parameter accepts additional qualifiers appended to the end: |
num_democrat_cosponsors | integer <int64> Number of democratic cosponsors that a bill has. NOTE: Parameter accepts additional qualifiers appended to the end: |
num_female_cosponsors | integer <int64> Number of female cosponsors that a bill has. NOTE: Parameter accepts additional qualifiers appended to the end: |
num_independent_cosponsors | integer <int64> Number of independent cosponsors that a bill has. NOTE: Parameter accepts additional qualifiers appended to the end: |
num_male_cosponsors | integer <int64> Number of male cosponsors that a bill has. NOTE: Parameter accepts additional qualifiers appended to the end: |
num_republican_cosponsors | integer <int64> Number republican of cosponsors that a bill has. NOTE: Parameter accepts additional qualifiers appended to the end: |
number | integer <int64> Bill number without the type or state abbreviation (e.g. 24, 214) NOTE: Parameter accepts additional qualifiers appended to the end: |
primary_party | integer <int64> Party of majority of sponsors. For Federal, party of the sponsor. NOTE: Parameter accepts additional qualifiers appended to the end: See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name Party, for an explanation of values. |
region | integer <int64> The region whose legislature the bill was introduced in. NOTE: Parameter accepts additional qualifiers appended to the end: See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name Region, for an explanation of values. |
session_id | integer <int64> The LegSession object in which the bill was introduced. NOTE: Parameter accepts additional qualifiers appended to the end: |
sponsor_id | integer <int64> The primary sponsor of the bill. NOTE: Parameter accepts additional qualifiers appended to the end: |
sponsors | Array of integers <int64> The sponsors of this bill. NOTE: Parameter accepts additional qualifiers appended to the end: |
terms | Array of integers <int64> Subject areas associated with the bill. NOTE: Parameter accepts additional qualifiers appended to the end: |
title | string The bill's primary display title, including its number. NOTE: Parameter accepts additional qualifiers appended to the end: |
vote_count | integer <int64> NOTE: Parameter accepts additional qualifiers appended to the end: |
word_count | integer <int64> NOTE: Parameter accepts additional qualifiers appended to the end: |
years_of_consideration | Array of integers <int64> |
dehydrate_extra | Array of strings Option to provide additional detail for certain fields, either by expanding those fields with additional details from the related model or by substituting more informative values for the actual database values. |
advanced_search | string Perform an advanced text search on the datset with the provided text. This search will use the most comprehensive search method available on the requested endpoint, but can take slightly longer to return results. |
quick_search | string Perform an quick text search on the datset with the provided text. This search method may, depending on the endpoint, be exactly identical to advanced search, or may return results significantly more quickly but with less completeness or accuracy, for example by searching less fields, or using a faster algorithm to identify matches that has a greater propensity for false positives/false negatives. |
limit | integer <int64> Default: 20 The number of records to return (for pagination). |
offset | integer <int64> Default: 0 The number of records to offset the start of the data being returned (for pagination). |
NewBill retrieved successfully
improperly configured request
authorization failure
internal server error
{- "_extra": { },
- "achieved_general_statuses": null,
- "bill_type": 1,
- "committees": [
- "/api/committee/1/"
], - "current_general_status": 1,
- "current_status": 1,
- "current_status_date": "2019-08-24T14:15:22Z",
- "current_status_text": "string",
- "draft_number": 0,
- "executive": "/api/newperson/1/",
- "id": 0,
- "introduced_date": "2019-08-24T14:15:22Z",
- "is_approps": true,
- "label": "string",
- "last_action_text": "string",
- "major_actions": { },
- "most_recent_action_date": "2019-08-24T14:15:22Z",
- "num_democrat_cosponsors": 0,
- "num_female_cosponsors": 0,
- "num_independent_cosponsors": 0,
- "num_male_cosponsors": 0,
- "num_republican_cosponsors": 0,
- "number": 0,
- "organization_nominated_to": "/api/publicorganization/1/",
- "procedure_code": "string",
- "public_law_number": "string",
- "region": 1,
- "resource_uri": "string",
- "session": "/api/legsession/1/",
- "slug": "string",
- "snippets": null,
- "source_link": "string",
- "title": "string"
}
The endpoint for the Bills dataset, including all legislation available to your Quorum account.
NewBill retrieved successfully
improperly configured request
authorization failure
internal server error
{- "_extra": { },
- "achieved_general_statuses": null,
- "bill_type": 1,
- "committees": [
- "/api/committee/1/"
], - "current_general_status": 1,
- "current_status": 1,
- "current_status_date": "2019-08-24T14:15:22Z",
- "current_status_text": "string",
- "draft_number": 0,
- "executive": "/api/newperson/1/",
- "id": 0,
- "introduced_date": "2019-08-24T14:15:22Z",
- "is_approps": true,
- "label": "string",
- "last_action_text": "string",
- "major_actions": { },
- "most_recent_action_date": "2019-08-24T14:15:22Z",
- "num_democrat_cosponsors": 0,
- "num_female_cosponsors": 0,
- "num_independent_cosponsors": 0,
- "num_male_cosponsors": 0,
- "num_republican_cosponsors": 0,
- "number": 0,
- "organization_nominated_to": "/api/publicorganization/1/",
- "procedure_code": "string",
- "public_law_number": "string",
- "region": 1,
- "resource_uri": "string",
- "session": "/api/legsession/1/",
- "slug": "string",
- "snippets": null,
- "source_link": "string",
- "title": "string"
}