Markets

Several types of market data are available over the API. This data is compiled by Adviser Portals and updated every 60 minutes. Available requests are 'marketindices', 'marketcurrencies' and 'marketsummary'.

Marketindices

Retrieves formatted html table containing data about various stock market indices.

Filter Key: None

Request

https://ifaportals.co.uk/api/1.0/marketindices/apikey/responseformat

XML Response

<?xml version="1.0" encoding="utf-8"?>
<markets>
    <header/>
    <data>
        <indices></indices>
    </data>
</markets>

PHP

$api->getMarketIndices();

Marketwinners

DEPRECATED

Retrieves formatted html table containing data about largest gains in FTSE index.

Filter Key: None

Request

https://ifaportals.co.uk/api/1.0/marketwinners/apikey/responseformat

XML Response

<?xml version="1.0" encoding="utf-8"?>
<markets>
    <header/>
    <data>
        <winners></winners>
    </data>
</markets>

PHP

$api->getMarketWinners();

Marketlosers

DEPRECATED

Retrieves formatted html table containing data about largest losses in FTSE.

Filter Key: None

Request

https://ifaportals.co.uk/api/1.0/marketlosers/apikey/responseformat

XML Response

<?xml version="1.0" encoding="utf-8"?>
<markets>
    <header/>
    <data>
        <losers></losers>
    </data>
</markets>

PHP

$api->getMarketLosers();

Marketcurrencies

Retrieves formatted html table containing data about various currency prices in GBP.

Filter Key: None

Request

https://ifaportals.co.uk/api/1.0/marketcurrencies/apikey/responseformat

XML Response

<?xml version="1.0" encoding="utf-8"?>
<markets>
    <header/>
    <data>
        <currencies></currencies>
    </data>
</markets>

PHP

$api->getMarketCurrencies();

Marketsummary

Retrieves formatted html table containing summary market data.

Filter Key: None

Request

https://ifaportals.co.uk/api/1.0/marketsummary/apikey/responseformat

XML Response

<?xml version="1.0" encoding="utf-8"?>
<markets>
    <header/>
    <data>
        <summary></summary>
    </data>
</markets>

PHP

$api->getMarketSummary();