Treasury Direct API

Access comprehensive U.S. Treasury securities data through our API integration

Already Have an Analytics Provider?

Whether you're using an existing analytics platform or simply need APIs for raw financial data, we'd love to be of service. Our flexible API solutions integrate seamlessly with your current systems.

99.9%
Uptime
50ms
Avg Response
10K+
API Calls/Day
24/7
Support

Additional API Products

We also offer API products covering corporate bonds and other fixed income instruments globally. Our comprehensive data feeds provide real-time and historical data for a wide range of fixed income securities.

Corporate Bonds

Access detailed data on corporate bonds including ratings, yields, and pricing.

Municipal Bonds

Comprehensive coverage of the municipal bond market with tax and yield information.

Global Fixed Income

International fixed income data covering sovereign and corporate debt worldwide.

For more information about our complete API offerings, please

contact us.
API Overview
The Treasury Direct API provides access to U.S. Treasury securities data, including bills, notes, bonds, and TIPS.

This API allows you to retrieve detailed information about Treasury securities, including auction data, yields, prices, and other relevant financial metrics. The data is sourced directly from TreasuryDirect.gov.

Authentication

The Treasury Direct API is publicly accessible and does not require authentication for basic queries. However, rate limits may apply to prevent abuse.

Endpoints

Securities Search
GET

https://www.treasurydirect.gov/TA_WS/securities/jqsearch

Retrieves a list of Treasury securities based on the provided parameters.

Error Handling

The API may return the following HTTP status codes:

Status Code
Description
200 OK
Request successful
400 Bad Request
Invalid parameters
429 Too Many Requests
Rate limit exceeded
500 Internal Server Error
Server-side error
Rate Limits

While there are no officially documented rate limits, it's recommended to implement reasonable throttling in your applications to prevent potential IP blocking. A good practice is to limit requests to no more than 10 per minute.