Discover/legiscan.com API
live

legiscan.com APIlegiscan.com

Search US state and federal bills, retrieve structured bill metadata, and fetch full bill text across all 50 states via the LegiScan API.

Endpoints
3
Updated
10d ago
Try it
Page number for pagination (0-based)
Filter by session year (e.g., 2025). Omitting returns current session results.
Search keyword for full text search of bills
Two-letter state code (e.g., CA, NY, TX) or ALL for national search
api.parse.bot/scraper/c4d58c4e-fbfb-4514-9812-71912e9a0c3d/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/c4d58c4e-fbfb-4514-9812-71912e9a0c3d/search_bills?query=minimum+wage&state=ALL' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Search for bills by keyword and state. Returns paginated results with bill metadata including state, bill number, status, title, last action, and URLs for detail and text pages.

Input
ParamTypeDescription
pageintegerPage number for pagination (0-based)
yearstringFilter by session year (e.g., 2025). Omitting returns current session results.
querystringSearch keyword for full text search of bills
statestringTwo-letter state code (e.g., CA, NY, TX) or ALL for national search
Response
{
  "type": "object",
  "fields": {
    "bills": "array of bill objects with state, bill_number, status, title, last_action, detail_url, text_url"
  },
  "sample": {
    "data": {
      "bills": [
        {
          "state": "CA",
          "title": "Residential tenancies: return of security.",
          "status": "Pass",
          "text_url": "https://legiscan.com/CA/text/AB414/2025",
          "detail_url": "https://legiscan.com/CA/bill/AB414/2025",
          "bill_number": "AB414",
          "last_action": "2025-10-06Chaptered by Secretary of State - Chapter 340, Statutes of 2025."
        }
      ]
    },
    "status": "success"
  }
}

About the legiscan.com API

The LegiScan API exposes 3 endpoints covering US legislative data across all 50 states — search bills by keyword and state with search_bills, pull structured metadata with get_bill_details, and retrieve full legal text with get_bill_text. Each bill result includes state, bill number, status, last action, and direct URLs for detail and text pages, giving developers a direct path from keyword search to the full text of any bill.

Bill Search

The search_bills endpoint accepts a query keyword, a two-letter state code (or ALL for a national search), an optional year to pin results to a specific legislative session, and a 0-based page integer for pagination. Each result in the returned bills array includes state, bill_number, status, title, last_action, detail_url, and text_url. Omitting year returns results from the current session.

Bill Details and Text

get_bill_details requires state, bill_number, and year to identify a bill uniquely. It returns the bill's page url, a title string that encodes the state, bill number, and session, and a summary describing the bill's purpose. This is useful for quickly understanding what a bill does before pulling its full text.

get_bill_text retrieves the complete legal text of a bill as a content string. You can either pass a url directly from search_bills results or supply state, bill_number, and year as individual parameters — both input patterns resolve to the same output.

Coverage and Scope

LegiScan tracks legislation across all US states. The state parameter across all endpoints accepts standard two-letter US state codes, and the year parameter maps to legislative session years. Session scope varies by state since legislative calendars differ; omitting year defaults to the current active session for the selected state.

Common use cases
  • Monitor bills mentioning a specific topic (e.g., 'climate' or 'housing') across all states using search_bills with state=ALL
  • Build a bill-tracking dashboard that shows status and last_action fields for a curated list of bills
  • Extract and index full bill text via get_bill_text for legal research or compliance analysis
  • Compare how different states are legislating the same issue by searching the same keyword across multiple state values
  • Automate alerts when new bills matching a keyword appear by periodically querying search_bills and checking last_action
  • Populate a legislative news feed with bill title and summary fields from get_bill_details
  • Retrieve historical session bills by passing a specific year to narrow results to a past legislative session
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does LegiScan have an official developer API?+
Yes. LegiScan offers an official API at https://legiscan.com/legiscan, which provides access to legislative data with API key authentication. The Parse API covers bill search, bill details, and bill text without requiring you to manage a LegiScan API key directly.
What does `search_bills` return and how do I scope it to a single state?+
Each item in the bills array includes state, bill_number, status, title, last_action, detail_url, and text_url. Pass a two-letter state code like CA or TX to the state parameter to restrict results. Use state=ALL to search nationally. The year parameter narrows results to a specific legislative session; omitting it returns the current session.
Does the API expose sponsor information or voting records?+
Not currently. The three endpoints cover bill search metadata, a bill summary, and full bill text. Sponsor names, co-sponsor lists, and roll-call voting records are not included in the current response fields. You can fork this API on Parse and revise it to add an endpoint that retrieves sponsor and vote data from LegiScan bill pages.
How does pagination work in `search_bills`?+
The page parameter is 0-based, so the first page of results is page=0. If you omit it, you get the first page by default. There is no explicit total-count field in the response, so you determine if additional pages exist by checking whether the returned bills array is non-empty.
Can I retrieve bill amendment history or previous versions through `get_bill_text`?+
The get_bill_text endpoint returns the text content found at the provided URL, which typically corresponds to the version linked from search results. Versioned amendment history and prior drafts are not surfaced as discrete response fields. You can fork this API on Parse and revise it to target specific version URLs if LegiScan exposes them on the bill detail page.
Page content last updated . Spec covers 3 endpoints from legiscan.com.
Related APIs in Government PublicSee all →
identify.plantnet.org API
Identify and explore plant species by searching through Pl@ntNet's comprehensive botanical database to access detailed information like taxonomic families, genera, species descriptions, photos, and community observations. Track plant distributions, view contribution trends, and discover expert contributors within the platform's collaborative plant identification community.
data.lime.bike API
Access real-time availability data for Lime bikes and scooters, including station locations, vehicle status, system alerts, and geofencing zones across multiple cities. Monitor micromobility inventory and service information to find nearby vehicles or plan your trips effectively.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
mahatenders.gov.in API
Access Maharashtra government tenders from mahatenders.gov.in, browsing them by closing date or by organization with full tender details and pagination support. Find and review procurement opportunities across different government departments in one place.