Web API Specifications for the TRACE Treasury Securities File Downloads
Version 4.1
i
Table of Contents
Revision History ............................................................................................................................................ 1
Introduction .................................................................................................................................................. 2
Access to the Download API ......................................................................................................................... 2
Acquiring the Refresh Token in TRAQS ......................................................................................................... 4
Requesting An Access Token......................................................................................................................... 7
Requesting a File with an Access Token ....................................................................................................... 8
Protocol ......................................................................................................................................................... 9
File Availability – All Times are Approximate ................................................................................................ 9
URL Parameters .......................................................................................................................................... 10
File Definitions - All Files are Pipe Delimited .......................................................................................... 11
TRACE for Treasury Securities Security Master Files .......................................................................... 11
TRACE for Treasury Securities Daily List (for Securities) ..................................................................... 12
TRACE for Treasury Participant List .................................................................................................... 13
TRACE for Treasury Participant Daily List ............................................................................................ 13
TRACE for Treasury Securities US Agreements File ............................................................................ 14
Example Requests ................................................................................................................................... 15
Example 1 - Get the current TRACE for Treasury Participant List ....................................................... 15
Example 2 - Get the TRACE for Treasury Participant Daily List for 7/10/2017 ................................... 15
Example 3 - Get today’s TRACE for Treasury Participant Daily List (no day provided) ....................... 15
Example 4 - Get changes to the TRACE for Treasury Participant Daily List since the last download (no
day provided) ...................................................................................................................................... 15
Example 5 - Get the current Treasury Security Master file................................................................ 15
Example 6 - Get today’s TS Daily List (no day provided) ..................................................................... 15
Sample Results ........................................................................................................................................ 16
TRACE for Treasury Securities Security Master File Illustrating the Header and Footer .................... 16
TRACE for Treasury Securities Daily List File Illustrating the Header and Footer ............................... 16
TRACE for Treasury Participant Daily List File Illustrating the Header and Footer ............................. 17
TRACE for Treasury Participant List File Illustrating the Header and Footer ...................................... 17
Appendices .................................................................................................................................................. 18
Appendix 1 – Treasury Securities Coupon Type Codes and Descriptions ............................................... 18
Appendix 2 - Daily List Update Reason Codes and Descriptions ............................................................ 18
Programmatic Access Example(curl) ........................................................................................................... 20