/api/public/v1/partiesList all published parties.
Example
curl https://elezzjonimalta.lovable.app/api/public/v1/parties
For developers
A small, read-only JSON API exposing published Elezzjoni data — parties, electoral districts and candidates. No API key required.
Format
JSON
Authentication
None
CORS
*
To keep the service responsive for everyone, public endpoints are throttled per client IP.
Note: the limit is enforced per server instance and resets on restart, so it is a fair-use guard rather than a strict cap. If you need a higher, guaranteed limit, get in touch.
/api/public/v1/partiesList all published parties.
Example
curl https://elezzjonimalta.lovable.app/api/public/v1/parties
/api/public/v1/districtsList all 13 published electoral districts with their localities.
Example
curl https://elezzjonimalta.lovable.app/api/public/v1/districts
/api/public/v1/candidatesList published candidates. Filter by district number/UUID or party slug/UUID.
Query parameters
districtstringDistrict number 1–13 or district UUID. Filters by primary_district_id.partystringParty slug (e.g. pn, pl, adpd) or party UUID.limitinteger1–500 (default 100).Example
curl "https://elezzjonimalta.lovable.app/api/public/v1/candidates?district=6&party=pl"
All endpoints return a JSON envelope with a data array and a meta object describing the result.
{
"data": [ /* records */ ],
"meta": {
"count": 13,
"generatedAt": "2026-04-29T08:00:00.000Z"
}
}Data is open and free to reuse. Please credit "Elezzjoni" with a link back to the site, and check the About page for sourcing details.