Skip to main content
Get category sources
curl --request GET \
  --url https://parsagon.io/api/events/v1/categories/{category_id}/sources/
{
  "sources": [
    {
      "url": "https://legislature.maine.gov/LawMakerWeb/summary.asp?ID=280101474",
      "title": "An Act to Lower Health Insurance Costs, Reduce Barriers to Health Care and Ensure Fair Prices for Health Care",
      "text": "Be it enacted by the People of the State of Maine as follows:...",
      "summary": "This act aims to lower health insurance costs, reduce barriers to health care, and ensure fair prices for health care services in Maine.",
      "date": "2026-02-03",
      "type": "LAW",
      "extra_data": {
        "last_action": "Committee on Health Coverage, Insurance and Financial Services suggested and ordered printed.",
        "last_action_date": "2/3/2026"
      }
    }
  ],
  "error": null
}
Returns a chronological list of all sources collected for the specified category. Results cover up to the last 90 days.

Path parameters

category_id
number
required
The ID of the data category to retrieve sources for.

Response

sources
array
Array of source objects in chronological order (oldest first).
error
string | null
Error message if an error occurred; otherwise null.
{
  "sources": [
    {
      "url": "https://legislature.maine.gov/LawMakerWeb/summary.asp?ID=280101474",
      "title": "An Act to Lower Health Insurance Costs, Reduce Barriers to Health Care and Ensure Fair Prices for Health Care",
      "text": "Be it enacted by the People of the State of Maine as follows:...",
      "summary": "This act aims to lower health insurance costs, reduce barriers to health care, and ensure fair prices for health care services in Maine.",
      "date": "2026-02-03",
      "type": "LAW",
      "extra_data": {
        "last_action": "Committee on Health Coverage, Insurance and Financial Services suggested and ordered printed.",
        "last_action_date": "2/3/2026"
      }
    }
  ],
  "error": null
}

Example (cURL)

curl -X GET "https://parsagon.io/api/events/v1/categories/1/sources/" \
  -H "Authorization: Token YOUR_API_KEY_HERE"