Market Data API
The Market Data API is designed around REST and supports standard HTTP response codes and methods. All responses are delivered via JSON for programmatic use of the information or via CSV files to load into your preferred spreadsheet application.
Any endpoint may return HTTP 203 Non-Authoritative Information instead of 200 OK when the response is served from our caching tier. This is normal — the body is identical in shape, and you should treat 203 exactly the same as 200. Many HTTP clients (and many OpenAPI-generated SDKs) default to treating only 200 as success; you must update your client to also accept 203 or your integration will silently fail in production.
A 204 No Content response can also occur when mode=cached is requested and no cached data is available — see Data Mode and Troubleshooting for the full list of status codes.
Try Our API
The easiest way to try out our API is using our Swagger User Interface, which will allow you to try out your API requests directly from your browser.
Our endpoints have lots of optional parameters to allow users to sort and filter responses. It can be overwhelming to new users at first. When you're first getting started testing our API in Swagger, scroll to the required parameters and ignore all the optional ones. Most endpoints require only a ticker symbol as a required parameter.
Get Started Quick — No Registration Required!
You can try stock, option, index, and mutual fund endpoints with several different symbols that are unlocked and require no authorization token. That means these symbols can be used throughout our API with no registration required!
- Stock endpoints: Use AAPL.
- Options endpoints: Use any AAPL contract, for example: AAPL271217C00250000.
- Mutual fund endpoints: Use VFINX.
Once you would like to experiment with other symbols, register a free account (no credit card required) and you be able to choose a free trial. After your trial ends, if you decide not to subscribe, you will still get 100 free requests per day. Make the decision to pay only after making a complete trial of our API.