This is a short integration sketch, not an in-depth tutorial. EU Dividends & Splits by ISIN is an Apify Actor that takes an ISIN and returns dividend and split records.
Actor page: https://apify.com/carabain-digital/eu-dividends
One caveat before the code. I only have the Actor's store listing, not its input schema or a sample output. So the field names in the code below (isins, exDate, and so on) are placeholders. Check them against the Actor's input schema and a real run, then adjust.
What the Actor returns
The listing describes dividend history and splits per ISIN for European and UK shares, with these fields:
- ex-date
- pay date
- declaration date
- type
- status
- the declared amount and currency
The output is merged from Yahoo Finance, Dividendmax and Borsa Italiana. The listing says the Actor is built for portfolio trackers.
Pricing
The price is $1 per 1,000 dividend or split records on the FREE tier.
Setup
You need an Apify account and an API token. Keep the token in an environment variable (APIFY_TOKEN), not in source code.
Node.js with apify-client
import { ApifyClient } from 'apify-client'; const client = new ApifyClient({ token: process.env.APIFY_TOKEN }); // Placeholder input. The field name `isins` is a guess; check the input schema. const input = { isins: ['<YOUR_ISIN>'] }; const run = await client.actor('carabain-digital/eu-dividends').call(input); const { items } = await client.dataset(run.defaultDatasetId).listItems(); console.log(items); Python with apify-client
import os from apify_client import ApifyClient client = ApifyClient(os.environ["APIFY_TOKEN"]) # Placeholder input. The field name "isins" is a guess; check the input schema. run_input = {"isins": ["<YOUR_ISIN>"]} run = client.actor("carabain-digital/eu-dividends").call(run_input=run_input) items = list(client.dataset(run["defaultDatasetId"]).iterate_items()) print(items) Map records to your own table
Each record carries an ex-date, a pay date and a currency, so you can store them in a table and decide in your app which date you use.
function toLedgerRow(item) { return { exDate: item.exDate, payDate: item.payDate, declarationDate: item.declarationDate, type: item.type, status: item.status, amount: item.amount, currency: item.currency, }; } const rows = items.map(toLedgerRow); Because each record has a type and a status, you can also separate dividends from splits, or filter on status.