# US Federal Bill Lookup

> US Federal Bill Lookup is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-11).

Fetches full details for a single US federal bill including title, sponsor, cosponsors, committees, policy area, complete action history, and computed lifecycle stages from introduction to enactment.

## Facts

- Endpoint: GET https://payai.agentstools.dev/legislative/bill?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-federal-bill-lookup-f6b9ab88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ETCpSoCpT1J5wBWIwf2lE

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 us-federal-bill-lookup-f6b9ab88
```

Example prompt: Can you pull up the full details for HR 3076 from the 118th Congress — I want to see the sponsor, cosponsors, which committees reviewed it, and where it stands in the legislative process?

## When to prefer this

Use this endpoint when you need comprehensive structured data on a specific US federal bill — including its full legislative history and lifecycle stage — rather than just a summary. Ideal for legislative tracking, policy research, or compliance workflows that require authoritative Congress.gov data with computed stage labels rather than raw XML parsing from GovInfo directly.

## Known failure modes

- Invalid or unrecognized bill ID format returns an error
- Bill not found for the given congress number and bill type/number combination
- Partial data if the bill is very new and not yet fully indexed
- Missing optional fields (cosponsors, committees) for very early-stage bills

## How this service works

Look up one US federal bill by id: title, sponsor, cosponsors, committees, policy area, full action history and computed lifecycle stages (introduced to enacted). Source: Congress.gov + GovInfo, public-domain.

## Output

A structured record for the requested US federal bill including its official title, primary sponsor, list of cosponsors, committees of jurisdiction, policy area classification, a chronological full action history, and computed lifecycle stages (e.g. introduced, referred, passed House, passed Senate, enacted) derived from Congress.gov and GovInfo data.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "bill_id": {
       "type": "string",
       "description": "Bill id like hr3076-118 (billtype+number-congress)"
      },
      "billType": {
       "enum": [
        "hr",
        "s",
        "hjres",
        "sjres",
        "hconres",
        "sconres",
        "hres",
        "sres"
       ],
       "type": "string",
       "description": "Bill type"
      },
      "congress": {
       "type": "integer",
       "description": "Congress number, e.g. 118 (with billType+billNumber)"
      },
      "billNumber": {
       "type": "integer",
       "description": "Bill number, e.g. 3076"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-federal-bill-lookup-f6b9ab88/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
