# Congress.gov Treaty Lookup

> Congress.gov Treaty 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 international treaties transmitted to the US Senate for advice and consent, including parties, topic, transmittal date, and consideration status.

## Facts

- Endpoint: GET https://2s.io/api/gov/congress-treaty
- 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-29e2853e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__bSFx_uJEFUo9phKgee8V

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-29e2853e
```

Example prompt: Can you pull up the details for treaty number 3 from the 118th Congress, including which parties signed it, what topic it covers, and when it was transmitted to the Senate?

## When to prefer this

Use this endpoint when you need structured, authoritative data on international treaties submitted to the US Senate — particularly when you need to filter by congress number, look up a specific treaty by number and optional suffix, or enumerate all treaties received by a particular congress. Prefer this over general web search when you need machine-readable treaty metadata including parties, topic, and transmittal dates.

## Known failure modes

- Treaty not found for given congress + number combination returns 404
- Missing required congress parameter may return validation error
- Invalid suffix format returns error
- Rate limiting or payment failure returns 402
- Offset or limit out of bounds returns validation error

## How this service works

Look up or list international treaties transmitted to the US Senate for advice and consent via Congress.gov. Pass congress + number (optionally + suffix for partitioned treaties) to fetch a single treaty with parties, topic, transmittal date, and consideration status. Or list by congress. Returns the congress the treaty was received in, the congress that considered it (if any), partial-treaty suffix, topic, transmitted date, and count of parties.

## Output

Returns structured treaty data including: the congress that received the treaty, the congress that considered it (if any), the partial-treaty suffix (if applicable), the treaty topic, the transmittal date, a list of parties, and the count of parties. When listing, returns paginated results across all treaties for a given congress.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "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": {
      "limit": {
       "type": "integer",
       "default": 25,
       "maximum": 250,
       "minimum": 1
      },
      "number": {
       "type": "integer"
      },
      "offset": {
       "type": "integer",
       "default": 0,
       "minimum": 0
      },
      "suffix": {
       "type": "string",
       "description": "Partition letter (e.g. \"A\")."
      },
      "congress": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-29e2853e/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)
