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:

 

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