Markit Data APIs

Play with some real market data, have fun and show off. Send us your creation.

We have a few APIs for you to play around with, and we’re working to add some more. Continue reading below for details on how to use the Lookup API, Stock Quote API and the Timeseries API for a historical pricing dataset. We have a full set of documentation available and a bunch of demos over on our GitHub page, so put on a pot of coffee and enjoy.

Follow Us

While you can find all the documentation you need right here, check out Markit On Demand on GitHub for code samples, demos & other goodies.

Terms of Use: Markit On Demand has provided these web services for limited purposes. Read the MIT License and full terms of use before coding.

Company Lookup API

Sample Response

[
	{
		"Symbol":"GM",
		"Name":"General Motors Co",
		"Exchange":"NYSE"
	},
	{
		"Symbol":"GM",
		"Name":"General Motors Co",
		"Exchange":"BATS Trading Inc"
	}
]

Demo available!

Head over to GitHub for a Javascript type-ahead demo using jQuery UI. Try it out! »

Stock Quote API

Sample Response

{
    "Data":{
        "Name":"Apple Inc",
        "Symbol":"AAPL",
        "LastPrice":424.04,
        "Change":-3.36899999999997,
        "ChangePercent":-0.788237964104632,
        "Timestamp":"Tue Jan 22 10:58:00 UTC-07:00 2012",
        "MarketCap":395266765800,
        "Volume":263809,
        "ChangeYTD":402.64,
        "ChangePercentYTD":5.31492151798133,
        "High":424.99,
        "Low":423.22,
        "Open":424.86
    }
}

Demo available!

Head over to GitHub for a Javascript stock quote demo. Try it out! »

Timeseries API

Sample Response

{
    "Data":{
        "Name":"Google Inc",
        "Symbol":"GOOG",
        "Series":{
            "open":{ 
	            "min":474,
	            "max":665.03,
	            "values":[
                    609.48,
                    610.15,
                    ...
                ]
            },
            //...repeats for Open, High, Low, Close
            "SeriesLabels":{
                "x":{
                    "text":
                    [
                        "Feb 2011",
                        "Mar 2011",
                        ...
                    ]
                }
            },
            "SeriesLabelCoordinates":[
                0,
                0,
                0.019,
                ...
            ],
            "SeriesDates":[
                "Thu Feb 3 2011",
                "Fri Feb 4 2011",
                ...
            ],
            "SeriesDuration":365,
        }
    }
}

Code available!

Head over to our GitHub account for a Javascript file to get you started. Get the javascript! »

API Documentation