data-analyst-mcp 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/README.md +262 -262
  2. package/dist/report/method_audit.js +7 -1
  3. package/dist/report/method_audit.js.map +1 -1
  4. package/dist/report/scan_secrets.d.ts +4 -1
  5. package/dist/report/scan_secrets.js +36 -5
  6. package/dist/report/scan_secrets.js.map +1 -1
  7. package/dist/server.d.ts +1 -1
  8. package/dist/server.js +3 -2
  9. package/dist/server.js.map +1 -1
  10. package/guide/WORKFLOW.md +134 -134
  11. package/guide/assets/disclaimer.txt +1 -1
  12. package/guide/assets/download_data.ps1 +162 -162
  13. package/guide/assets/report_template.html +597 -597
  14. package/guide/references/routing.md +171 -171
  15. package/guide/references/style_guide.md +398 -398
  16. package/package.json +56 -56
  17. package/packs/acf/endpoints.json +114 -114
  18. package/packs/acf/policy.json +104 -104
  19. package/packs/actuaries/endpoints.json +82 -82
  20. package/packs/actuaries/policy.json +109 -109
  21. package/packs/bea/assets/download_bea.ps1 +182 -182
  22. package/packs/bea/docs/bea_api.md +461 -461
  23. package/packs/bea/docs/datasets.md +157 -157
  24. package/packs/bea/docs/report_patterns.md +112 -112
  25. package/packs/bea/policy.json +170 -170
  26. package/packs/bea/source.md +152 -152
  27. package/packs/bls/assets/download_bls.ps1 +152 -152
  28. package/packs/bls/docs/analysis_patterns.md +108 -108
  29. package/packs/bls/docs/bls_api.md +73 -73
  30. package/packs/bls/docs/series_ids.md +149 -149
  31. package/packs/bls/policy.json +238 -238
  32. package/packs/bts/endpoints.json +346 -346
  33. package/packs/bts/policy.json +94 -94
  34. package/packs/cdc/endpoints.json +197 -197
  35. package/packs/cdc/policy.json +83 -83
  36. package/packs/census/endpoints.json +99 -99
  37. package/packs/cfpb/endpoints.json +326 -326
  38. package/packs/cfpb/policy.json +119 -119
  39. package/packs/clinical-trials/endpoints.json +166 -166
  40. package/packs/clinical-trials/policy.json +84 -84
  41. package/packs/cms/endpoints.json +69 -69
  42. package/packs/cms/policy.json +96 -96
  43. package/packs/college-scorecard/endpoints.json +252 -252
  44. package/packs/college-scorecard/policy.json +106 -106
  45. package/packs/congress/endpoints.json +1701 -1701
  46. package/packs/congress/policy.json +117 -117
  47. package/packs/dhs-ohss/endpoints.json +66 -66
  48. package/packs/dhs-ohss/policy.json +107 -107
  49. package/packs/doj-news/endpoints.json +59 -59
  50. package/packs/doj-news/policy.json +96 -96
  51. package/packs/dol/endpoints.json +817 -817
  52. package/packs/dol/policy.json +135 -135
  53. package/packs/eia/endpoints.json +717 -717
  54. package/packs/eia/policy.json +112 -112
  55. package/packs/epa/endpoints.json +291 -291
  56. package/packs/epa/policy.json +99 -99
  57. package/packs/epa-aqs/endpoints.json +173 -173
  58. package/packs/epa-aqs/policy.json +96 -96
  59. package/packs/fbi/endpoints.json +1841 -1841
  60. package/packs/fbi/policy.json +118 -118
  61. package/packs/fda/endpoints.json +237 -237
  62. package/packs/fda/policy.json +121 -121
  63. package/packs/fdic/endpoints.json +416 -416
  64. package/packs/fdic/policy.json +83 -83
  65. package/packs/fec/endpoints.json +707 -707
  66. package/packs/fec/policy.json +93 -93
  67. package/packs/fed-board/endpoints.json +89 -89
  68. package/packs/fed-board/policy.json +136 -136
  69. package/packs/federal-register/endpoints.json +143 -143
  70. package/packs/federal-register/policy.json +86 -86
  71. package/packs/fema/endpoints.json +645 -645
  72. package/packs/fema/policy.json +103 -103
  73. package/packs/fhfa/endpoints.json +105 -105
  74. package/packs/fhfa/policy.json +109 -109
  75. package/packs/fred/assets/download_fred.ps1 +122 -122
  76. package/packs/fred/docs/analysis_patterns.md +124 -124
  77. package/packs/fred/docs/fred_api.md +94 -94
  78. package/packs/fred/docs/series.md +188 -188
  79. package/packs/fred/policy.json +253 -253
  80. package/packs/fsa/endpoints.json +150 -150
  81. package/packs/fsa/policy.json +99 -99
  82. package/packs/govinfo/endpoints.json +519 -519
  83. package/packs/gsa-calc/endpoints.json +93 -93
  84. package/packs/gsa-calc/policy.json +97 -97
  85. package/packs/hud/endpoints.json +146 -146
  86. package/packs/hud/policy.json +84 -84
  87. package/packs/ipums/docs/report_patterns.md +117 -117
  88. package/packs/irs-soi/endpoints.json +114 -114
  89. package/packs/irs-soi/policy.json +107 -107
  90. package/packs/medicaid/endpoints.json +412 -412
  91. package/packs/medicaid/policy.json +108 -108
  92. package/packs/naep/endpoints.json +217 -217
  93. package/packs/naep/policy.json +100 -100
  94. package/packs/nhtsa/endpoints.json +132 -132
  95. package/packs/nhtsa/policy.json +93 -93
  96. package/packs/nih/endpoints.json +452 -452
  97. package/packs/nih/policy.json +86 -86
  98. package/packs/noaa/endpoints.json +431 -431
  99. package/packs/noaa/policy.json +95 -95
  100. package/packs/nrel/endpoints.json +327 -327
  101. package/packs/nrel/policy.json +96 -96
  102. package/packs/nws/endpoints.json +271 -271
  103. package/packs/nws/policy.json +82 -82
  104. package/packs/nyfed/endpoints.json +80 -80
  105. package/packs/nyfed/policy.json +92 -92
  106. package/packs/omb/endpoints.json +460 -460
  107. package/packs/omb/policy.json +106 -106
  108. package/packs/open-payments/endpoints.json +297 -297
  109. package/packs/open-payments/policy.json +101 -101
  110. package/packs/opm/assets/download_opm.ps1 +125 -125
  111. package/packs/opm/docs/fields.md +184 -184
  112. package/packs/opm/docs/opm_api.md +71 -71
  113. package/packs/opm/docs/report_patterns.md +83 -83
  114. package/packs/opm/lib/data_dictionary.csv +73 -73
  115. package/packs/pbgc/endpoints.json +483 -483
  116. package/packs/pbgc/policy.json +94 -94
  117. package/packs/philfed/endpoints.json +85 -85
  118. package/packs/philfed/policy.json +94 -94
  119. package/packs/regulations/endpoints.json +287 -287
  120. package/packs/regulations/policy.json +86 -86
  121. package/packs/sec/endpoints.json +236 -236
  122. package/packs/sec/policy.json +86 -86
  123. package/packs/senate-lobbying/endpoints.json +553 -553
  124. package/packs/senate-lobbying/policy.json +99 -99
  125. package/packs/snapqc/endpoints.json +1426 -1426
  126. package/packs/snapqc/policy.json +92 -92
  127. package/packs/treasury/catalog.json +2267 -2267
  128. package/packs/treasury/docs/api_guide.md +245 -245
  129. package/packs/treasury/docs/datasets.md +56 -56
  130. package/packs/treasury/docs/report_patterns.md +126 -126
  131. package/packs/treasury/policy.json +159 -159
  132. package/packs/treasury/source.md +170 -165
  133. package/packs/treasury-yields/endpoints.json +226 -226
  134. package/packs/treasury-yields/policy.json +86 -86
  135. package/packs/usaspending/endpoints.json +1315 -1315
  136. package/packs/usaspending/policy.json +109 -109
  137. package/packs/usda-fna/policy.json +133 -133
  138. package/packs/usda-fooddata/endpoints.json +180 -180
  139. package/packs/usda-fooddata/policy.json +94 -94
  140. package/packs/usda-nass/endpoints.json +323 -323
  141. package/packs/usda-nass/policy.json +95 -95
  142. package/packs/usda-outlook/endpoints.json +86 -86
  143. package/packs/usda-outlook/policy.json +109 -109
  144. package/packs/usgs/endpoints.json +313 -313
  145. package/packs/usgs/policy.json +95 -95
  146. package/packs/usitc/endpoints.json +74 -74
  147. package/packs/usitc/policy.json +111 -111
  148. package/packs/uspto/endpoints.json +141 -141
  149. package/packs/uspto/policy.json +95 -95
  150. package/packs/va/endpoints.json +414 -414
  151. package/packs/va/policy.json +101 -101
  152. package/packs/world-bank/endpoints.json +122 -122
  153. package/packs/world-bank/policy.json +101 -101
