The endpoint for the Bills dataset, including all legislation available to your Quorum account.
Retrieve multiple bills based on search critera passed as GET Arguments
get/newbill/
Securityapi_key and username
Request
query Parameters
amendment_count
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: amendment_count__in - The value for the record is in the provided array parameter (comma-separated values). amendment_count__gt, amendment_count__gte, amendment_count__lt, amendment_count__lte - The value for the record is greater than/less than (or equal to) the provided parameter. amendment_count__isnull - The value for the record is null (if true) or is not null.
bill_type
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: bill_type__in - The value for the record is in the provided array parameter (comma-separated values).
See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name BillType, for an explanation of values.
The committees that are associated with this bill.
NOTE: Parameter accepts additional qualifiers appended to the end: committees__overlaps - The value for the record has one or more values in common with the provided array parameter (comma-separated values).
current_general_status
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: current_general_status__in - The value for the record is in the provided array parameter (comma-separated values). current_general_status__isnull - The value for the record is null (if true) or is not null.
See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name GeneralBillStatus, for an explanation of values.
NOTE: Parameter accepts additional qualifiers appended to the end: current_status__in - The value for the record is in the provided array parameter (comma-separated values).
See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name BillStatus, for an explanation of values.
NOTE: Parameter accepts additional qualifiers appended to the end: current_status_date__year, current_status_date__month, current_status_date__day - The value for the record matches the provided year/month/day (note that week_day, hour, minute, and second are also available following similar patterns).
effective_date
string <date-time>
NOTE: Parameter accepts additional qualifiers appended to the end: effective_date__year, effective_date__month, effective_date__day - The value for the record matches the provided year/month/day (note that week_day, hour, minute, and second are also available following similar patterns).
enacted_date
string <date-time>
NOTE: Parameter accepts additional qualifiers appended to the end: enacted_date__year, enacted_date__month, enacted_date__day - The value for the record matches the provided year/month/day (note that week_day, hour, minute, and second are also available following similar patterns).
fts_index
string
id
integer <int64>
Quorum ID (Primary Key)
introduced_date
string <date-time>
NOTE: Parameter accepts additional qualifiers appended to the end: introduced_date__year, introduced_date__month, introduced_date__day - The value for the record matches the provided year/month/day (note that week_day, hour, minute, and second are also available following similar patterns).
is_vetoed
boolean
label
string
NOTE: Parameter accepts additional qualifiers appended to the end: label__in - The value for the record is in the provided array parameter (comma-separated values). label__contains, label__icontains - The value for the record contains the string provided as a parameter within it (partial match). (Use 'icontains' for matching to be done case-insensitive) label__startswith, label__istartswith - The value for the record starts with the string provided as a parameter. (Use 'istartswith' for matching to be done case-insensitive) label__endswith, label__iendswith - The value for the record ends with the string provided as a parameter within it (partial match). (Use 'iendswith' for matching to be done case-insensitive) label__iexact - The value for the record is a case-insensitive exact match to the provided parameter. label__isnull - The value for the record is null (if true) or is not null.
language
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: language__in - The value for the record is in the provided array parameter (comma-separated values).
See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name BillLanguage, for an explanation of values.
Enum:123456
most_recent_action_date
string <date-time>
NOTE: Parameter accepts additional qualifiers appended to the end: most_recent_action_date__year, most_recent_action_date__month, most_recent_action_date__day - The value for the record matches the provided year/month/day (note that week_day, hour, minute, and second are also available following similar patterns).
num_committees
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: num_committees__in - The value for the record is in the provided array parameter (comma-separated values). num_committees__gt, num_committees__gte, num_committees__lt, num_committees__lte - The value for the record is greater than/less than (or equal to) the provided parameter. num_committees__isnull - The value for the record is null (if true) or is not null.
num_cosponsors
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: num_cosponsors__in - The value for the record is in the provided array parameter (comma-separated values). num_cosponsors__gt, num_cosponsors__gte, num_cosponsors__lt, num_cosponsors__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
num_democrat_cosponsors
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: num_democrat_cosponsors__in - The value for the record is in the provided array parameter (comma-separated values). num_democrat_cosponsors__gt, num_democrat_cosponsors__gte, num_democrat_cosponsors__lt, num_democrat_cosponsors__lte - The value for the record is greater than/less than (or equal to) the provided parameter. num_democrat_cosponsors__isnull - The value for the record is null (if true) or is not null.
num_female_cosponsors
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: num_female_cosponsors__in - The value for the record is in the provided array parameter (comma-separated values). num_female_cosponsors__gt, num_female_cosponsors__gte, num_female_cosponsors__lt, num_female_cosponsors__lte - The value for the record is greater than/less than (or equal to) the provided parameter. num_female_cosponsors__isnull - The value for the record is null (if true) or is not null.
num_independent_cosponsors
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: num_independent_cosponsors__in - The value for the record is in the provided array parameter (comma-separated values). num_independent_cosponsors__gt, num_independent_cosponsors__gte, num_independent_cosponsors__lt, num_independent_cosponsors__lte - The value for the record is greater than/less than (or equal to) the provided parameter. num_independent_cosponsors__isnull - The value for the record is null (if true) or is not null.
num_male_cosponsors
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: num_male_cosponsors__in - The value for the record is in the provided array parameter (comma-separated values). num_male_cosponsors__gt, num_male_cosponsors__gte, num_male_cosponsors__lt, num_male_cosponsors__lte - The value for the record is greater than/less than (or equal to) the provided parameter. num_male_cosponsors__isnull - The value for the record is null (if true) or is not null.
num_republican_cosponsors
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: num_republican_cosponsors__in - The value for the record is in the provided array parameter (comma-separated values). num_republican_cosponsors__gt, num_republican_cosponsors__gte, num_republican_cosponsors__lt, num_republican_cosponsors__lte - The value for the record is greater than/less than (or equal to) the provided parameter. num_republican_cosponsors__isnull - The value for the record is null (if true) or is not null.
number
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: number__in - The value for the record is in the provided array parameter (comma-separated values). number__gt, number__gte, number__lt, number__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
primary_party
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: primary_party__in - The value for the record is in the provided array parameter (comma-separated values). primary_party__isnull - The value for the record is null (if true) or is not null.
NOTE: Parameter accepts additional qualifiers appended to the end: region__in - The value for the record is in the provided array parameter (comma-separated values).
The legsession with which this bill is associated.
NOTE: Parameter accepts additional qualifiers appended to the end: session__in - The value for the record is in the provided array parameter (comma-separated values). session__isnull - The value for the record is null (if true) or is not null.
sponsor_id
integer <int64>
The newperson with which this bill is associated.
NOTE: Parameter accepts additional qualifiers appended to the end: sponsor__in - The value for the record is in the provided array parameter (comma-separated values). sponsor__isnull - The value for the record is null (if true) or is not null.
sponsors
Array of integers <int64>
The newsponsors that are associated with this bill.
NOTE: Parameter accepts additional qualifiers appended to the end: sponsors__overlaps - The value for the record has one or more values in common with the provided array parameter (comma-separated values).
terms
Array of integers <int64>
The billterms that are associated with this bill.
NOTE: Parameter accepts additional qualifiers appended to the end: terms__overlaps - The value for the record has one or more values in common with the provided array parameter (comma-separated values).
title
string
NOTE: Parameter accepts additional qualifiers appended to the end: title__in - The value for the record is in the provided array parameter (comma-separated values). title__contains, title__icontains - The value for the record contains the string provided as a parameter within it (partial match). (Use 'icontains' for matching to be done case-insensitive) title__startswith, title__istartswith - The value for the record starts with the string provided as a parameter. (Use 'istartswith' for matching to be done case-insensitive) title__endswith, title__iendswith - The value for the record ends with the string provided as a parameter within it (partial match). (Use 'iendswith' for matching to be done case-insensitive) title__iexact - The value for the record is a case-insensitive exact match to the provided parameter.
updated
string <date-time>
NOTE: Parameter accepts additional qualifiers appended to the end: updated__year, updated__month, updated__day - The value for the record matches the provided year/month/day (note that week_day, hour, minute, and second are also available following similar patterns).
veto_date
string <date-time>
NOTE: Parameter accepts additional qualifiers appended to the end: veto_date__year, veto_date__month, veto_date__day - The value for the record matches the provided year/month/day (note that week_day, hour, minute, and second are also available following similar patterns).
vote_count
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: vote_count__in - The value for the record is in the provided array parameter (comma-separated values). vote_count__gt, vote_count__gte, vote_count__lt, vote_count__lte - The value for the record is greater than/less than (or equal to) the provided parameter. vote_count__isnull - The value for the record is null (if true) or is not null.
word_count
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: word_count__in - The value for the record is in the provided array parameter (comma-separated values). word_count__gt, word_count__gte, word_count__lt, word_count__lte - The value for the record is greater than/less than (or equal to) the provided parameter. word_count__isnull - The value for the record is null (if true) or is not null.
years_of_consideration
Array of integers <int64>
dehydrate
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. display_status - expand display_status with additional details. effective_date - expand effective_date with additional details. effective_date_rule_code - expand effective_date_rule_code with additional details. effective_date_source - expand effective_date_source with additional details. enacted_date - expand enacted_date with additional details. executive - expand executive with additional details. is_vetoed - expand is_vetoed with additional details. major_actions - expand major_actions with additional details. organization_nominated_to - expand organization_nominated_to with additional details. resource_uri - expand resource_uri with additional details. snippets - expand snippets with additional details. sponsor_name - expand sponsor_name with additional details. status_actions - expand status_actions with additional details. veto_date - expand veto_date with additional details. veto_type - expand veto_type with additional details. NOTE: This parameter can accept one or more comma-separated values; it is not limited to a single value.
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.sponsors - expand sponsors with additional details. NOTE: This parameter can accept one or more comma-separated values; it is not limited to a single value.
Items Value:"sponsors"
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).
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. display_status - expand display_status with additional details. effective_date - expand effective_date with additional details. effective_date_rule_code - expand effective_date_rule_code with additional details. effective_date_source - expand effective_date_source with additional details. enacted_date - expand enacted_date with additional details. executive - expand executive with additional details. is_vetoed - expand is_vetoed with additional details. major_actions - expand major_actions with additional details. organization_nominated_to - expand organization_nominated_to with additional details. resource_uri - expand resource_uri with additional details. snippets - expand snippets with additional details. sponsor_name - expand sponsor_name with additional details. status_actions - expand status_actions with additional details. veto_date - expand veto_date with additional details. veto_type - expand veto_type with additional details. NOTE: This parameter can accept one or more comma-separated values; it is not limited to a single value.
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.sponsors - expand sponsors with additional details. NOTE: This parameter can accept one or more comma-separated values; it is not limited to a single value.