Overview
The Parsagon Search API gives you programmatic access to a daily-updated dataset of legislation, regulations, and other government publications across 70+ countries. We currently have active coverage for the following countries: Argentina, Australia, Austria, Belgium, Brazil, Bulgaria, Canada, Chile, China, Colombia, Costa Rica, Croatia, Cyprus, Czech Republic, Denmark, Dominican Republic, Ecuador, Egypt, Estonia, European Union, Finland, France, Germany, Greece, Hong Kong, Hungary, India, Indonesia, Ireland, Israel, Italy, Japan, Kazakhstan, Kenya, Kuwait, Latvia, Lithuania, Malaysia, Malta, Mexico, Netherlands, New Zealand, Nigeria, Norway, Peru, Philippines, Poland, Portugal, Qatar, Romania, Saudi Arabia, Singapore, Slovakia, Slovenia, South Africa, South Korea, Spain, Sweden, Switzerland, Taiwan, Thailand, Turkey, Turkmenistan, Ukraine, United Arab Emirates, United Kingdom, United States, Uruguay, Uzbekistan, Vietnam If you need coverage for a jurisdiction we don’t currently list, we can typically add it quickly. We can ingest and deliver essentially any publicly available government material (where available in a jurisdiction), including:- Legislation
- Regulations
- Consultations
- Guidance
- Enforcement actions
- Press releases and announcements
- Speeches
- Mainstream business/political news
Methods
The API provides three ways to retrieve data: Quick Search runs an ad-hoc search and returns results immediately. Use this for one-off queries over a window of up to 72 hours. No persistent object is created. Advanced Search creates a persistent Search object and processes it asynchronously. It supports date ranges up to 90 days and can produce an AI-generated report alongside raw results. Poll the returnedid to retrieve results once processing is complete.
Get Category Sources returns the full chronological list of all sources collected for a given data category, without any AI filtering or summarization. Use this to retrieve raw, unfiltered data for a specific category, covering up to the last 90 days.
Base URL
All endpoints are relative to:Authentication
All requests must be authenticated using an API key. Include your API key in theAuthorization HTTP header, prefixed with Token and a space:
Content types
Request bodies must be sent as JSON:Shared request schema
Both Quick Search and Advanced Search use the same request body schema.Array of category IDs to include in the search results.
Additional context for the AI to tailor the search and reporting (for example, your organization or focus area). Maximum 1000 characters.
A description of what to search for. This should be a list of policy topics, one per line — longer, descriptive phrases work best. Maximum 5000 characters.
Example filter_prompt
Constrains the time period for documents. Specify either a fixed range (
start_date and end_date) or a relative duration (duration_seconds).Date range limits
| Endpoint | Maximum window |
|---|---|
| Quick Search | 72 hours (3 days) — duration_seconds ≤ 259200 |
| Advanced Search | 90 days — duration_seconds ≤ 7776000 |
start_date is 90 days before the time of the request. Historical data older than 90 days is available upon request.
Example request body: