+(917) 809 4370

JSON API

API Documentation

Treadwell Stanton DuPont provides an API to integrate NEBULA6 data output into your platform. The TSD API uses HTTPS verbs and a RESTful endpoint structure, which makes it easy to request data from Treadwell Stanton DuPont. API responses are in JSON format.

All registered users automatically receive an API Key.

Over time, we will add more APIs and/or endpoints to further and better integrate our high-end platform to your business needs.

PORTFOLIO_ALL_INSCOPE

This API returns all your portfolio's stocks and funds which are in scope.

API Parameters

 Required:  function 

The portfolio data series of your choice. In this case,  function=PORTFOLIO_ALL_INSCOPE 

 Required:  apikey 

Your API key. In this case,  apikey={apikey} 

Example

 https://www.treadwell-stanton.com/api/v1/query?function=PORTFOLIO_ALL_INSCOPE&apikey={apikey} 

To test, paste the request into your web browser's address bar.

You can also test the Treadwell Stanton DuPont API using the cURL command line utility:

 curl https://www.treadwell-stanton.com/api/v1/query?function=PORTFOLIO_ALL_INSCOPE&apikey={apikey} 

If on Windows, you may need to enclose the request in double quotation marks:

 curl "https://www.treadwell-stanton.com/api/v1/query?function=PORTFOLIO_ALL_INSCOPE&apikey={apikey}"

Output Example

JSON sample output

API Key Change

If your API Key has been compromised or you feel the need to change it for any reason at all, please contact us. We'll provide a new API Key within 1 business day or less, if urgent.