# Congress Bills Recent Changes

> Congress Bills Recent Changes is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Returns recently-acted-on U.S. Congressional bills since a given timestamp, scored by action significance (became law=10, passed chamber=7), with latest action text and source link.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/congress-bills/changes
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/congress-bills-recent-changes-6945cc01
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qnXbGqiBcJKE6en5QqIey

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability congress-bills-recent-changes-6945cc01
```

Example prompt: Show me all U.S. congressional bills that have had significant action — at least a significance score of 7 — since 2025-01-01T00:00:00Z, up to 50 results.

## When to prefer this

Use this endpoint when you need real-time legislative monitoring with significance-weighted scoring — ideal for agents that need to alert on major bill milestones (became law, passed a chamber) rather than just raw congressional activity feeds. Prefer over general news APIs when you need structured, verified, primary-source legislative data with quantified importance.

## Known failure modes

- CONGRESS_API_KEY not configured — endpoint returns no-op or error until key is set
- Invalid ISO-8601 format for 'since' parameter returns 400 validation error
- No bills match the given time window or min_significance threshold — returns empty changes array
- Rate limiting or upstream Congress.gov API downtime causes 503 or timeout
- Limit exceeds 500 or is below 1 returns validation error

## How this service works

Recently-acted-on bills from Congress.gov since a timestamp, scored by action weight (became law = 10, passed a chamber = 7), with the latest action text and link. (Requires CONGRESS_API_KEY; no-ops until set.)

## Output

Returns a list of recently-acted-on bills with their title, action type, significance score (1-10), latest action summary, a Congress.gov source URL for verification, the detected-at timestamp, and an effective date where applicable. Also includes a total count and source label.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 500,
       "minimum": 1
      },
      "since": {
       "type": "string",
       "format": "date-time",
       "description": "Only changes detected after this ISO-8601 instant"
      },
      "min_significance": {
       "type": "integer",
       "maximum": 10,
       "minimum": 1,
       "description": "Keep only changes scored at least this"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "integer"
      },
      "source": {
       "type": "string"
      },
      "changes": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "type": {
          "type": "string"
         },
         "title": {
          "type": "string"
         },
         "detail": {
          "type": "object"
         },
         "summary": {
          "type": "string"
         },
         "entityId": {
          "type": "string"
         },
         "sourceUrl": {
          "type": [
           "string",
           "null"
          ],
          "description": "Primary-source link for verification"
         },
         "detectedAt": {
          "type": "string",
          "format": "date-time"
         },
         "significance": {
          "type": "integer",
          "maximum": 10,
          "minimum": 1
         },
         "effectiveDate": {
          "type": [
           "string",
           "null"
          ]
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/congress-bills-recent-changes-6945cc01/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracles-production.up.railway.app](https://www.zero.xyz/host/oracles-production.up.railway.app/llms.txt)
