API_Getfilteredshares

Syntax:

filter = that, or the filter criteria to be searched for
paging = restricts the search results, corresponds to LIMIT 0.25 in SQL
sorting = according to what is to be sorted, field and text, corresponds to ORDER BY in SQL 
token = your Finanzoo token (https://www.finanzoo.de/en/account/api.html) -> You need a premium account to use it.

 

Example call:

https://api.finanzoo.de/v1/public/?API_Getfilteredshares&token=YOURTOKEN&filter=[delisted=0;countryid=220,54;indexids=9,82]&paging=[0;5]&sorting=[fscore%20DESC]

Example answer:

["{entries:94}",{"uid":"172","shortname":"Texas Instruments","name":"Texas Instruments","sma200_color":"1","fscore":"71.950","fscore_background_color":"BDFF21","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"177","shortname":"Vertex","name":"Vertex Pharmaceuticals","sma200_color":"0","fscore":"71.000","fscore_background_color":"BDFF21","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"67","shortname":"Adobe","name":"Adobe Systems","sma200_color":"0","fscore":"70.000","fscore_background_color":"BDFF21","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"104","shortname":"Biogen","name":"Biogen","sma200_color":"0","fscore":"68.600","fscore_background_color":"BDFF21","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"99","shortname":"Applied Materials","name":"Applied Materials","sma200_color":"1","fscore":"67.950","fscore_background_color":"C2FF1F","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"}]

Attention!

The first return element always contains the total number of entries found! I.e. it should be filtered out first in the corresponding programming language. We chose this solution for performance reasons.

 

API for index

Index ID assignment, currently supported by Finanzoo:

 

IdName
1Dow Jones Industrial Average
2Dax
3TecDAX
4MDAX
5SDAX
6Prime All Share
7NASDAQ Comp.
8S&P 500
9NASDAQ 100
11FTSE 100
12CAC 40
13IBEX 35
14ATX
15OMX Stockholm PI
16PX Prague
17RTX Russian
19BUX
20WIG 20
26S&P/TSX 60
28S&P/TSX Composite
30BOVESPA
31NIKKEI 225
32Hang Seng
33Australia All Ordinaries
35TOPIX
36DAXglobal BRIC
37EURO STOXX 50
38SMI
39AEX 25
41OMXH 25
42Athex 20
43BEL 20
49ISE 100
54Shanghai Composite
62OMX Tallinn
63OMX Riga
64OMX Vilnius
72CDAX
75STOXX EUROPE 600
76HDAX
77FTSE MIB
79SPI
80NO INDEX
81ASX 200
82Russell 3000
83OSEBX
84MSCI World Index


Example call for DAX and TecDax:

https://api.finanzoo.de/v1/public/?API_Getfilteredshares&token=YOURTOKEN&filter=[delisted=0;indexids=2,3]

Answer:

["{entries:56}",{"uid":"32","shortname":"adidas","name":"adidas AG","sma200_color":"1","fscore":"27.000","fscore_background_color":"FFE000","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"33","shortname":"Allianz","name":"Allianz SE","sma200_color":"1","fscore":"44.000","fscore_background_color":"F5FF05","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"34","shortname":"BASF","name":"BASF..........................,"historycomplete":"1"}]