UnifyAPI
← Back to catalog

samuni.municipalities

mock data$0.001 / call

SA Municipal — List Municipalities

List all South African municipalities registered with the National Treasury. Returns up to 300 municipalities with demarcation code, name, province, category, phone number, and website URL. Filter by province code (EC, GP, KZN, WC, etc.) or category (A=Metro, B=Local, C=District). South Africa has 8 metropolitan (A), ~205 local (B), and 44 district (C) municipalities. Demarcation codes are needed for other samuni tools (e.g. CPT=Cape Town, JHB=Johannesburg, ETH=eThekwini/Durban, TSH=Tshwane, EKU=Ekurhuleni). No auth required. Source: SA National Treasury Municipal Finance Management Act (MFMA) data portal.

Government & Legalprovider: Samuni#samuni#government

Input schema

limit

Maximum number of municipalities to return (1-300, default 50). Use 300 for full list.

integer
category

Municipality category: A=Metropolitan, B=Local (most), C=District. SA has 8 metros (A), ~205 local (B), and 44 district (C) municipalities.

string
province_code

Filter by province code: EC=Eastern Cape, FS=Free State, GP=Gauteng, KZN=KwaZulu-Natal, LP=Limpopo, MP=Mpumalanga, NC=Northern Cape, NW=North West, WC=Western Cape

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/samuni.municipalities \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"limit":0,"category":"<category>","province_code":"<province_code>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.