@@ -1,1701 +1,1701 @@
1
- {
2
- "base_url": "https://api.congress.gov/v3",
3
- "endpoints": {
4
- "bills": {
5
- "path": "/bill/{congress}/{billType}",
6
- "method": "GET",
7
- "description": "Bills of one type in a Congress (latest action, title, update date). No keyword search: use govinfo search for text, or title_contains.",
8
- "params": {
9
- "congress": {
10
- "in": "path",
11
- "required": true,
12
- "desc": "Congress number, e.g. 118, or 'current'"
13
- },
14
- "billType": {
15
- "in": "path",
16
- "required": true,
17
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
18
- "enum": [
19
- "hr",
20
- "s",
21
- "hjres",
22
- "sjres",
23
- "hconres",
24
- "sconres",
25
- "hres",
26
- "sres"
27
- ]
28
- },
29
- "fromDateTime": {
30
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
31
- },
32
- "toDateTime": {
33
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
34
- },
35
- "title_contains": {
36
- "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
37
- },
38
- "sort": {
39
- "desc": "updateDate+desc (default), updateDate+asc, introducedDate+desc or introducedDate+asc",
40
- "enum": [
41
- "updateDate+desc",
42
- "updateDate+asc",
43
- "introducedDate+desc",
44
- "introducedDate+asc"
45
- ]
46
- }
47
- },
48
- "records": "bills",
49
- "paging": {
50
- "type": "offset",
51
- "limit_param": "limit",
52
- "offset_param": "offset",
53
- "size": 250
54
- },
55
- "defaults": {
56
- "format": "json"
57
- },
58
- "max_rows": 50000,
59
- "total": "pagination.count"
60
- },
61
- "bills_congress": {
62
- "path": "/bill/{congress}",
63
- "method": "GET",
64
- "description": "Every bill and resolution in a Congress.",
65
- "params": {
66
- "congress": {
67
- "in": "path",
68
- "required": true,
69
- "desc": "Congress number, e.g. 118, or 'current'"
70
- },
71
- "fromDateTime": {
72
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
73
- },
74
- "toDateTime": {
75
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
76
- },
77
- "title_contains": {
78
- "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
79
- },
80
- "sort": {
81
- "desc": "updateDate+desc (default), updateDate+asc, introducedDate+desc or introducedDate+asc",
82
- "enum": [
83
- "updateDate+desc",
84
- "updateDate+asc",
85
- "introducedDate+desc",
86
- "introducedDate+asc"
87
- ]
88
- }
89
- },
90
- "records": "bills",
91
- "paging": {
92
- "type": "offset",
93
- "limit_param": "limit",
94
- "offset_param": "offset",
95
- "size": 250
96
- },
97
- "defaults": {
98
- "format": "json"
99
- },
100
- "max_rows": 50000,
101
- "total": "pagination.count"
102
- },
103
- "bill": {
104
- "path": "/bill/{congress}/{billType}/{billNumber}",
105
- "method": "GET",
106
- "description": "One bill: title, sponsor, introduced date, policy area, latest action, laws, counts of actions, cosponsors, committees.",
107
- "params": {
108
- "congress": {
109
- "in": "path",
110
- "required": true,
111
- "desc": "Congress number, e.g. 118, or 'current'"
112
- },
113
- "billType": {
114
- "in": "path",
115
- "required": true,
116
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
117
- "enum": [
118
- "hr",
119
- "s",
120
- "hjres",
121
- "sjres",
122
- "hconres",
123
- "sconres",
124
- "hres",
125
- "sres"
126
- ]
127
- },
128
- "billNumber": {
129
- "in": "path",
130
- "required": true,
131
- "desc": "bill number, e.g. 5376"
132
- }
133
- },
134
- "records": "bill",
135
- "paging": {
136
- "type": "none"
137
- },
138
- "defaults": {
139
- "format": "json"
140
- },
141
- "max_rows": 50000
142
- },
143
- "bill_actions": {
144
- "path": "/bill/{congress}/{billType}/{billNumber}/actions",
145
- "method": "GET",
146
- "description": "Every action on a bill (date, text, type, chamber, recorded votes).",
147
- "params": {
148
- "congress": {
149
- "in": "path",
150
- "required": true,
151
- "desc": "Congress number, e.g. 118, or 'current'"
152
- },
153
- "billType": {
154
- "in": "path",
155
- "required": true,
156
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
157
- "enum": [
158
- "hr",
159
- "s",
160
- "hjres",
161
- "sjres",
162
- "hconres",
163
- "sconres",
164
- "hres",
165
- "sres"
166
- ]
167
- },
168
- "billNumber": {
169
- "in": "path",
170
- "required": true,
171
- "desc": "bill number, e.g. 5376"
172
- }
173
- },
174
- "records": "actions",
175
- "paging": {
176
- "type": "offset",
177
- "limit_param": "limit",
178
- "offset_param": "offset",
179
- "size": 250
180
- },
181
- "defaults": {
182
- "format": "json"
183
- },
184
- "max_rows": 50000,
185
- "total": "pagination.count"
186
- },
187
- "bill_cosponsors": {
188
- "path": "/bill/{congress}/{billType}/{billNumber}/cosponsors",
189
- "method": "GET",
190
- "description": "Cosponsors with party, state, date, original cosponsor flag, withdrawal date.",
191
- "params": {
192
- "congress": {
193
- "in": "path",
194
- "required": true,
195
- "desc": "Congress number, e.g. 118, or 'current'"
196
- },
197
- "billType": {
198
- "in": "path",
199
- "required": true,
200
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
201
- "enum": [
202
- "hr",
203
- "s",
204
- "hjres",
205
- "sjres",
206
- "hconres",
207
- "sconres",
208
- "hres",
209
- "sres"
210
- ]
211
- },
212
- "billNumber": {
213
- "in": "path",
214
- "required": true,
215
- "desc": "bill number, e.g. 5376"
216
- }
217
- },
218
- "records": "cosponsors",
219
- "paging": {
220
- "type": "offset",
221
- "limit_param": "limit",
222
- "offset_param": "offset",
223
- "size": 250
224
- },
225
- "defaults": {
226
- "format": "json"
227
- },
228
- "max_rows": 50000,
229
- "total": "pagination.count"
230
- },
231
- "bill_committees": {
232
- "path": "/bill/{congress}/{billType}/{billNumber}/committees",
233
- "method": "GET",
234
- "description": "Committees and their activities (referred, reported, markup).",
235
- "params": {
236
- "congress": {
237
- "in": "path",
238
- "required": true,
239
- "desc": "Congress number, e.g. 118, or 'current'"
240
- },
241
- "billType": {
242
- "in": "path",
243
- "required": true,
244
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
245
- "enum": [
246
- "hr",
247
- "s",
248
- "hjres",
249
- "sjres",
250
- "hconres",
251
- "sconres",
252
- "hres",
253
- "sres"
254
- ]
255
- },
256
- "billNumber": {
257
- "in": "path",
258
- "required": true,
259
- "desc": "bill number, e.g. 5376"
260
- }
261
- },
262
- "records": "committees",
263
- "paging": {
264
- "type": "offset",
265
- "limit_param": "limit",
266
- "offset_param": "offset",
267
- "size": 250
268
- },
269
- "defaults": {
270
- "format": "json"
271
- },
272
- "max_rows": 50000,
273
- "total": "pagination.count"
274
- },
275
- "bill_subjects": {
276
- "path": "/bill/{congress}/{billType}/{billNumber}/subjects",
277
- "method": "GET",
278
- "description": "Legislative subject terms (the policy area is in 'bill').",
279
- "params": {
280
- "congress": {
281
- "in": "path",
282
- "required": true,
283
- "desc": "Congress number, e.g. 118, or 'current'"
284
- },
285
- "billType": {
286
- "in": "path",
287
- "required": true,
288
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
289
- "enum": [
290
- "hr",
291
- "s",
292
- "hjres",
293
- "sjres",
294
- "hconres",
295
- "sconres",
296
- "hres",
297
- "sres"
298
- ]
299
- },
300
- "billNumber": {
301
- "in": "path",
302
- "required": true,
303
- "desc": "bill number, e.g. 5376"
304
- }
305
- },
306
- "records": "subjects.legislativeSubjects",
307
- "paging": {
308
- "type": "offset",
309
- "limit_param": "limit",
310
- "offset_param": "offset",
311
- "size": 250
312
- },
313
- "defaults": {
314
- "format": "json"
315
- },
316
- "max_rows": 50000,
317
- "total": "pagination.count"
318
- },
319
- "bill_summaries": {
320
- "path": "/bill/{congress}/{billType}/{billNumber}/summaries",
321
- "method": "GET",
322
- "description": "CRS summaries of each version (HTML text plus text_plain).",
323
- "params": {
324
- "congress": {
325
- "in": "path",
326
- "required": true,
327
- "desc": "Congress number, e.g. 118, or 'current'"
328
- },
329
- "billType": {
330
- "in": "path",
331
- "required": true,
332
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
333
- "enum": [
334
- "hr",
335
- "s",
336
- "hjres",
337
- "sjres",
338
- "hconres",
339
- "sconres",
340
- "hres",
341
- "sres"
342
- ]
343
- },
344
- "billNumber": {
345
- "in": "path",
346
- "required": true,
347
- "desc": "bill number, e.g. 5376"
348
- }
349
- },
350
- "records": "summaries",
351
- "paging": {
352
- "type": "offset",
353
- "limit_param": "limit",
354
- "offset_param": "offset",
355
- "size": 250
356
- },
357
- "defaults": {
358
- "format": "json"
359
- },
360
- "max_rows": 50000,
361
- "total": "pagination.count"
362
- },
363
- "bill_text": {
364
- "path": "/bill/{congress}/{billType}/{billNumber}/text",
365
- "method": "GET",
366
- "description": "Text versions with links to PDF, HTML and XML.",
367
- "params": {
368
- "congress": {
369
- "in": "path",
370
- "required": true,
371
- "desc": "Congress number, e.g. 118, or 'current'"
372
- },
373
- "billType": {
374
- "in": "path",
375
- "required": true,
376
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
377
- "enum": [
378
- "hr",
379
- "s",
380
- "hjres",
381
- "sjres",
382
- "hconres",
383
- "sconres",
384
- "hres",
385
- "sres"
386
- ]
387
- },
388
- "billNumber": {
389
- "in": "path",
390
- "required": true,
391
- "desc": "bill number, e.g. 5376"
392
- }
393
- },
394
- "records": "textVersions",
395
- "paging": {
396
- "type": "offset",
397
- "limit_param": "limit",
398
- "offset_param": "offset",
399
- "size": 250
400
- },
401
- "defaults": {
402
- "format": "json"
403
- },
404
- "max_rows": 50000,
405
- "total": "pagination.count"
406
- },
407
- "bill_titles": {
408
- "path": "/bill/{congress}/{billType}/{billNumber}/titles",
409
- "method": "GET",
410
- "description": "Official, short and popular titles.",
411
- "params": {
412
- "congress": {
413
- "in": "path",
414
- "required": true,
415
- "desc": "Congress number, e.g. 118, or 'current'"
416
- },
417
- "billType": {
418
- "in": "path",
419
- "required": true,
420
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
421
- "enum": [
422
- "hr",
423
- "s",
424
- "hjres",
425
- "sjres",
426
- "hconres",
427
- "sconres",
428
- "hres",
429
- "sres"
430
- ]
431
- },
432
- "billNumber": {
433
- "in": "path",
434
- "required": true,
435
- "desc": "bill number, e.g. 5376"
436
- }
437
- },
438
- "records": "titles",
439
- "paging": {
440
- "type": "offset",
441
- "limit_param": "limit",
442
- "offset_param": "offset",
443
- "size": 250
444
- },
445
- "defaults": {
446
- "format": "json"
447
- },
448
- "max_rows": 50000,
449
- "total": "pagination.count"
450
- },
451
- "bill_related": {
452
- "path": "/bill/{congress}/{billType}/{billNumber}/relatedbills",
453
- "method": "GET",
454
- "description": "Related bills (identical, companion, procedurally related).",
455
- "params": {
456
- "congress": {
457
- "in": "path",
458
- "required": true,
459
- "desc": "Congress number, e.g. 118, or 'current'"
460
- },
461
- "billType": {
462
- "in": "path",
463
- "required": true,
464
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
465
- "enum": [
466
- "hr",
467
- "s",
468
- "hjres",
469
- "sjres",
470
- "hconres",
471
- "sconres",
472
- "hres",
473
- "sres"
474
- ]
475
- },
476
- "billNumber": {
477
- "in": "path",
478
- "required": true,
479
- "desc": "bill number, e.g. 5376"
480
- }
481
- },
482
- "records": "relatedBills",
483
- "paging": {
484
- "type": "offset",
485
- "limit_param": "limit",
486
- "offset_param": "offset",
487
- "size": 250
488
- },
489
- "defaults": {
490
- "format": "json"
491
- },
492
- "max_rows": 50000,
493
- "total": "pagination.count"
494
- },
495
- "bill_amendments": {
496
- "path": "/bill/{congress}/{billType}/{billNumber}/amendments",
497
- "method": "GET",
498
- "description": "Amendments to a bill.",
499
- "params": {
500
- "congress": {
501
- "in": "path",
502
- "required": true,
503
- "desc": "Congress number, e.g. 118, or 'current'"
504
- },
505
- "billType": {
506
- "in": "path",
507
- "required": true,
508
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
509
- "enum": [
510
- "hr",
511
- "s",
512
- "hjres",
513
- "sjres",
514
- "hconres",
515
- "sconres",
516
- "hres",
517
- "sres"
518
- ]
519
- },
520
- "billNumber": {
521
- "in": "path",
522
- "required": true,
523
- "desc": "bill number, e.g. 5376"
524
- }
525
- },
526
- "records": "amendments",
527
- "paging": {
528
- "type": "offset",
529
- "limit_param": "limit",
530
- "offset_param": "offset",
531
- "size": 250
532
- },
533
- "defaults": {
534
- "format": "json"
535
- },
536
- "max_rows": 50000,
537
- "total": "pagination.count"
538
- },
539
- "bill_cbo_estimates": {
540
- "path": "/bill/{congress}/{billType}/{billNumber}",
541
- "method": "GET",
542
- "description": "Titles, dates and cbo.gov links of the budget office's cost estimates listed for a bill (links only, no dollar figures).",
543
- "params": {
544
- "congress": {
545
- "in": "path",
546
- "required": true,
547
- "desc": "Congress number, e.g. 118, or 'current'"
548
- },
549
- "billType": {
550
- "in": "path",
551
- "required": true,
552
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
553
- "enum": [
554
- "hr",
555
- "s",
556
- "hjres",
557
- "sjres",
558
- "hconres",
559
- "sconres",
560
- "hres",
561
- "sres"
562
- ]
563
- },
564
- "billNumber": {
565
- "in": "path",
566
- "required": true,
567
- "desc": "bill number, e.g. 5376"
568
- }
569
- },
570
- "records": "bill.cboCostEstimates",
571
- "paging": {
572
- "type": "none"
573
- },
574
- "defaults": {
575
- "format": "json"
576
- },
577
- "max_rows": 50000
578
- },
579
- "bill_votes": {
580
- "path": "/bill/{congress}/{billType}/{billNumber}/actions",
581
- "method": "GET",
582
- "description": "Roll-call votes on a bill: one row per vote with totals by party, read from the House Clerk and Senate XML that the bill's actions point to; members=true gives one row per member per vote.",
583
- "params": {
584
- "congress": {
585
- "in": "path",
586
- "required": true,
587
- "desc": "Congress number, e.g. 118, or 'current'"
588
- },
589
- "billType": {
590
- "in": "path",
591
- "required": true,
592
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
593
- "enum": [
594
- "hr",
595
- "s",
596
- "hjres",
597
- "sjres",
598
- "hconres",
599
- "sconres",
600
- "hres",
601
- "sres"
602
- ]
603
- },
604
- "billNumber": {
605
- "in": "path",
606
- "required": true,
607
- "desc": "bill number, e.g. 5376"
608
- },
609
- "members": {
610
- "desc": "true = one row per member per vote"
611
- },
612
- "chamber": {
613
- "desc": "house | senate (default both)"
614
- }
615
- },
616
- "records": "actions",
617
- "paging": {
618
- "type": "none"
619
- },
620
- "defaults": {
621
- "format": "json"
622
- },
623
- "max_rows": 50000
624
- },
625
- "laws": {
626
- "path": "/law/{congress}/{lawType}",
627
- "method": "GET",
628
- "description": "Public or private laws enacted in a Congress.",
629
- "params": {
630
- "congress": {
631
- "in": "path",
632
- "required": true,
633
- "desc": "Congress number, e.g. 118, or 'current'"
634
- },
635
- "lawType": {
636
- "in": "path",
637
- "required": true,
638
- "desc": "pub | priv",
639
- "enum": [
640
- "pub",
641
- "priv"
642
- ]
643
- },
644
- "title_contains": {
645
- "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
646
- }
647
- },
648
- "records": "bills",
649
- "paging": {
650
- "type": "offset",
651
- "limit_param": "limit",
652
- "offset_param": "offset",
653
- "size": 250
654
- },
655
- "defaults": {
656
- "format": "json"
657
- },
658
- "max_rows": 50000,
659
- "total": "pagination.count"
660
- },
661
- "laws_congress": {
662
- "path": "/law/{congress}",
663
- "method": "GET",
664
- "description": "All laws enacted in a Congress.",
665
- "params": {
666
- "congress": {
667
- "in": "path",
668
- "required": true,
669
- "desc": "Congress number, e.g. 118, or 'current'"
670
- },
671
- "title_contains": {
672
- "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
673
- }
674
- },
675
- "records": "bills",
676
- "paging": {
677
- "type": "offset",
678
- "limit_param": "limit",
679
- "offset_param": "offset",
680
- "size": 250
681
- },
682
- "defaults": {
683
- "format": "json"
684
- },
685
- "max_rows": 50000,
686
- "total": "pagination.count"
687
- },
688
- "summaries": {
689
- "path": "/summaries/{congress}/{billType}",
690
- "method": "GET",
691
- "description": "CRS bill summaries published or updated in a period (newest first).",
692
- "params": {
693
- "congress": {
694
- "in": "path",
695
- "required": true,
696
- "desc": "Congress number, e.g. 118, or 'current'"
697
- },
698
- "billType": {
699
- "in": "path",
700
- "required": true,
701
- "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
702
- "enum": [
703
- "hr",
704
- "s",
705
- "hjres",
706
- "sjres",
707
- "hconres",
708
- "sconres",
709
- "hres",
710
- "sres"
711
- ]
712
- },
713
- "fromDateTime": {
714
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
715
- },
716
- "toDateTime": {
717
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
718
- },
719
- "sort": {
720
- "desc": "updateDate+desc (default)"
721
- }
722
- },
723
- "records": "summaries",
724
- "paging": {
725
- "type": "offset",
726
- "limit_param": "limit",
727
- "offset_param": "offset",
728
- "size": 250
729
- },
730
- "defaults": {
731
- "format": "json"
732
- },
733
- "max_rows": 50000,
734
- "total": "pagination.count"
735
- },
736
- "house_votes": {
737
- "path": "/house-vote/{congress}/{session}",
738
- "method": "GET",
739
- "description": "House roll-call votes in a session (118th Congress on; older: roll_call with the Clerk XML).",
740
- "params": {
741
- "congress": {
742
- "in": "path",
743
- "required": true,
744
- "desc": "Congress number, e.g. 118, or 'current'"
745
- },
746
- "session": {
747
- "in": "path",
748
- "required": true,
749
- "desc": "1 or 2"
750
- }
751
- },
752
- "records": "houseRollCallVotes",
753
- "paging": {
754
- "type": "offset",
755
- "limit_param": "limit",
756
- "offset_param": "offset",
757
- "size": 250
758
- },
759
- "defaults": {
760
- "format": "json"
761
- },
762
- "max_rows": 50000,
763
- "total": "pagination.count"
764
- },
765
- "house_vote": {
766
- "path": "/house-vote/{congress}/{session}/{voteNumber}",
767
- "method": "GET",
768
- "description": "One House vote with totals by party (118th Congress on).",
769
- "params": {
770
- "congress": {
771
- "in": "path",
772
- "required": true,
773
- "desc": "Congress number, e.g. 118, or 'current'"
774
- },
775
- "session": {
776
- "in": "path",
777
- "required": true,
778
- "desc": "1 or 2"
779
- },
780
- "voteNumber": {
781
- "in": "path",
782
- "required": true,
783
- "desc": "roll number"
784
- }
785
- },
786
- "records": "houseRollCallVote.votePartyTotal",
787
- "paging": {
788
- "type": "none"
789
- },
790
- "defaults": {
791
- "format": "json"
792
- },
793
- "max_rows": 50000
794
- },
795
- "roll_call": {
796
- "path": "/roll_call",
797
- "method": "GET",
798
- "description": "One roll-call vote, one row per member (House 1990 on from clerk.house.gov, Senate 1989 on from senate.gov); summary=true gives one row for the vote itself.",
799
- "params": {
800
- "chamber": {
801
- "required": true,
802
- "desc": "house | senate",
803
- "enum": [
804
- "house",
805
- "senate"
806
- ]
807
- },
808
- "roll": {
809
- "required": true,
810
- "desc": "roll-call (vote) number"
811
- },
812
- "congress": {
813
- "desc": "Congress number (Senate: required)"
814
- },
815
- "session": {
816
- "desc": "1 or 2 (Senate: required)"
817
- },
818
- "year": {
819
- "desc": "House: calendar year (or give congress + session)"
820
- },
821
- "summary": {
822
- "desc": "true: one row for the vote (question, result, vote type, totals) instead of one per member"
823
- }
824
- },
825
- "records": "",
826
- "paging": {
827
- "type": "none"
828
- },
829
- "defaults": {
830
- "format": "json"
831
- },
832
- "max_rows": 50000
833
- },
834
- "senate_votes": {
835
- "path": "/senate_votes",
836
- "method": "GET",
837
- "description": "Senate roll-call votes in a session (vote list from senate.gov: number, date, issue, question, result, yeas, nays; en_bloc counts nominations voted together).",
838
- "params": {
839
- "congress": {
840
- "required": true,
841
- "desc": "Congress number, 101 on"
842
- },
843
- "session": {
844
- "required": true,
845
- "desc": "1 or 2"
846
- }
847
- },
848
- "records": "",
849
- "paging": {
850
- "type": "none"
851
- },
852
- "defaults": {
853
- "format": "json"
854
- },
855
- "max_rows": 50000
856
- },
857
- "members": {
858
- "path": "/member",
859
- "method": "GET",
860
- "description": "Members of Congress (all time); currentMember=true for those serving now.",
861
- "params": {
862
- "currentMember": {
863
- "desc": "true | false"
864
- },
865
- "fromDateTime": {
866
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
867
- },
868
- "toDateTime": {
869
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
870
- }
871
- },
872
- "records": "members",
873
- "paging": {
874
- "type": "offset",
875
- "limit_param": "limit",
876
- "offset_param": "offset",
877
- "size": 250
878
- },
879
- "defaults": {
880
- "format": "json"
881
- },
882
- "max_rows": 50000,
883
- "total": "pagination.count"
884
- },
885
- "members_congress": {
886
- "path": "/member/congress/{congress}",
887
- "method": "GET",
888
- "description": "Everyone who served in a Congress (both chambers).",
889
- "params": {
890
- "congress": {
891
- "in": "path",
892
- "required": true,
893
- "desc": "Congress number, e.g. 118, or 'current'"
894
- },
895
- "currentMember": {
896
- "desc": "true | false"
897
- }
898
- },
899
- "records": "members",
900
- "paging": {
901
- "type": "offset",
902
- "limit_param": "limit",
903
- "offset_param": "offset",
904
- "size": 250
905
- },
906
- "defaults": {
907
- "format": "json"
908
- },
909
- "max_rows": 50000,
910
- "total": "pagination.count"
911
- },
912
- "members_state": {
913
- "path": "/member/congress/{congress}/{stateCode}",
914
- "method": "GET",
915
- "description": "Members from one state in a Congress.",
916
- "params": {
917
- "congress": {
918
- "in": "path",
919
- "required": true,
920
- "desc": "Congress number, e.g. 118, or 'current'"
921
- },
922
- "stateCode": {
923
- "in": "path",
924
- "required": true,
925
- "desc": "two-letter, e.g. MD"
926
- },
927
- "currentMember": {
928
- "desc": "true | false"
929
- }
930
- },
931
- "records": "members",
932
- "paging": {
933
- "type": "offset",
934
- "limit_param": "limit",
935
- "offset_param": "offset",
936
- "size": 250
937
- },
938
- "defaults": {
939
- "format": "json"
940
- },
941
- "max_rows": 50000,
942
- "total": "pagination.count"
943
- },
944
- "members_district": {
945
- "path": "/member/congress/{congress}/{stateCode}/{district}",
946
- "method": "GET",
947
- "description": "Members for one House district in a Congress.",
948
- "params": {
949
- "congress": {
950
- "in": "path",
951
- "required": true,
952
- "desc": "Congress number, e.g. 118, or 'current'"
953
- },
954
- "stateCode": {
955
- "in": "path",
956
- "required": true,
957
- "desc": "two-letter"
958
- },
959
- "district": {
960
- "in": "path",
961
- "required": true,
962
- "desc": "district number (0 at large)"
963
- }
964
- },
965
- "records": "members",
966
- "paging": {
967
- "type": "offset",
968
- "limit_param": "limit",
969
- "offset_param": "offset",
970
- "size": 250
971
- },
972
- "defaults": {
973
- "format": "json"
974
- },
975
- "max_rows": 50000,
976
- "total": "pagination.count"
977
- },
978
- "member": {
979
- "path": "/member/{bioguideId}",
980
- "method": "GET",
981
- "description": "One member: terms, party history, leadership, counts of sponsored and cosponsored bills.",
982
- "params": {
983
- "bioguideId": {
984
- "in": "path",
985
- "required": true,
986
- "desc": "e.g. P000197"
987
- }
988
- },
989
- "records": "member",
990
- "paging": {
991
- "type": "none"
992
- },
993
- "defaults": {
994
- "format": "json"
995
- },
996
- "max_rows": 50000
997
- },
998
- "member_sponsored": {
999
- "path": "/member/{bioguideId}/sponsored-legislation",
1000
- "method": "GET",
1001
- "description": "Bills and amendments a member sponsored.",
1002
- "params": {
1003
- "bioguideId": {
1004
- "in": "path",
1005
- "required": true,
1006
- "desc": "bioguide id"
1007
- }
1008
- },
1009
- "records": "sponsoredLegislation",
1010
- "paging": {
1011
- "type": "offset",
1012
- "limit_param": "limit",
1013
- "offset_param": "offset",
1014
- "size": 250
1015
- },
1016
- "defaults": {
1017
- "format": "json"
1018
- },
1019
- "max_rows": 50000,
1020
- "total": "pagination.count"
1021
- },
1022
- "member_cosponsored": {
1023
- "path": "/member/{bioguideId}/cosponsored-legislation",
1024
- "method": "GET",
1025
- "description": "Bills and amendments a member cosponsored.",
1026
- "params": {
1027
- "bioguideId": {
1028
- "in": "path",
1029
- "required": true,
1030
- "desc": "bioguide id"
1031
- }
1032
- },
1033
- "records": "cosponsoredLegislation",
1034
- "paging": {
1035
- "type": "offset",
1036
- "limit_param": "limit",
1037
- "offset_param": "offset",
1038
- "size": 250
1039
- },
1040
- "defaults": {
1041
- "format": "json"
1042
- },
1043
- "max_rows": 50000,
1044
- "total": "pagination.count"
1045
- },
1046
- "committees": {
1047
- "path": "/committee/{congress}/{chamber}",
1048
- "method": "GET",
1049
- "description": "Committees and subcommittees in a Congress.",
1050
- "params": {
1051
- "congress": {
1052
- "in": "path",
1053
- "required": true,
1054
- "desc": "Congress number, e.g. 118, or 'current'"
1055
- },
1056
- "chamber": {
1057
- "in": "path",
1058
- "required": true,
1059
- "desc": "house | senate | joint",
1060
- "enum": [
1061
- "house",
1062
- "senate",
1063
- "joint"
1064
- ]
1065
- }
1066
- },
1067
- "records": "committees",
1068
- "paging": {
1069
- "type": "offset",
1070
- "limit_param": "limit",
1071
- "offset_param": "offset",
1072
- "size": 250
1073
- },
1074
- "defaults": {
1075
- "format": "json"
1076
- },
1077
- "max_rows": 50000,
1078
- "total": "pagination.count"
1079
- },
1080
- "committee": {
1081
- "path": "/committee/{chamber}/{committeeCode}",
1082
- "method": "GET",
1083
- "description": "One committee: history, subcommittees, counts of bills and reports.",
1084
- "params": {
1085
- "chamber": {
1086
- "in": "path",
1087
- "required": true,
1088
- "desc": "house | senate | joint"
1089
- },
1090
- "committeeCode": {
1091
- "in": "path",
1092
- "required": true,
1093
- "desc": "system code, e.g. hsba00, ssfi00"
1094
- }
1095
- },
1096
- "records": "committee",
1097
- "paging": {
1098
- "type": "none"
1099
- },
1100
- "defaults": {
1101
- "format": "json"
1102
- },
1103
- "max_rows": 50000
1104
- },
1105
- "committee_bills": {
1106
- "path": "/committee/{chamber}/{committeeCode}/bills",
1107
- "method": "GET",
1108
- "description": "Bills referred to or reported by a committee (all Congresses; committee_bills_congress for one).",
1109
- "params": {
1110
- "chamber": {
1111
- "in": "path",
1112
- "required": true,
1113
- "desc": "house | senate | joint"
1114
- },
1115
- "committeeCode": {
1116
- "in": "path",
1117
- "required": true,
1118
- "desc": "system code"
1119
- },
1120
- "fromDateTime": {
1121
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1122
- },
1123
- "toDateTime": {
1124
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1125
- }
1126
- },
1127
- "records": "committee-bills.bills",
1128
- "paging": {
1129
- "type": "offset",
1130
- "limit_param": "limit",
1131
- "offset_param": "offset",
1132
- "size": 250
1133
- },
1134
- "defaults": {
1135
- "format": "json"
1136
- },
1137
- "max_rows": 50000,
1138
- "total": "pagination.count"
1139
- },
1140
- "committee_bills_congress": {
1141
- "path": "/committee/{congress}/{chamber}/{committeeCode}/bills",
1142
- "method": "GET",
1143
- "description": "Bills referred to or reported by a committee in one Congress (same rows as committee_bills).",
1144
- "params": {
1145
- "congress": {
1146
- "in": "path",
1147
- "required": true,
1148
- "desc": "Congress number, e.g. 118, or 'current'"
1149
- },
1150
- "chamber": {
1151
- "in": "path",
1152
- "required": true,
1153
- "desc": "house | senate | joint"
1154
- },
1155
- "committeeCode": {
1156
- "in": "path",
1157
- "required": true,
1158
- "desc": "system code"
1159
- },
1160
- "fromDateTime": {
1161
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1162
- },
1163
- "toDateTime": {
1164
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1165
- }
1166
- },
1167
- "records": "committee-bills.bills",
1168
- "paging": {
1169
- "type": "offset",
1170
- "limit_param": "limit",
1171
- "offset_param": "offset",
1172
- "size": 250
1173
- },
1174
- "defaults": {
1175
- "format": "json"
1176
- },
1177
- "max_rows": 50000,
1178
- "total": "pagination.count"
1179
- },
1180
- "committee_reports": {
1181
- "path": "/committee-report/{congress}/{reportType}",
1182
- "method": "GET",
1183
- "description": "Committee reports in a Congress (citation, number, chamber).",
1184
- "params": {
1185
- "congress": {
1186
- "in": "path",
1187
- "required": true,
1188
- "desc": "Congress number, e.g. 118, or 'current'"
1189
- },
1190
- "reportType": {
1191
- "in": "path",
1192
- "required": true,
1193
- "desc": "hrpt | srpt | erpt",
1194
- "enum": [
1195
- "hrpt",
1196
- "srpt",
1197
- "erpt"
1198
- ]
1199
- },
1200
- "fromDateTime": {
1201
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1202
- },
1203
- "toDateTime": {
1204
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1205
- }
1206
- },
1207
- "records": "reports",
1208
- "paging": {
1209
- "type": "offset",
1210
- "limit_param": "limit",
1211
- "offset_param": "offset",
1212
- "size": 250
1213
- },
1214
- "defaults": {
1215
- "format": "json"
1216
- },
1217
- "max_rows": 50000,
1218
- "total": "pagination.count"
1219
- },
1220
- "hearing": {
1221
- "path": "/hearing/{congress}/{chamber}/{jacketNumber}",
1222
- "method": "GET",
1223
- "description": "One printed hearing: title, dates held, committees, citation and formats (jacket number from the hearings list).",
1224
- "params": {
1225
- "congress": {
1226
- "in": "path",
1227
- "required": true,
1228
- "desc": "Congress number, e.g. 118"
1229
- },
1230
- "chamber": {
1231
- "in": "path",
1232
- "required": true,
1233
- "desc": "house | senate | nochamber"
1234
- },
1235
- "jacketNumber": {
1236
- "in": "path",
1237
- "required": true,
1238
- "desc": "jacket number from the hearings list, e.g. 52250"
1239
- }
1240
- },
1241
- "records": "hearing",
1242
- "paging": {
1243
- "type": "none"
1244
- },
1245
- "defaults": {
1246
- "format": "json"
1247
- },
1248
- "max_rows": 50000
1249
- },
1250
- "hearings": {
1251
- "path": "/hearing/{congress}/{chamber}",
1252
- "method": "GET",
1253
- "description": "Printed hearings in a Congress (jacket number; dates, committees and title need the hearing endpoint).",
1254
- "params": {
1255
- "congress": {
1256
- "in": "path",
1257
- "required": true,
1258
- "desc": "Congress number, e.g. 118, or 'current'"
1259
- },
1260
- "chamber": {
1261
- "in": "path",
1262
- "required": true,
1263
- "desc": "house | senate | nochamber"
1264
- }
1265
- },
1266
- "records": "hearings",
1267
- "paging": {
1268
- "type": "offset",
1269
- "limit_param": "limit",
1270
- "offset_param": "offset",
1271
- "size": 250
1272
- },
1273
- "defaults": {
1274
- "format": "json"
1275
- },
1276
- "max_rows": 50000,
1277
- "total": "pagination.count"
1278
- },
1279
- "committee_meetings": {
1280
- "path": "/committee-meeting/{congress}/{chamber}",
1281
- "method": "GET",
1282
- "description": "Committee meetings (hearings, markups, business meetings) of a chamber in a Congress: eventId only; date, type and committee are in committee_meeting.",
1283
- "params": {
1284
- "congress": {
1285
- "in": "path",
1286
- "required": true,
1287
- "desc": "Congress number, e.g. 118, or 'current'"
1288
- },
1289
- "chamber": {
1290
- "in": "path",
1291
- "required": true,
1292
- "desc": "house | senate | nochamber",
1293
- "enum": [
1294
- "house",
1295
- "senate",
1296
- "nochamber"
1297
- ]
1298
- },
1299
- "fromDateTime": {
1300
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1301
- },
1302
- "toDateTime": {
1303
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1304
- }
1305
- },
1306
- "records": "committeeMeetings",
1307
- "paging": {
1308
- "type": "offset",
1309
- "limit_param": "limit",
1310
- "offset_param": "offset",
1311
- "size": 250
1312
- },
1313
- "defaults": {
1314
- "format": "json"
1315
- },
1316
- "max_rows": 50000,
1317
- "total": "pagination.count"
1318
- },
1319
- "committee_meeting": {
1320
- "path": "/committee-meeting/{congress}/{chamber}/{eventId}",
1321
- "method": "GET",
1322
- "description": "One committee meeting: date, type (Hearing, Markup, Meeting), title, committees, status, witnesses.",
1323
- "params": {
1324
- "congress": {
1325
- "in": "path",
1326
- "required": true,
1327
- "desc": "Congress number, e.g. 118, or 'current'"
1328
- },
1329
- "chamber": {
1330
- "in": "path",
1331
- "required": true,
1332
- "desc": "house | senate | nochamber",
1333
- "enum": [
1334
- "house",
1335
- "senate",
1336
- "nochamber"
1337
- ]
1338
- },
1339
- "eventId": {
1340
- "in": "path",
1341
- "required": true,
1342
- "desc": "event id from committee_meetings"
1343
- }
1344
- },
1345
- "records": "committeeMeeting",
1346
- "paging": {
1347
- "type": "none"
1348
- },
1349
- "defaults": {
1350
- "format": "json"
1351
- },
1352
- "max_rows": 50000
1353
- },
1354
- "nominations": {
1355
- "path": "/nomination/{congress}",
1356
- "method": "GET",
1357
- "description": "Presidential nominations received in a Congress (citation, organization, received date, latest action).",
1358
- "params": {
1359
- "congress": {
1360
- "in": "path",
1361
- "required": true,
1362
- "desc": "Congress number, e.g. 118, or 'current'"
1363
- },
1364
- "fromDateTime": {
1365
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1366
- },
1367
- "toDateTime": {
1368
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1369
- },
1370
- "title_contains": {
1371
- "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
1372
- }
1373
- },
1374
- "records": "nominations",
1375
- "paging": {
1376
- "type": "offset",
1377
- "limit_param": "limit",
1378
- "offset_param": "offset",
1379
- "size": 250
1380
- },
1381
- "defaults": {
1382
- "format": "json"
1383
- },
1384
- "max_rows": 50000,
1385
- "total": "pagination.count"
1386
- },
1387
- "nomination": {
1388
- "path": "/nomination/{congress}/{nominationNumber}",
1389
- "method": "GET",
1390
- "description": "One nomination: nominees, position, committees, latest action.",
1391
- "params": {
1392
- "congress": {
1393
- "in": "path",
1394
- "required": true,
1395
- "desc": "Congress number, e.g. 118, or 'current'"
1396
- },
1397
- "nominationNumber": {
1398
- "in": "path",
1399
- "required": true,
1400
- "desc": "PN number without PN, e.g. 2"
1401
- }
1402
- },
1403
- "records": "nomination",
1404
- "paging": {
1405
- "type": "none"
1406
- },
1407
- "defaults": {
1408
- "format": "json"
1409
- },
1410
- "max_rows": 50000
1411
- },
1412
- "nomination_actions": {
1413
- "path": "/nomination/{congress}/{nominationNumber}/actions",
1414
- "method": "GET",
1415
- "description": "Actions on a nomination (referral, hearing, cloture, confirmation vote).",
1416
- "params": {
1417
- "congress": {
1418
- "in": "path",
1419
- "required": true,
1420
- "desc": "Congress number, e.g. 118, or 'current'"
1421
- },
1422
- "nominationNumber": {
1423
- "in": "path",
1424
- "required": true,
1425
- "desc": "PN number"
1426
- }
1427
- },
1428
- "records": "actions",
1429
- "paging": {
1430
- "type": "offset",
1431
- "limit_param": "limit",
1432
- "offset_param": "offset",
1433
- "size": 250
1434
- },
1435
- "defaults": {
1436
- "format": "json"
1437
- },
1438
- "max_rows": 50000,
1439
- "total": "pagination.count"
1440
- },
1441
- "treaties": {
1442
- "path": "/treaty/{congress}",
1443
- "method": "GET",
1444
- "description": "Treaty documents received or considered in a Congress.",
1445
- "params": {
1446
- "congress": {
1447
- "in": "path",
1448
- "required": true,
1449
- "desc": "Congress number, e.g. 118, or 'current'"
1450
- }
1451
- },
1452
- "records": "treaties",
1453
- "paging": {
1454
- "type": "offset",
1455
- "limit_param": "limit",
1456
- "offset_param": "offset",
1457
- "size": 250
1458
- },
1459
- "defaults": {
1460
- "format": "json"
1461
- },
1462
- "max_rows": 50000,
1463
- "total": "pagination.count"
1464
- },
1465
- "crs_reports": {
1466
- "path": "/crsreport",
1467
- "method": "GET",
1468
- "description": "CRS reports (id, title, current version's publish date, status; the list's version field is not the product version, crs_report has currentVersion), newest first by update; no keyword search: use title_contains (a multi-word phrase matches only with its words together and in that order: list each order as its own phrase), or fromDateTime/toDateTime, which filter on the update date.",
1469
- "params": {
1470
- "fromDateTime": {
1471
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1472
- },
1473
- "toDateTime": {
1474
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1475
- },
1476
- "title_contains": {
1477
- "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
1478
- }
1479
- },
1480
- "records": "CRSReports",
1481
- "paging": {
1482
- "type": "offset",
1483
- "limit_param": "limit",
1484
- "offset_param": "offset",
1485
- "size": 250
1486
- },
1487
- "defaults": {
1488
- "format": "json"
1489
- },
1490
- "max_rows": 50000,
1491
- "total": "pagination.count"
1492
- },
1493
- "crs_report": {
1494
- "path": "/crsreport/{reportNumber}",
1495
- "method": "GET",
1496
- "description": "One CRS report: authors, summary, topics, PDF and HTML links, related laws.",
1497
- "params": {
1498
- "reportNumber": {
1499
- "in": "path",
1500
- "required": true,
1501
- "desc": "e.g. R47555"
1502
- }
1503
- },
1504
- "records": "CRSReport",
1505
- "paging": {
1506
- "type": "none"
1507
- },
1508
- "defaults": {
1509
- "format": "json"
1510
- },
1511
- "max_rows": 50000
1512
- },
1513
- "amendments": {
1514
- "path": "/amendment/{congress}",
1515
- "method": "GET",
1516
- "description": "Amendments in a Congress.",
1517
- "params": {
1518
- "congress": {
1519
- "in": "path",
1520
- "required": true,
1521
- "desc": "Congress number, e.g. 118, or 'current'"
1522
- },
1523
- "fromDateTime": {
1524
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1525
- },
1526
- "toDateTime": {
1527
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1528
- }
1529
- },
1530
- "records": "amendments",
1531
- "paging": {
1532
- "type": "offset",
1533
- "limit_param": "limit",
1534
- "offset_param": "offset",
1535
- "size": 250
1536
- },
1537
- "defaults": {
1538
- "format": "json"
1539
- },
1540
- "max_rows": 50000,
1541
- "total": "pagination.count"
1542
- },
1543
- "amendments_type": {
1544
- "path": "/amendment/{congress}/{amendmentType}",
1545
- "method": "GET",
1546
- "description": "Amendments of one type (samdt, hamdt, suamdt) in a Congress; numbers run in submission order.",
1547
- "params": {
1548
- "congress": {
1549
- "in": "path",
1550
- "required": true,
1551
- "desc": "Congress number, e.g. 118, or 'current'"
1552
- },
1553
- "amendmentType": {
1554
- "in": "path",
1555
- "required": true,
1556
- "desc": "samdt (Senate) | hamdt (House) | suamdt (Senate unprinted)",
1557
- "enum": [
1558
- "samdt",
1559
- "hamdt",
1560
- "suamdt"
1561
- ]
1562
- },
1563
- "fromDateTime": {
1564
- "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1565
- },
1566
- "toDateTime": {
1567
- "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1568
- }
1569
- },
1570
- "records": "amendments",
1571
- "paging": {
1572
- "type": "offset",
1573
- "limit_param": "limit",
1574
- "offset_param": "offset",
1575
- "size": 250
1576
- },
1577
- "defaults": {
1578
- "format": "json"
1579
- },
1580
- "max_rows": 50000,
1581
- "total": "pagination.count"
1582
- },
1583
- "amendment": {
1584
- "path": "/amendment/{congress}/{amendmentType}/{amendmentNumber}",
1585
- "method": "GET",
1586
- "description": "One amendment: submitted and proposed dates, sponsor, purpose, amended bill, latest action.",
1587
- "params": {
1588
- "congress": {
1589
- "in": "path",
1590
- "required": true,
1591
- "desc": "Congress number, e.g. 118, or 'current'"
1592
- },
1593
- "amendmentType": {
1594
- "in": "path",
1595
- "required": true,
1596
- "desc": "samdt (Senate) | hamdt (House) | suamdt (Senate unprinted)",
1597
- "enum": [
1598
- "samdt",
1599
- "hamdt",
1600
- "suamdt"
1601
- ]
1602
- },
1603
- "amendmentNumber": {
1604
- "in": "path",
1605
- "required": true,
1606
- "desc": "amendment number, e.g. 4147"
1607
- }
1608
- },
1609
- "records": "amendment",
1610
- "paging": {
1611
- "type": "none"
1612
- },
1613
- "defaults": {
1614
- "format": "json"
1615
- },
1616
- "max_rows": 50000
1617
- },
1618
- "congress_info": {
1619
- "path": "/congress/{congress}",
1620
- "method": "GET",
1621
- "description": "A Congress's dates and sessions.",
1622
- "params": {
1623
- "congress": {
1624
- "in": "path",
1625
- "required": true,
1626
- "desc": "Congress number, e.g. 118, or 'current'"
1627
- }
1628
- },
1629
- "records": "congress.sessions",
1630
- "paging": {
1631
- "type": "none"
1632
- },
1633
- "defaults": {
1634
- "format": "json"
1635
- },
1636
- "max_rows": 50000
1637
- }
1638
- },
1639
- "catalog": {
1640
- "bill_types": {
1641
- "id": "hr s hjres sjres hconres sconres hres sres",
1642
- "name": "Bill types",
1643
- "description": "hr House bill, s Senate bill, hjres/sjres joint resolutions (can become law), hconres/sconres concurrent, hres/sres simple resolutions",
1644
- "endpoint": "bills"
1645
- },
1646
- "votes_house": {
1647
- "id": "roll_call",
1648
- "name": "House roll-call votes",
1649
- "description": "member-level House votes 1990 on (clerk.house.gov XML); house_votes lists votes for the 118th Congress on",
1650
- "endpoint": "roll_call"
1651
- },
1652
- "votes_senate": {
1653
- "id": "roll_call",
1654
- "name": "Senate roll-call votes",
1655
- "description": "member-level Senate votes 1989 on (senate.gov XML); senate_votes lists a session's votes",
1656
- "endpoint": "roll_call"
1657
- },
1658
- "votes_on_a_bill": {
1659
- "id": "bill_votes",
1660
- "name": "Votes on a bill",
1661
- "description": "every recorded vote on a bill with party totals (bill_votes)",
1662
- "endpoint": "bill_votes"
1663
- },
1664
- "cosponsors": {
1665
- "id": "bill_cosponsors",
1666
- "name": "Cosponsors",
1667
- "description": "cosponsors with party and date (bill_cosponsors)",
1668
- "endpoint": "bill_cosponsors"
1669
- },
1670
- "crs": {
1671
- "id": "crs_reports",
1672
- "name": "CRS reports",
1673
- "description": "Congressional Research Service reports list and detail",
1674
- "endpoint": "crs_reports"
1675
- },
1676
- "cost_estimates": {
1677
- "id": "bill_cbo_estimates",
1678
- "name": "Cost estimate links",
1679
- "description": "titles and links of cost estimates listed for a bill; numbers are not in the API",
1680
- "endpoint": "bill_cbo_estimates"
1681
- },
1682
- "public_laws": {
1683
- "id": "laws",
1684
- "name": "Public laws",
1685
- "description": "laws enacted in a Congress (laws with lawType pub)",
1686
- "endpoint": "laws"
1687
- },
1688
- "nominations": {
1689
- "id": "nominations",
1690
- "name": "Nominations",
1691
- "description": "presidential nominations and confirmation actions",
1692
- "endpoint": "nominations"
1693
- },
1694
- "committee_codes": {
1695
- "id": "hsba00 hsap00 hswm00 hsif00 ssfi00 ssap00 ssbk00 sshr00 ssju00",
1696
- "name": "Committee system codes",
1697
- "description": "e.g. hsba00 House Financial Services, hsap00 House Appropriations, hswm00 Ways and Means, hsif00 Energy and Commerce, ssfi00 Senate Finance, ssap00 Senate Appropriations, ssbk00 Senate Banking, sshr00 HELP, ssju00 Senate Judiciary (committees lists all)",
1698
- "endpoint": "committee"
1699
- }
1700
- }
1701
- }
1
+ {
2
+ "base_url": "https://api.congress.gov/v3",
3
+ "endpoints": {
4
+ "bills": {
5
+ "path": "/bill/{congress}/{billType}",
6
+ "method": "GET",
7
+ "description": "Bills of one type in a Congress (latest action, title, update date). No keyword search: use govinfo search for text, or title_contains.",
8
+ "params": {
9
+ "congress": {
10
+ "in": "path",
11
+ "required": true,
12
+ "desc": "Congress number, e.g. 118, or 'current'"
13
+ },
14
+ "billType": {
15
+ "in": "path",
16
+ "required": true,
17
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
18
+ "enum": [
19
+ "hr",
20
+ "s",
21
+ "hjres",
22
+ "sjres",
23
+ "hconres",
24
+ "sconres",
25
+ "hres",
26
+ "sres"
27
+ ]
28
+ },
29
+ "fromDateTime": {
30
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
31
+ },
32
+ "toDateTime": {
33
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
34
+ },
35
+ "title_contains": {
36
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
37
+ },
38
+ "sort": {
39
+ "desc": "updateDate+desc (default), updateDate+asc, introducedDate+desc or introducedDate+asc",
40
+ "enum": [
41
+ "updateDate+desc",
42
+ "updateDate+asc",
43
+ "introducedDate+desc",
44
+ "introducedDate+asc"
45
+ ]
46
+ }
47
+ },
48
+ "records": "bills",
49
+ "paging": {
50
+ "type": "offset",
51
+ "limit_param": "limit",
52
+ "offset_param": "offset",
53
+ "size": 250
54
+ },
55
+ "defaults": {
56
+ "format": "json"
57
+ },
58
+ "max_rows": 50000,
59
+ "total": "pagination.count"
60
+ },
61
+ "bills_congress": {
62
+ "path": "/bill/{congress}",
63
+ "method": "GET",
64
+ "description": "Every bill and resolution in a Congress.",
65
+ "params": {
66
+ "congress": {
67
+ "in": "path",
68
+ "required": true,
69
+ "desc": "Congress number, e.g. 118, or 'current'"
70
+ },
71
+ "fromDateTime": {
72
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
73
+ },
74
+ "toDateTime": {
75
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
76
+ },
77
+ "title_contains": {
78
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
79
+ },
80
+ "sort": {
81
+ "desc": "updateDate+desc (default), updateDate+asc, introducedDate+desc or introducedDate+asc",
82
+ "enum": [
83
+ "updateDate+desc",
84
+ "updateDate+asc",
85
+ "introducedDate+desc",
86
+ "introducedDate+asc"
87
+ ]
88
+ }
89
+ },
90
+ "records": "bills",
91
+ "paging": {
92
+ "type": "offset",
93
+ "limit_param": "limit",
94
+ "offset_param": "offset",
95
+ "size": 250
96
+ },
97
+ "defaults": {
98
+ "format": "json"
99
+ },
100
+ "max_rows": 50000,
101
+ "total": "pagination.count"
102
+ },
103
+ "bill": {
104
+ "path": "/bill/{congress}/{billType}/{billNumber}",
105
+ "method": "GET",
106
+ "description": "One bill: title, sponsor, introduced date, policy area, latest action, laws, counts of actions, cosponsors, committees.",
107
+ "params": {
108
+ "congress": {
109
+ "in": "path",
110
+ "required": true,
111
+ "desc": "Congress number, e.g. 118, or 'current'"
112
+ },
113
+ "billType": {
114
+ "in": "path",
115
+ "required": true,
116
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
117
+ "enum": [
118
+ "hr",
119
+ "s",
120
+ "hjres",
121
+ "sjres",
122
+ "hconres",
123
+ "sconres",
124
+ "hres",
125
+ "sres"
126
+ ]
127
+ },
128
+ "billNumber": {
129
+ "in": "path",
130
+ "required": true,
131
+ "desc": "bill number, e.g. 5376"
132
+ }
133
+ },
134
+ "records": "bill",
135
+ "paging": {
136
+ "type": "none"
137
+ },
138
+ "defaults": {
139
+ "format": "json"
140
+ },
141
+ "max_rows": 50000
142
+ },
143
+ "bill_actions": {
144
+ "path": "/bill/{congress}/{billType}/{billNumber}/actions",
145
+ "method": "GET",
146
+ "description": "Every action on a bill (date, text, type, chamber, recorded votes).",
147
+ "params": {
148
+ "congress": {
149
+ "in": "path",
150
+ "required": true,
151
+ "desc": "Congress number, e.g. 118, or 'current'"
152
+ },
153
+ "billType": {
154
+ "in": "path",
155
+ "required": true,
156
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
157
+ "enum": [
158
+ "hr",
159
+ "s",
160
+ "hjres",
161
+ "sjres",
162
+ "hconres",
163
+ "sconres",
164
+ "hres",
165
+ "sres"
166
+ ]
167
+ },
168
+ "billNumber": {
169
+ "in": "path",
170
+ "required": true,
171
+ "desc": "bill number, e.g. 5376"
172
+ }
173
+ },
174
+ "records": "actions",
175
+ "paging": {
176
+ "type": "offset",
177
+ "limit_param": "limit",
178
+ "offset_param": "offset",
179
+ "size": 250
180
+ },
181
+ "defaults": {
182
+ "format": "json"
183
+ },
184
+ "max_rows": 50000,
185
+ "total": "pagination.count"
186
+ },
187
+ "bill_cosponsors": {
188
+ "path": "/bill/{congress}/{billType}/{billNumber}/cosponsors",
189
+ "method": "GET",
190
+ "description": "Cosponsors with party, state, date, original cosponsor flag, withdrawal date.",
191
+ "params": {
192
+ "congress": {
193
+ "in": "path",
194
+ "required": true,
195
+ "desc": "Congress number, e.g. 118, or 'current'"
196
+ },
197
+ "billType": {
198
+ "in": "path",
199
+ "required": true,
200
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
201
+ "enum": [
202
+ "hr",
203
+ "s",
204
+ "hjres",
205
+ "sjres",
206
+ "hconres",
207
+ "sconres",
208
+ "hres",
209
+ "sres"
210
+ ]
211
+ },
212
+ "billNumber": {
213
+ "in": "path",
214
+ "required": true,
215
+ "desc": "bill number, e.g. 5376"
216
+ }
217
+ },
218
+ "records": "cosponsors",
219
+ "paging": {
220
+ "type": "offset",
221
+ "limit_param": "limit",
222
+ "offset_param": "offset",
223
+ "size": 250
224
+ },
225
+ "defaults": {
226
+ "format": "json"
227
+ },
228
+ "max_rows": 50000,
229
+ "total": "pagination.count"
230
+ },
231
+ "bill_committees": {
232
+ "path": "/bill/{congress}/{billType}/{billNumber}/committees",
233
+ "method": "GET",
234
+ "description": "Committees and their activities (referred, reported, markup).",
235
+ "params": {
236
+ "congress": {
237
+ "in": "path",
238
+ "required": true,
239
+ "desc": "Congress number, e.g. 118, or 'current'"
240
+ },
241
+ "billType": {
242
+ "in": "path",
243
+ "required": true,
244
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
245
+ "enum": [
246
+ "hr",
247
+ "s",
248
+ "hjres",
249
+ "sjres",
250
+ "hconres",
251
+ "sconres",
252
+ "hres",
253
+ "sres"
254
+ ]
255
+ },
256
+ "billNumber": {
257
+ "in": "path",
258
+ "required": true,
259
+ "desc": "bill number, e.g. 5376"
260
+ }
261
+ },
262
+ "records": "committees",
263
+ "paging": {
264
+ "type": "offset",
265
+ "limit_param": "limit",
266
+ "offset_param": "offset",
267
+ "size": 250
268
+ },
269
+ "defaults": {
270
+ "format": "json"
271
+ },
272
+ "max_rows": 50000,
273
+ "total": "pagination.count"
274
+ },
275
+ "bill_subjects": {
276
+ "path": "/bill/{congress}/{billType}/{billNumber}/subjects",
277
+ "method": "GET",
278
+ "description": "Legislative subject terms (the policy area is in 'bill').",
279
+ "params": {
280
+ "congress": {
281
+ "in": "path",
282
+ "required": true,
283
+ "desc": "Congress number, e.g. 118, or 'current'"
284
+ },
285
+ "billType": {
286
+ "in": "path",
287
+ "required": true,
288
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
289
+ "enum": [
290
+ "hr",
291
+ "s",
292
+ "hjres",
293
+ "sjres",
294
+ "hconres",
295
+ "sconres",
296
+ "hres",
297
+ "sres"
298
+ ]
299
+ },
300
+ "billNumber": {
301
+ "in": "path",
302
+ "required": true,
303
+ "desc": "bill number, e.g. 5376"
304
+ }
305
+ },
306
+ "records": "subjects.legislativeSubjects",
307
+ "paging": {
308
+ "type": "offset",
309
+ "limit_param": "limit",
310
+ "offset_param": "offset",
311
+ "size": 250
312
+ },
313
+ "defaults": {
314
+ "format": "json"
315
+ },
316
+ "max_rows": 50000,
317
+ "total": "pagination.count"
318
+ },
319
+ "bill_summaries": {
320
+ "path": "/bill/{congress}/{billType}/{billNumber}/summaries",
321
+ "method": "GET",
322
+ "description": "CRS summaries of each version (HTML text plus text_plain).",
323
+ "params": {
324
+ "congress": {
325
+ "in": "path",
326
+ "required": true,
327
+ "desc": "Congress number, e.g. 118, or 'current'"
328
+ },
329
+ "billType": {
330
+ "in": "path",
331
+ "required": true,
332
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
333
+ "enum": [
334
+ "hr",
335
+ "s",
336
+ "hjres",
337
+ "sjres",
338
+ "hconres",
339
+ "sconres",
340
+ "hres",
341
+ "sres"
342
+ ]
343
+ },
344
+ "billNumber": {
345
+ "in": "path",
346
+ "required": true,
347
+ "desc": "bill number, e.g. 5376"
348
+ }
349
+ },
350
+ "records": "summaries",
351
+ "paging": {
352
+ "type": "offset",
353
+ "limit_param": "limit",
354
+ "offset_param": "offset",
355
+ "size": 250
356
+ },
357
+ "defaults": {
358
+ "format": "json"
359
+ },
360
+ "max_rows": 50000,
361
+ "total": "pagination.count"
362
+ },
363
+ "bill_text": {
364
+ "path": "/bill/{congress}/{billType}/{billNumber}/text",
365
+ "method": "GET",
366
+ "description": "Text versions with links to PDF, HTML and XML.",
367
+ "params": {
368
+ "congress": {
369
+ "in": "path",
370
+ "required": true,
371
+ "desc": "Congress number, e.g. 118, or 'current'"
372
+ },
373
+ "billType": {
374
+ "in": "path",
375
+ "required": true,
376
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
377
+ "enum": [
378
+ "hr",
379
+ "s",
380
+ "hjres",
381
+ "sjres",
382
+ "hconres",
383
+ "sconres",
384
+ "hres",
385
+ "sres"
386
+ ]
387
+ },
388
+ "billNumber": {
389
+ "in": "path",
390
+ "required": true,
391
+ "desc": "bill number, e.g. 5376"
392
+ }
393
+ },
394
+ "records": "textVersions",
395
+ "paging": {
396
+ "type": "offset",
397
+ "limit_param": "limit",
398
+ "offset_param": "offset",
399
+ "size": 250
400
+ },
401
+ "defaults": {
402
+ "format": "json"
403
+ },
404
+ "max_rows": 50000,
405
+ "total": "pagination.count"
406
+ },
407
+ "bill_titles": {
408
+ "path": "/bill/{congress}/{billType}/{billNumber}/titles",
409
+ "method": "GET",
410
+ "description": "Official, short and popular titles.",
411
+ "params": {
412
+ "congress": {
413
+ "in": "path",
414
+ "required": true,
415
+ "desc": "Congress number, e.g. 118, or 'current'"
416
+ },
417
+ "billType": {
418
+ "in": "path",
419
+ "required": true,
420
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
421
+ "enum": [
422
+ "hr",
423
+ "s",
424
+ "hjres",
425
+ "sjres",
426
+ "hconres",
427
+ "sconres",
428
+ "hres",
429
+ "sres"
430
+ ]
431
+ },
432
+ "billNumber": {
433
+ "in": "path",
434
+ "required": true,
435
+ "desc": "bill number, e.g. 5376"
436
+ }
437
+ },
438
+ "records": "titles",
439
+ "paging": {
440
+ "type": "offset",
441
+ "limit_param": "limit",
442
+ "offset_param": "offset",
443
+ "size": 250
444
+ },
445
+ "defaults": {
446
+ "format": "json"
447
+ },
448
+ "max_rows": 50000,
449
+ "total": "pagination.count"
450
+ },
451
+ "bill_related": {
452
+ "path": "/bill/{congress}/{billType}/{billNumber}/relatedbills",
453
+ "method": "GET",
454
+ "description": "Related bills (identical, companion, procedurally related).",
455
+ "params": {
456
+ "congress": {
457
+ "in": "path",
458
+ "required": true,
459
+ "desc": "Congress number, e.g. 118, or 'current'"
460
+ },
461
+ "billType": {
462
+ "in": "path",
463
+ "required": true,
464
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
465
+ "enum": [
466
+ "hr",
467
+ "s",
468
+ "hjres",
469
+ "sjres",
470
+ "hconres",
471
+ "sconres",
472
+ "hres",
473
+ "sres"
474
+ ]
475
+ },
476
+ "billNumber": {
477
+ "in": "path",
478
+ "required": true,
479
+ "desc": "bill number, e.g. 5376"
480
+ }
481
+ },
482
+ "records": "relatedBills",
483
+ "paging": {
484
+ "type": "offset",
485
+ "limit_param": "limit",
486
+ "offset_param": "offset",
487
+ "size": 250
488
+ },
489
+ "defaults": {
490
+ "format": "json"
491
+ },
492
+ "max_rows": 50000,
493
+ "total": "pagination.count"
494
+ },
495
+ "bill_amendments": {
496
+ "path": "/bill/{congress}/{billType}/{billNumber}/amendments",
497
+ "method": "GET",
498
+ "description": "Amendments to a bill.",
499
+ "params": {
500
+ "congress": {
501
+ "in": "path",
502
+ "required": true,
503
+ "desc": "Congress number, e.g. 118, or 'current'"
504
+ },
505
+ "billType": {
506
+ "in": "path",
507
+ "required": true,
508
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
509
+ "enum": [
510
+ "hr",
511
+ "s",
512
+ "hjres",
513
+ "sjres",
514
+ "hconres",
515
+ "sconres",
516
+ "hres",
517
+ "sres"
518
+ ]
519
+ },
520
+ "billNumber": {
521
+ "in": "path",
522
+ "required": true,
523
+ "desc": "bill number, e.g. 5376"
524
+ }
525
+ },
526
+ "records": "amendments",
527
+ "paging": {
528
+ "type": "offset",
529
+ "limit_param": "limit",
530
+ "offset_param": "offset",
531
+ "size": 250
532
+ },
533
+ "defaults": {
534
+ "format": "json"
535
+ },
536
+ "max_rows": 50000,
537
+ "total": "pagination.count"
538
+ },
539
+ "bill_cbo_estimates": {
540
+ "path": "/bill/{congress}/{billType}/{billNumber}",
541
+ "method": "GET",
542
+ "description": "Titles, dates and cbo.gov links of the budget office's cost estimates listed for a bill (links only, no dollar figures).",
543
+ "params": {
544
+ "congress": {
545
+ "in": "path",
546
+ "required": true,
547
+ "desc": "Congress number, e.g. 118, or 'current'"
548
+ },
549
+ "billType": {
550
+ "in": "path",
551
+ "required": true,
552
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
553
+ "enum": [
554
+ "hr",
555
+ "s",
556
+ "hjres",
557
+ "sjres",
558
+ "hconres",
559
+ "sconres",
560
+ "hres",
561
+ "sres"
562
+ ]
563
+ },
564
+ "billNumber": {
565
+ "in": "path",
566
+ "required": true,
567
+ "desc": "bill number, e.g. 5376"
568
+ }
569
+ },
570
+ "records": "bill.cboCostEstimates",
571
+ "paging": {
572
+ "type": "none"
573
+ },
574
+ "defaults": {
575
+ "format": "json"
576
+ },
577
+ "max_rows": 50000
578
+ },
579
+ "bill_votes": {
580
+ "path": "/bill/{congress}/{billType}/{billNumber}/actions",
581
+ "method": "GET",
582
+ "description": "Roll-call votes on a bill: one row per vote with totals by party, read from the House Clerk and Senate XML that the bill's actions point to; members=true gives one row per member per vote.",
583
+ "params": {
584
+ "congress": {
585
+ "in": "path",
586
+ "required": true,
587
+ "desc": "Congress number, e.g. 118, or 'current'"
588
+ },
589
+ "billType": {
590
+ "in": "path",
591
+ "required": true,
592
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
593
+ "enum": [
594
+ "hr",
595
+ "s",
596
+ "hjres",
597
+ "sjres",
598
+ "hconres",
599
+ "sconres",
600
+ "hres",
601
+ "sres"
602
+ ]
603
+ },
604
+ "billNumber": {
605
+ "in": "path",
606
+ "required": true,
607
+ "desc": "bill number, e.g. 5376"
608
+ },
609
+ "members": {
610
+ "desc": "true = one row per member per vote"
611
+ },
612
+ "chamber": {
613
+ "desc": "house | senate (default both)"
614
+ }
615
+ },
616
+ "records": "actions",
617
+ "paging": {
618
+ "type": "none"
619
+ },
620
+ "defaults": {
621
+ "format": "json"
622
+ },
623
+ "max_rows": 50000
624
+ },
625
+ "laws": {
626
+ "path": "/law/{congress}/{lawType}",
627
+ "method": "GET",
628
+ "description": "Public or private laws enacted in a Congress.",
629
+ "params": {
630
+ "congress": {
631
+ "in": "path",
632
+ "required": true,
633
+ "desc": "Congress number, e.g. 118, or 'current'"
634
+ },
635
+ "lawType": {
636
+ "in": "path",
637
+ "required": true,
638
+ "desc": "pub | priv",
639
+ "enum": [
640
+ "pub",
641
+ "priv"
642
+ ]
643
+ },
644
+ "title_contains": {
645
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
646
+ }
647
+ },
648
+ "records": "bills",
649
+ "paging": {
650
+ "type": "offset",
651
+ "limit_param": "limit",
652
+ "offset_param": "offset",
653
+ "size": 250
654
+ },
655
+ "defaults": {
656
+ "format": "json"
657
+ },
658
+ "max_rows": 50000,
659
+ "total": "pagination.count"
660
+ },
661
+ "laws_congress": {
662
+ "path": "/law/{congress}",
663
+ "method": "GET",
664
+ "description": "All laws enacted in a Congress.",
665
+ "params": {
666
+ "congress": {
667
+ "in": "path",
668
+ "required": true,
669
+ "desc": "Congress number, e.g. 118, or 'current'"
670
+ },
671
+ "title_contains": {
672
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
673
+ }
674
+ },
675
+ "records": "bills",
676
+ "paging": {
677
+ "type": "offset",
678
+ "limit_param": "limit",
679
+ "offset_param": "offset",
680
+ "size": 250
681
+ },
682
+ "defaults": {
683
+ "format": "json"
684
+ },
685
+ "max_rows": 50000,
686
+ "total": "pagination.count"
687
+ },
688
+ "summaries": {
689
+ "path": "/summaries/{congress}/{billType}",
690
+ "method": "GET",
691
+ "description": "CRS bill summaries published or updated in a period (newest first).",
692
+ "params": {
693
+ "congress": {
694
+ "in": "path",
695
+ "required": true,
696
+ "desc": "Congress number, e.g. 118, or 'current'"
697
+ },
698
+ "billType": {
699
+ "in": "path",
700
+ "required": true,
701
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
702
+ "enum": [
703
+ "hr",
704
+ "s",
705
+ "hjres",
706
+ "sjres",
707
+ "hconres",
708
+ "sconres",
709
+ "hres",
710
+ "sres"
711
+ ]
712
+ },
713
+ "fromDateTime": {
714
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
715
+ },
716
+ "toDateTime": {
717
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
718
+ },
719
+ "sort": {
720
+ "desc": "updateDate+desc (default)"
721
+ }
722
+ },
723
+ "records": "summaries",
724
+ "paging": {
725
+ "type": "offset",
726
+ "limit_param": "limit",
727
+ "offset_param": "offset",
728
+ "size": 250
729
+ },
730
+ "defaults": {
731
+ "format": "json"
732
+ },
733
+ "max_rows": 50000,
734
+ "total": "pagination.count"
735
+ },
736
+ "house_votes": {
737
+ "path": "/house-vote/{congress}/{session}",
738
+ "method": "GET",
739
+ "description": "House roll-call votes in a session (118th Congress on; older: roll_call with the Clerk XML).",
740
+ "params": {
741
+ "congress": {
742
+ "in": "path",
743
+ "required": true,
744
+ "desc": "Congress number, e.g. 118, or 'current'"
745
+ },
746
+ "session": {
747
+ "in": "path",
748
+ "required": true,
749
+ "desc": "1 or 2"
750
+ }
751
+ },
752
+ "records": "houseRollCallVotes",
753
+ "paging": {
754
+ "type": "offset",
755
+ "limit_param": "limit",
756
+ "offset_param": "offset",
757
+ "size": 250
758
+ },
759
+ "defaults": {
760
+ "format": "json"
761
+ },
762
+ "max_rows": 50000,
763
+ "total": "pagination.count"
764
+ },
765
+ "house_vote": {
766
+ "path": "/house-vote/{congress}/{session}/{voteNumber}",
767
+ "method": "GET",
768
+ "description": "One House vote with totals by party (118th Congress on).",
769
+ "params": {
770
+ "congress": {
771
+ "in": "path",
772
+ "required": true,
773
+ "desc": "Congress number, e.g. 118, or 'current'"
774
+ },
775
+ "session": {
776
+ "in": "path",
777
+ "required": true,
778
+ "desc": "1 or 2"
779
+ },
780
+ "voteNumber": {
781
+ "in": "path",
782
+ "required": true,
783
+ "desc": "roll number"
784
+ }
785
+ },
786
+ "records": "houseRollCallVote.votePartyTotal",
787
+ "paging": {
788
+ "type": "none"
789
+ },
790
+ "defaults": {
791
+ "format": "json"
792
+ },
793
+ "max_rows": 50000
794
+ },
795
+ "roll_call": {
796
+ "path": "/roll_call",
797
+ "method": "GET",
798
+ "description": "One roll-call vote, one row per member (House 1990 on from clerk.house.gov, Senate 1989 on from senate.gov); summary=true gives one row for the vote itself.",
799
+ "params": {
800
+ "chamber": {
801
+ "required": true,
802
+ "desc": "house | senate",
803
+ "enum": [
804
+ "house",
805
+ "senate"
806
+ ]
807
+ },
808
+ "roll": {
809
+ "required": true,
810
+ "desc": "roll-call (vote) number"
811
+ },
812
+ "congress": {
813
+ "desc": "Congress number (Senate: required)"
814
+ },
815
+ "session": {
816
+ "desc": "1 or 2 (Senate: required)"
817
+ },
818
+ "year": {
819
+ "desc": "House: calendar year (or give congress + session)"
820
+ },
821
+ "summary": {
822
+ "desc": "true: one row for the vote (question, result, vote type, totals) instead of one per member"
823
+ }
824
+ },
825
+ "records": "",
826
+ "paging": {
827
+ "type": "none"
828
+ },
829
+ "defaults": {
830
+ "format": "json"
831
+ },
832
+ "max_rows": 50000
833
+ },
834
+ "senate_votes": {
835
+ "path": "/senate_votes",
836
+ "method": "GET",
837
+ "description": "Senate roll-call votes in a session (vote list from senate.gov: number, date, issue, question, result, yeas, nays; en_bloc counts nominations voted together).",
838
+ "params": {
839
+ "congress": {
840
+ "required": true,
841
+ "desc": "Congress number, 101 on"
842
+ },
843
+ "session": {
844
+ "required": true,
845
+ "desc": "1 or 2"
846
+ }
847
+ },
848
+ "records": "",
849
+ "paging": {
850
+ "type": "none"
851
+ },
852
+ "defaults": {
853
+ "format": "json"
854
+ },
855
+ "max_rows": 50000
856
+ },
857
+ "members": {
858
+ "path": "/member",
859
+ "method": "GET",
860
+ "description": "Members of Congress (all time); currentMember=true for those serving now.",
861
+ "params": {
862
+ "currentMember": {
863
+ "desc": "true | false"
864
+ },
865
+ "fromDateTime": {
866
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
867
+ },
868
+ "toDateTime": {
869
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
870
+ }
871
+ },
872
+ "records": "members",
873
+ "paging": {
874
+ "type": "offset",
875
+ "limit_param": "limit",
876
+ "offset_param": "offset",
877
+ "size": 250
878
+ },
879
+ "defaults": {
880
+ "format": "json"
881
+ },
882
+ "max_rows": 50000,
883
+ "total": "pagination.count"
884
+ },
885
+ "members_congress": {
886
+ "path": "/member/congress/{congress}",
887
+ "method": "GET",
888
+ "description": "Everyone who served in a Congress (both chambers).",
889
+ "params": {
890
+ "congress": {
891
+ "in": "path",
892
+ "required": true,
893
+ "desc": "Congress number, e.g. 118, or 'current'"
894
+ },
895
+ "currentMember": {
896
+ "desc": "true | false"
897
+ }
898
+ },
899
+ "records": "members",
900
+ "paging": {
901
+ "type": "offset",
902
+ "limit_param": "limit",
903
+ "offset_param": "offset",
904
+ "size": 250
905
+ },
906
+ "defaults": {
907
+ "format": "json"
908
+ },
909
+ "max_rows": 50000,
910
+ "total": "pagination.count"
911
+ },
912
+ "members_state": {
913
+ "path": "/member/congress/{congress}/{stateCode}",
914
+ "method": "GET",
915
+ "description": "Members from one state in a Congress.",
916
+ "params": {
917
+ "congress": {
918
+ "in": "path",
919
+ "required": true,
920
+ "desc": "Congress number, e.g. 118, or 'current'"
921
+ },
922
+ "stateCode": {
923
+ "in": "path",
924
+ "required": true,
925
+ "desc": "two-letter, e.g. MD"
926
+ },
927
+ "currentMember": {
928
+ "desc": "true | false"
929
+ }
930
+ },
931
+ "records": "members",
932
+ "paging": {
933
+ "type": "offset",
934
+ "limit_param": "limit",
935
+ "offset_param": "offset",
936
+ "size": 250
937
+ },
938
+ "defaults": {
939
+ "format": "json"
940
+ },
941
+ "max_rows": 50000,
942
+ "total": "pagination.count"
943
+ },
944
+ "members_district": {
945
+ "path": "/member/congress/{congress}/{stateCode}/{district}",
946
+ "method": "GET",
947
+ "description": "Members for one House district in a Congress.",
948
+ "params": {
949
+ "congress": {
950
+ "in": "path",
951
+ "required": true,
952
+ "desc": "Congress number, e.g. 118, or 'current'"
953
+ },
954
+ "stateCode": {
955
+ "in": "path",
956
+ "required": true,
957
+ "desc": "two-letter"
958
+ },
959
+ "district": {
960
+ "in": "path",
961
+ "required": true,
962
+ "desc": "district number (0 at large)"
963
+ }
964
+ },
965
+ "records": "members",
966
+ "paging": {
967
+ "type": "offset",
968
+ "limit_param": "limit",
969
+ "offset_param": "offset",
970
+ "size": 250
971
+ },
972
+ "defaults": {
973
+ "format": "json"
974
+ },
975
+ "max_rows": 50000,
976
+ "total": "pagination.count"
977
+ },
978
+ "member": {
979
+ "path": "/member/{bioguideId}",
980
+ "method": "GET",
981
+ "description": "One member: terms, party history, leadership, counts of sponsored and cosponsored bills.",
982
+ "params": {
983
+ "bioguideId": {
984
+ "in": "path",
985
+ "required": true,
986
+ "desc": "e.g. P000197"
987
+ }
988
+ },
989
+ "records": "member",
990
+ "paging": {
991
+ "type": "none"
992
+ },
993
+ "defaults": {
994
+ "format": "json"
995
+ },
996
+ "max_rows": 50000
997
+ },
998
+ "member_sponsored": {
999
+ "path": "/member/{bioguideId}/sponsored-legislation",
1000
+ "method": "GET",
1001
+ "description": "Bills and amendments a member sponsored.",
1002
+ "params": {
1003
+ "bioguideId": {
1004
+ "in": "path",
1005
+ "required": true,
1006
+ "desc": "bioguide id"
1007
+ }
1008
+ },
1009
+ "records": "sponsoredLegislation",
1010
+ "paging": {
1011
+ "type": "offset",
1012
+ "limit_param": "limit",
1013
+ "offset_param": "offset",
1014
+ "size": 250
1015
+ },
1016
+ "defaults": {
1017
+ "format": "json"
1018
+ },
1019
+ "max_rows": 50000,
1020
+ "total": "pagination.count"
1021
+ },
1022
+ "member_cosponsored": {
1023
+ "path": "/member/{bioguideId}/cosponsored-legislation",
1024
+ "method": "GET",
1025
+ "description": "Bills and amendments a member cosponsored.",
1026
+ "params": {
1027
+ "bioguideId": {
1028
+ "in": "path",
1029
+ "required": true,
1030
+ "desc": "bioguide id"
1031
+ }
1032
+ },
1033
+ "records": "cosponsoredLegislation",
1034
+ "paging": {
1035
+ "type": "offset",
1036
+ "limit_param": "limit",
1037
+ "offset_param": "offset",
1038
+ "size": 250
1039
+ },
1040
+ "defaults": {
1041
+ "format": "json"
1042
+ },
1043
+ "max_rows": 50000,
1044
+ "total": "pagination.count"
1045
+ },
1046
+ "committees": {
1047
+ "path": "/committee/{congress}/{chamber}",
1048
+ "method": "GET",
1049
+ "description": "Committees and subcommittees in a Congress.",
1050
+ "params": {
1051
+ "congress": {
1052
+ "in": "path",
1053
+ "required": true,
1054
+ "desc": "Congress number, e.g. 118, or 'current'"
1055
+ },
1056
+ "chamber": {
1057
+ "in": "path",
1058
+ "required": true,
1059
+ "desc": "house | senate | joint",
1060
+ "enum": [
1061
+ "house",
1062
+ "senate",
1063
+ "joint"
1064
+ ]
1065
+ }
1066
+ },
1067
+ "records": "committees",
1068
+ "paging": {
1069
+ "type": "offset",
1070
+ "limit_param": "limit",
1071
+ "offset_param": "offset",
1072
+ "size": 250
1073
+ },
1074
+ "defaults": {
1075
+ "format": "json"
1076
+ },
1077
+ "max_rows": 50000,
1078
+ "total": "pagination.count"
1079
+ },
1080
+ "committee": {
1081
+ "path": "/committee/{chamber}/{committeeCode}",
1082
+ "method": "GET",
1083
+ "description": "One committee: history, subcommittees, counts of bills and reports.",
1084
+ "params": {
1085
+ "chamber": {
1086
+ "in": "path",
1087
+ "required": true,
1088
+ "desc": "house | senate | joint"
1089
+ },
1090
+ "committeeCode": {
1091
+ "in": "path",
1092
+ "required": true,
1093
+ "desc": "system code, e.g. hsba00, ssfi00"
1094
+ }
1095
+ },
1096
+ "records": "committee",
1097
+ "paging": {
1098
+ "type": "none"
1099
+ },
1100
+ "defaults": {
1101
+ "format": "json"
1102
+ },
1103
+ "max_rows": 50000
1104
+ },
1105
+ "committee_bills": {
1106
+ "path": "/committee/{chamber}/{committeeCode}/bills",
1107
+ "method": "GET",
1108
+ "description": "Bills referred to or reported by a committee (all Congresses; committee_bills_congress for one).",
1109
+ "params": {
1110
+ "chamber": {
1111
+ "in": "path",
1112
+ "required": true,
1113
+ "desc": "house | senate | joint"
1114
+ },
1115
+ "committeeCode": {
1116
+ "in": "path",
1117
+ "required": true,
1118
+ "desc": "system code"
1119
+ },
1120
+ "fromDateTime": {
1121
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1122
+ },
1123
+ "toDateTime": {
1124
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1125
+ }
1126
+ },
1127
+ "records": "committee-bills.bills",
1128
+ "paging": {
1129
+ "type": "offset",
1130
+ "limit_param": "limit",
1131
+ "offset_param": "offset",
1132
+ "size": 250
1133
+ },
1134
+ "defaults": {
1135
+ "format": "json"
1136
+ },
1137
+ "max_rows": 50000,
1138
+ "total": "pagination.count"
1139
+ },
1140
+ "committee_bills_congress": {
1141
+ "path": "/committee/{congress}/{chamber}/{committeeCode}/bills",
1142
+ "method": "GET",
1143
+ "description": "Bills referred to or reported by a committee in one Congress (same rows as committee_bills).",
1144
+ "params": {
1145
+ "congress": {
1146
+ "in": "path",
1147
+ "required": true,
1148
+ "desc": "Congress number, e.g. 118, or 'current'"
1149
+ },
1150
+ "chamber": {
1151
+ "in": "path",
1152
+ "required": true,
1153
+ "desc": "house | senate | joint"
1154
+ },
1155
+ "committeeCode": {
1156
+ "in": "path",
1157
+ "required": true,
1158
+ "desc": "system code"
1159
+ },
1160
+ "fromDateTime": {
1161
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1162
+ },
1163
+ "toDateTime": {
1164
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1165
+ }
1166
+ },
1167
+ "records": "committee-bills.bills",
1168
+ "paging": {
1169
+ "type": "offset",
1170
+ "limit_param": "limit",
1171
+ "offset_param": "offset",
1172
+ "size": 250
1173
+ },
1174
+ "defaults": {
1175
+ "format": "json"
1176
+ },
1177
+ "max_rows": 50000,
1178
+ "total": "pagination.count"
1179
+ },
1180
+ "committee_reports": {
1181
+ "path": "/committee-report/{congress}/{reportType}",
1182
+ "method": "GET",
1183
+ "description": "Committee reports in a Congress (citation, number, chamber).",
1184
+ "params": {
1185
+ "congress": {
1186
+ "in": "path",
1187
+ "required": true,
1188
+ "desc": "Congress number, e.g. 118, or 'current'"
1189
+ },
1190
+ "reportType": {
1191
+ "in": "path",
1192
+ "required": true,
1193
+ "desc": "hrpt | srpt | erpt",
1194
+ "enum": [
1195
+ "hrpt",
1196
+ "srpt",
1197
+ "erpt"
1198
+ ]
1199
+ },
1200
+ "fromDateTime": {
1201
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1202
+ },
1203
+ "toDateTime": {
1204
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1205
+ }
1206
+ },
1207
+ "records": "reports",
1208
+ "paging": {
1209
+ "type": "offset",
1210
+ "limit_param": "limit",
1211
+ "offset_param": "offset",
1212
+ "size": 250
1213
+ },
1214
+ "defaults": {
1215
+ "format": "json"
1216
+ },
1217
+ "max_rows": 50000,
1218
+ "total": "pagination.count"
1219
+ },
1220
+ "hearing": {
1221
+ "path": "/hearing/{congress}/{chamber}/{jacketNumber}",
1222
+ "method": "GET",
1223
+ "description": "One printed hearing: title, dates held, committees, citation and formats (jacket number from the hearings list).",
1224
+ "params": {
1225
+ "congress": {
1226
+ "in": "path",
1227
+ "required": true,
1228
+ "desc": "Congress number, e.g. 118"
1229
+ },
1230
+ "chamber": {
1231
+ "in": "path",
1232
+ "required": true,
1233
+ "desc": "house | senate | nochamber"
1234
+ },
1235
+ "jacketNumber": {
1236
+ "in": "path",
1237
+ "required": true,
1238
+ "desc": "jacket number from the hearings list, e.g. 52250"
1239
+ }
1240
+ },
1241
+ "records": "hearing",
1242
+ "paging": {
1243
+ "type": "none"
1244
+ },
1245
+ "defaults": {
1246
+ "format": "json"
1247
+ },
1248
+ "max_rows": 50000
1249
+ },
1250
+ "hearings": {
1251
+ "path": "/hearing/{congress}/{chamber}",
1252
+ "method": "GET",
1253
+ "description": "Printed hearings in a Congress (jacket number; dates, committees and title need the hearing endpoint).",
1254
+ "params": {
1255
+ "congress": {
1256
+ "in": "path",
1257
+ "required": true,
1258
+ "desc": "Congress number, e.g. 118, or 'current'"
1259
+ },
1260
+ "chamber": {
1261
+ "in": "path",
1262
+ "required": true,
1263
+ "desc": "house | senate | nochamber"
1264
+ }
1265
+ },
1266
+ "records": "hearings",
1267
+ "paging": {
1268
+ "type": "offset",
1269
+ "limit_param": "limit",
1270
+ "offset_param": "offset",
1271
+ "size": 250
1272
+ },
1273
+ "defaults": {
1274
+ "format": "json"
1275
+ },
1276
+ "max_rows": 50000,
1277
+ "total": "pagination.count"
1278
+ },
1279
+ "committee_meetings": {
1280
+ "path": "/committee-meeting/{congress}/{chamber}",
1281
+ "method": "GET",
1282
+ "description": "Committee meetings (hearings, markups, business meetings) of a chamber in a Congress: eventId only; date, type and committee are in committee_meeting.",
1283
+ "params": {
1284
+ "congress": {
1285
+ "in": "path",
1286
+ "required": true,
1287
+ "desc": "Congress number, e.g. 118, or 'current'"
1288
+ },
1289
+ "chamber": {
1290
+ "in": "path",
1291
+ "required": true,
1292
+ "desc": "house | senate | nochamber",
1293
+ "enum": [
1294
+ "house",
1295
+ "senate",
1296
+ "nochamber"
1297
+ ]
1298
+ },
1299
+ "fromDateTime": {
1300
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1301
+ },
1302
+ "toDateTime": {
1303
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1304
+ }
1305
+ },
1306
+ "records": "committeeMeetings",
1307
+ "paging": {
1308
+ "type": "offset",
1309
+ "limit_param": "limit",
1310
+ "offset_param": "offset",
1311
+ "size": 250
1312
+ },
1313
+ "defaults": {
1314
+ "format": "json"
1315
+ },
1316
+ "max_rows": 50000,
1317
+ "total": "pagination.count"
1318
+ },
1319
+ "committee_meeting": {
1320
+ "path": "/committee-meeting/{congress}/{chamber}/{eventId}",
1321
+ "method": "GET",
1322
+ "description": "One committee meeting: date, type (Hearing, Markup, Meeting), title, committees, status, witnesses.",
1323
+ "params": {
1324
+ "congress": {
1325
+ "in": "path",
1326
+ "required": true,
1327
+ "desc": "Congress number, e.g. 118, or 'current'"
1328
+ },
1329
+ "chamber": {
1330
+ "in": "path",
1331
+ "required": true,
1332
+ "desc": "house | senate | nochamber",
1333
+ "enum": [
1334
+ "house",
1335
+ "senate",
1336
+ "nochamber"
1337
+ ]
1338
+ },
1339
+ "eventId": {
1340
+ "in": "path",
1341
+ "required": true,
1342
+ "desc": "event id from committee_meetings"
1343
+ }
1344
+ },
1345
+ "records": "committeeMeeting",
1346
+ "paging": {
1347
+ "type": "none"
1348
+ },
1349
+ "defaults": {
1350
+ "format": "json"
1351
+ },
1352
+ "max_rows": 50000
1353
+ },
1354
+ "nominations": {
1355
+ "path": "/nomination/{congress}",
1356
+ "method": "GET",
1357
+ "description": "Presidential nominations received in a Congress (citation, organization, received date, latest action).",
1358
+ "params": {
1359
+ "congress": {
1360
+ "in": "path",
1361
+ "required": true,
1362
+ "desc": "Congress number, e.g. 118, or 'current'"
1363
+ },
1364
+ "fromDateTime": {
1365
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1366
+ },
1367
+ "toDateTime": {
1368
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1369
+ },
1370
+ "title_contains": {
1371
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
1372
+ }
1373
+ },
1374
+ "records": "nominations",
1375
+ "paging": {
1376
+ "type": "offset",
1377
+ "limit_param": "limit",
1378
+ "offset_param": "offset",
1379
+ "size": 250
1380
+ },
1381
+ "defaults": {
1382
+ "format": "json"
1383
+ },
1384
+ "max_rows": 50000,
1385
+ "total": "pagination.count"
1386
+ },
1387
+ "nomination": {
1388
+ "path": "/nomination/{congress}/{nominationNumber}",
1389
+ "method": "GET",
1390
+ "description": "One nomination: nominees, position, committees, latest action.",
1391
+ "params": {
1392
+ "congress": {
1393
+ "in": "path",
1394
+ "required": true,
1395
+ "desc": "Congress number, e.g. 118, or 'current'"
1396
+ },
1397
+ "nominationNumber": {
1398
+ "in": "path",
1399
+ "required": true,
1400
+ "desc": "PN number without PN, e.g. 2"
1401
+ }
1402
+ },
1403
+ "records": "nomination",
1404
+ "paging": {
1405
+ "type": "none"
1406
+ },
1407
+ "defaults": {
1408
+ "format": "json"
1409
+ },
1410
+ "max_rows": 50000
1411
+ },
1412
+ "nomination_actions": {
1413
+ "path": "/nomination/{congress}/{nominationNumber}/actions",
1414
+ "method": "GET",
1415
+ "description": "Actions on a nomination (referral, hearing, cloture, confirmation vote).",
1416
+ "params": {
1417
+ "congress": {
1418
+ "in": "path",
1419
+ "required": true,
1420
+ "desc": "Congress number, e.g. 118, or 'current'"
1421
+ },
1422
+ "nominationNumber": {
1423
+ "in": "path",
1424
+ "required": true,
1425
+ "desc": "PN number"
1426
+ }
1427
+ },
1428
+ "records": "actions",
1429
+ "paging": {
1430
+ "type": "offset",
1431
+ "limit_param": "limit",
1432
+ "offset_param": "offset",
1433
+ "size": 250
1434
+ },
1435
+ "defaults": {
1436
+ "format": "json"
1437
+ },
1438
+ "max_rows": 50000,
1439
+ "total": "pagination.count"
1440
+ },
1441
+ "treaties": {
1442
+ "path": "/treaty/{congress}",
1443
+ "method": "GET",
1444
+ "description": "Treaty documents received or considered in a Congress.",
1445
+ "params": {
1446
+ "congress": {
1447
+ "in": "path",
1448
+ "required": true,
1449
+ "desc": "Congress number, e.g. 118, or 'current'"
1450
+ }
1451
+ },
1452
+ "records": "treaties",
1453
+ "paging": {
1454
+ "type": "offset",
1455
+ "limit_param": "limit",
1456
+ "offset_param": "offset",
1457
+ "size": 250
1458
+ },
1459
+ "defaults": {
1460
+ "format": "json"
1461
+ },
1462
+ "max_rows": 50000,
1463
+ "total": "pagination.count"
1464
+ },
1465
+ "crs_reports": {
1466
+ "path": "/crsreport",
1467
+ "method": "GET",
1468
+ "description": "CRS reports (id, title, current version's publish date, status; the list's version field is not the product version, crs_report has currentVersion), newest first by update; no keyword search: use title_contains (a multi-word phrase matches only with its words together and in that order: list each order as its own phrase), or fromDateTime/toDateTime, which filter on the update date.",
1469
+ "params": {
1470
+ "fromDateTime": {
1471
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1472
+ },
1473
+ "toDateTime": {
1474
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1475
+ },
1476
+ "title_contains": {
1477
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
1478
+ }
1479
+ },
1480
+ "records": "CRSReports",
1481
+ "paging": {
1482
+ "type": "offset",
1483
+ "limit_param": "limit",
1484
+ "offset_param": "offset",
1485
+ "size": 250
1486
+ },
1487
+ "defaults": {
1488
+ "format": "json"
1489
+ },
1490
+ "max_rows": 50000,
1491
+ "total": "pagination.count"
1492
+ },
1493
+ "crs_report": {
1494
+ "path": "/crsreport/{reportNumber}",
1495
+ "method": "GET",
1496
+ "description": "One CRS report: authors, summary, topics, PDF and HTML links, related laws.",
1497
+ "params": {
1498
+ "reportNumber": {
1499
+ "in": "path",
1500
+ "required": true,
1501
+ "desc": "e.g. R47555"
1502
+ }
1503
+ },
1504
+ "records": "CRSReport",
1505
+ "paging": {
1506
+ "type": "none"
1507
+ },
1508
+ "defaults": {
1509
+ "format": "json"
1510
+ },
1511
+ "max_rows": 50000
1512
+ },
1513
+ "amendments": {
1514
+ "path": "/amendment/{congress}",
1515
+ "method": "GET",
1516
+ "description": "Amendments in a Congress.",
1517
+ "params": {
1518
+ "congress": {
1519
+ "in": "path",
1520
+ "required": true,
1521
+ "desc": "Congress number, e.g. 118, or 'current'"
1522
+ },
1523
+ "fromDateTime": {
1524
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1525
+ },
1526
+ "toDateTime": {
1527
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1528
+ }
1529
+ },
1530
+ "records": "amendments",
1531
+ "paging": {
1532
+ "type": "offset",
1533
+ "limit_param": "limit",
1534
+ "offset_param": "offset",
1535
+ "size": 250
1536
+ },
1537
+ "defaults": {
1538
+ "format": "json"
1539
+ },
1540
+ "max_rows": 50000,
1541
+ "total": "pagination.count"
1542
+ },
1543
+ "amendments_type": {
1544
+ "path": "/amendment/{congress}/{amendmentType}",
1545
+ "method": "GET",
1546
+ "description": "Amendments of one type (samdt, hamdt, suamdt) in a Congress; numbers run in submission order.",
1547
+ "params": {
1548
+ "congress": {
1549
+ "in": "path",
1550
+ "required": true,
1551
+ "desc": "Congress number, e.g. 118, or 'current'"
1552
+ },
1553
+ "amendmentType": {
1554
+ "in": "path",
1555
+ "required": true,
1556
+ "desc": "samdt (Senate) | hamdt (House) | suamdt (Senate unprinted)",
1557
+ "enum": [
1558
+ "samdt",
1559
+ "hamdt",
1560
+ "suamdt"
1561
+ ]
1562
+ },
1563
+ "fromDateTime": {
1564
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1565
+ },
1566
+ "toDateTime": {
1567
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1568
+ }
1569
+ },
1570
+ "records": "amendments",
1571
+ "paging": {
1572
+ "type": "offset",
1573
+ "limit_param": "limit",
1574
+ "offset_param": "offset",
1575
+ "size": 250
1576
+ },
1577
+ "defaults": {
1578
+ "format": "json"
1579
+ },
1580
+ "max_rows": 50000,
1581
+ "total": "pagination.count"
1582
+ },
1583
+ "amendment": {
1584
+ "path": "/amendment/{congress}/{amendmentType}/{amendmentNumber}",
1585
+ "method": "GET",
1586
+ "description": "One amendment: submitted and proposed dates, sponsor, purpose, amended bill, latest action.",
1587
+ "params": {
1588
+ "congress": {
1589
+ "in": "path",
1590
+ "required": true,
1591
+ "desc": "Congress number, e.g. 118, or 'current'"
1592
+ },
1593
+ "amendmentType": {
1594
+ "in": "path",
1595
+ "required": true,
1596
+ "desc": "samdt (Senate) | hamdt (House) | suamdt (Senate unprinted)",
1597
+ "enum": [
1598
+ "samdt",
1599
+ "hamdt",
1600
+ "suamdt"
1601
+ ]
1602
+ },
1603
+ "amendmentNumber": {
1604
+ "in": "path",
1605
+ "required": true,
1606
+ "desc": "amendment number, e.g. 4147"
1607
+ }
1608
+ },
1609
+ "records": "amendment",
1610
+ "paging": {
1611
+ "type": "none"
1612
+ },
1613
+ "defaults": {
1614
+ "format": "json"
1615
+ },
1616
+ "max_rows": 50000
1617
+ },
1618
+ "congress_info": {
1619
+ "path": "/congress/{congress}",
1620
+ "method": "GET",
1621
+ "description": "A Congress's dates and sessions.",
1622
+ "params": {
1623
+ "congress": {
1624
+ "in": "path",
1625
+ "required": true,
1626
+ "desc": "Congress number, e.g. 118, or 'current'"
1627
+ }
1628
+ },
1629
+ "records": "congress.sessions",
1630
+ "paging": {
1631
+ "type": "none"
1632
+ },
1633
+ "defaults": {
1634
+ "format": "json"
1635
+ },
1636
+ "max_rows": 50000
1637
+ }
1638
+ },
1639
+ "catalog": {
1640
+ "bill_types": {
1641
+ "id": "hr s hjres sjres hconres sconres hres sres",
1642
+ "name": "Bill types",
1643
+ "description": "hr House bill, s Senate bill, hjres/sjres joint resolutions (can become law), hconres/sconres concurrent, hres/sres simple resolutions",
1644
+ "endpoint": "bills"
1645
+ },
1646
+ "votes_house": {
1647
+ "id": "roll_call",
1648
+ "name": "House roll-call votes",
1649
+ "description": "member-level House votes 1990 on (clerk.house.gov XML); house_votes lists votes for the 118th Congress on",
1650
+ "endpoint": "roll_call"
1651
+ },
1652
+ "votes_senate": {
1653
+ "id": "roll_call",
1654
+ "name": "Senate roll-call votes",
1655
+ "description": "member-level Senate votes 1989 on (senate.gov XML); senate_votes lists a session's votes",
1656
+ "endpoint": "roll_call"
1657
+ },
1658
+ "votes_on_a_bill": {
1659
+ "id": "bill_votes",
1660
+ "name": "Votes on a bill",
1661
+ "description": "every recorded vote on a bill with party totals (bill_votes)",
1662
+ "endpoint": "bill_votes"
1663
+ },
1664
+ "cosponsors": {
1665
+ "id": "bill_cosponsors",
1666
+ "name": "Cosponsors",
1667
+ "description": "cosponsors with party and date (bill_cosponsors)",
1668
+ "endpoint": "bill_cosponsors"
1669
+ },
1670
+ "crs": {
1671
+ "id": "crs_reports",
1672
+ "name": "CRS reports",
1673
+ "description": "Congressional Research Service reports list and detail",
1674
+ "endpoint": "crs_reports"
1675
+ },
1676
+ "cost_estimates": {
1677
+ "id": "bill_cbo_estimates",
1678
+ "name": "Cost estimate links",
1679
+ "description": "titles and links of cost estimates listed for a bill; numbers are not in the API",
1680
+ "endpoint": "bill_cbo_estimates"
1681
+ },
1682
+ "public_laws": {
1683
+ "id": "laws",
1684
+ "name": "Public laws",
1685
+ "description": "laws enacted in a Congress (laws with lawType pub)",
1686
+ "endpoint": "laws"
1687
+ },
1688
+ "nominations": {
1689
+ "id": "nominations",
1690
+ "name": "Nominations",
1691
+ "description": "presidential nominations and confirmation actions",
1692
+ "endpoint": "nominations"
1693
+ },
1694
+ "committee_codes": {
1695
+ "id": "hsba00 hsap00 hswm00 hsif00 ssfi00 ssap00 ssbk00 sshr00 ssju00",
1696
+ "name": "Committee system codes",
1697
+ "description": "e.g. hsba00 House Financial Services, hsap00 House Appropriations, hswm00 Ways and Means, hsif00 Energy and Commerce, ssfi00 Senate Finance, ssap00 Senate Appropriations, ssbk00 Senate Banking, sshr00 HELP, ssju00 Senate Judiciary (committees lists all)",
1698
+ "endpoint": "committee"
1699
+ }
1700
+ }
1701
+ }