# 2s.io Congress Amendment Lookup

> 2s.io Congress Amendment Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-09-16).

Look up or list US Congressional amendments from Congress.gov, including sponsor and action history, filterable by congress, amendment type, and date range.

## Facts

- Endpoint: GET https://2s.io/api/gov/congress-amendment
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-3f719d4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4mAC5R2IFF1FuLBvb48TN

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 2s-io-3f719d4b
```

Example prompt: Can you pull up House Amendment number 42 from the 118th Congress and show me the sponsor and full action history?

## When to prefer this

Use this endpoint when you need structured data about US Congressional amendments from Congress.gov, especially when you need sponsor information and full action history for a specific amendment, or when filtering amendments by type and date range. Prefer this over general web search when you need machine-readable amendment data.

## Known failure modes

- Invalid amendment type enum value — must be hamdt, samdt, or suamdt
- Amendment not found for given congress + type + number combination — 404 response
- Missing required parameters (type) returns validation error
- Date format not in YYYY-MM-DD format causes parse error
- Offset or limit out of allowed range causes validation error
- Congress number references non-existent session

## How this service works

Look up or list US Congressional amendments via Congress.gov. Pass congress + type + number to fetch a single amendment with full sponsor + action history. Or filter list by congress + type + date range. Amendment types: hamdt=House Amendment, samdt=Senate Amendment, suamdt=Senate Unprinted Amendment.

## Output

Returns either a single amendment record with full sponsor details and action history (when congress + type + number are specified), or a paginated list of amendments filtered by congress, type, and/or date range. Each record includes amendment metadata, sponsor, and chronological action history.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "type": "hamdt",
   "limit": 10,
   "offset": 0,
   "congress": 118
  }
 }
}
```

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "type": {
       "enum": [
        "hamdt",
        "samdt",
        "suamdt"
       ],
       "type": "string"
      },
      "limit": {
       "type": "integer",
       "default": 25,
       "maximum": 250,
       "minimum": 1
      },
      "number": {
       "type": "integer"
      },
      "offset": {
       "type": "integer",
       "default": 0,
       "minimum": 0
      },
      "toDate": {
       "type": "string"
      },
      "congress": {
       "type": "integer"
      },
      "fromDate": {
       "type": "string",
       "description": "YYYY-MM-DD."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-3f719d4b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
