Calculators

A suite of powerful financial calculators available via the API. All data and assumptions are maintained by Adviser Portals. Requests available are 'calculators' and 'calculator'.

Calculators

Returns a list of available financial calculators.

Filter Key: calculatorid (optional)

Request

https://www.adviserportals.co.uk/api/1.0/calculators/apikey/responseformat

XML Response

<?xml version="1.0" encoding="utf-8"?>
<calculators>
    <header/>
    <data>
        <calculator>
            <calculatorID></calculatorID>
            <calculatorTitle></calculatorTitle>
            <calculatorDescription></calculatorDescription>
            <calculatorButtonUri></calculatorButtonUri>
        </calculator>
    </data>
</calculators>

PHP

$api->getCalculators($calculatorid = null);

Calculator

Retrieve a single fully formatted and functioning financial calculator. Loads all required libraries such as JQuery if not present.

Filter Key: calculatorid (required)

Request

https://www.adviserportals.co.uk/api/1.0/calculator/apikey/responseformat/calculatorid/filtervalue

XML Response

<?xml version="1.0" encoding="utf-8"?>
<calculators>
    <header/>
    <data>
        <calculator>
            <calculatorID></calculatorID>
            <calculatorTitle></calculatorTitle>
            <calculatorSyntax></calculatorSyntax>
        </calculator>
    </data>
</calculators>

PHP

$api->getCalculator($calculatorid);