Historical data API

Our Application Programming Interface (or SDK) is provided for use by third-party developers and specifies a standard interface that can be implemented on any platform using any programming language to download historical data from our servers. Click here to find out how you can get access to Kibot API.

New Kibot API Features (2/15/2013)

We have recently activated some undocumented new features in Kibot API. We will provide all the details with our next Kibot API v2.0 release.

1. Tick data support. All of our tick data can now be downloaded from API. There is an undocumented parameter you can use: &interval=tickbidask. For example:
http://api.kibot.com/?action=history&symbol=MSFT&interval=tickbidask&period=10

2. Canadian stocks, Futures and Forex. We have started supporting other instrument types and markets, not just US stocks and ETFs. New "&type=" parameter is necessary to get Futures, Forex and Canadian data. For example, this query gets the last 10 days of tick data for BO (SOYBEAN OIL):
http://api.kibot.com/?action=history&symbol=BO&interval=tickbidask&period=10&type=futures

3. Unadjusted data support. You can now download both adjusted and unadjusted data from our API. There is a parameter you can use to get the unadjusted data: &unadjusted=1. This works for all US and Canadian stocks and ETFs. For example:
http://api.kibot.com/?action=history&symbol=MSFT&interval=1&period=10&unadjusted=1

4. New servers assigned. There are two servers at the moment that process API calls. api.kibot.com may point to any one of them so if you would like to target them specifically, use API1 and API2 prefixes. API1 is in Washington DC, US and API2 is in Nuremberg, Germany. If any of them becomes unavailable or slow, for whatever reason, you can switch to the other one and continue downloading data.

Download intraday and daily data for stocks

All of our tick, intraday and daily (end-of-day) data is available for download trough API. We offer over 14 years of 1 minute-level intraday stock market historical data for thousands of the most popular and liquid companies.

Simple and intuitive

Our goal is to provide a simple to use and intuitive way to access historical market data on our servers. Our API uses standard HTTP protocol to process requests and deliver results to remote client applications. It allows the developer to access data and functionality we provide through a web-enabled application. Kibot API follows the standard web services model: users of the service request historical data over HTTP and data is returned by the service as a formatted stream of text.

Ready to use examples

Whenever possible, we include examples to use with a browser to quickly and easily formulate calls to Kibot API and review results. Simply copy and paste the provided URL into your web browser's address text box to get the results. Before issuing any requests, make sure that you are logged in. We also offer an open-source application which you can use as a basis for your own application development.

Downloads

You can download a printable version of Kibot API documentation in PDF format or a compiled HTML help (chm) file. You can also download our open-source sample application which demonstrates the client-server communication:

  1. Printable PDF version
  2. HTML help CHM version
  3. Kibot API Client application source code and binary files



Historical Data API - Table of Contents

Introduction
    Historical data API  
    Overview
    How to get access
Commands
    Login request
    Download historical data
    Stock data adjustments
    Logout request
    Status
Examples
    Sample source code
    Sample client application
Other
    Data compression
    Server responses