bills
Lookup Bills
Batch lookup with a structured JSON body. Same response shape as GET /bills/batch, which it supersedes for anything non-trivial.
The GET form encodes each lookup as JUR:NUMBER:SESSION in the query string, which breaks in two ways that are not hypothetical: 100 session-qualified keys is 4-8KB of URL, past the default request-line limit on common proxies (they return 414 before our own error can fire), and the colon delimiter collides with session identifiers and OCD jurisdiction ids that contain colons themselves.
Keys are echoed back on each result so callers can correlate without re-implementing bill-number normalization.
post/api/v1/bills/lookup
Request
- Base URL: https://api.billcommons.org
- URL: https://api.billcommons.org/api/v1/bills/lookup
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.