Discover/citypower.co.za API
live

citypower.co.za APIcitypower.co.za

Access City Power Johannesburg electricity tariffs, loadshedding schedules, outages, news, FAQs, and contact info via a single structured API.

Endpoints
15
Updated
15d ago
Try it

No input parameters required.

api.parse.bot/scraper/33668489-22a5-4e1d-8ff4-bd1051a06f02/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/33668489-22a5-4e1d-8ff4-bd1051a06f02/get_tariffs_and_charges' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 15 totalclick to expand

Retrieve current electricity tariff structures including residential, commercial, and industrial rates, plus links to tariff documents.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "business_tariffs": "array of business tariff objects with tariff_name, tariffs, and tariffType",
    "tariff_documents": "object with page info and linksItems array of document links",
    "residential_tariffs": "array of residential tariff objects with tariff_name, tariffs, and tariffType",
    "large_power_users_tariffs": "array of industrial/large power user tariff objects"
  },
  "sample": {
    "data": {
      "business_tariffs": [
        {
          "id": 39,
          "tariffs": [
            {
              "prepaid_id": 20,
              "tarrif_season": "Summer Energy Charges",
              "residentPrepaidItems": [
                {
                  "current": "274,62",
                  "approved": "308,04",
                  "items_id": 176,
                  "residentialPrepaid": "Block 1(0-500kWh)"
                }
              ]
            }
          ],
          "tariffType": "BUSINESS",
          "tariff_name": "Business Prepaid"
        }
      ],
      "tariff_documents": {
        "id": 3,
        "page": "Tariffs",
        "linksItems": [
          {
            "items_id": 12,
            "link_pdf": "Customer_Services/Tariffs/2025-26 T Book-14-01-2025ppp.pdf",
            "link_name": "Tariffs And Charges"
          }
        ]
      },
      "residential_tariffs": [
        {
          "id": 31,
          "tariffs": [
            {
              "prepaid_id": 6,
              "tarrif_season": "",
              "residentPrepaidItems": [
                {
                  "current": "175,38",
                  "approved": "227,28",
                  "items_id": 108,
                  "residentialPrepaid": "Block 1(0-500kWh)"
                }
              ]
            }
          ],
          "tariffType": "RESIDENTIAL",
          "tariff_name": "Residential Single Phase 60A"
        }
      ],
      "large_power_users_tariffs": [
        {
          "id": 44,
          "tariffs": [
            {
              "prepaid_id": 32,
              "tarrif_season": "",
              "residentPrepaidItems": [
                {
                  "current": "185,32",
                  "approved": "238,03",
                  "items_id": 226,
                  "residentialPrepaid": "Summer Energy Charge"
                }
              ]
            }
          ],
          "tariffType": "LARGE_POWER_USERS",
          "tariff_name": "Industrial LV"
        }
      ]
    },
    "status": "success"
  }
}

About the citypower.co.za API

The City Power API exposes 15 endpoints covering everything from real-time loadshedding status and suburb-level schedule lookups to electricity tariffs, active network outages, tender bulletins, and customer contact details. Endpoints like get_loadshedding_planner let you filter schedules by suburb name, while get_outages_status returns grouped fault data with affected areas, regions, and substation identifiers — all as structured JSON ready to consume.

Loadshedding Data

The get_loadshedding_status endpoint returns the active_stage (or null when no loadshedding is in effect) and any notifications currently in effect. For schedule detail, get_loadshedding_schedule returns a full timetable array — each entry carries blockId, timeRange, dayId, and stageId — alongside area_blocks that map area names to block IDs. get_loadshedding_planner accepts an optional suburb string and returns both all_areas and a matched_areas array filtered to that suburb, making it straightforward to build a per-neighbourhood schedule view.

Tariffs and Outages

get_tariffs_and_charges returns four top-level arrays: residential_tariffs, business_tariffs, large_power_users_tariffs, and tariff_documents. Each tariff object includes tariff_name, tariffs, and tariffType. get_outages_status returns outage categories where each item has a name (e.g. "Planned Power Outage", "UnPlanned Power Outage"), a description, and an outages array with per-event fields: affected_areas, outage_date, region, and substation.

Customer Services and Company Information

get_contact_info structures City Power contacts into three arrays: Queries (with queryname, telephone, weekdays, email), Contacts, and Addresses listing service delivery centres with addressItems. get_meter_reading_schedules returns submission instructions, an email address, downloadable files, and schedules_content paragraphs. get_faq returns all FAQ entries categorised by faqType (Tariffs, General, SSEG, and others); get_sseg_info is a focused subset returning only SSEG-category entries about solar feed-in and small-scale embedded generation.

News, Tenders, and Reports

get_latest_news returns articles as a list of objects each with subject, subtitle, story (an array of paragraph strings), news_id, and published_date in YYYY-MM-DD HH:MM:SS.S format. get_tender_bulletins exposes current and past tenders with closingDate, datePostedOn, bidDocuments, bidAdverts, and a tenderpage field distinguishing current from past. get_company_reports returns a linksItems array of report document links.

Common use cases
  • Display the current loadshedding stage and urgent alerts in a home-automation dashboard using get_loadshedding_status.
  • Build a suburb-specific loadshedding schedule widget by querying get_loadshedding_planner with a user-supplied suburb name.
  • Notify customers of planned or unplanned outages in their region by polling get_outages_status for new entries with matching region or affected_areas.
  • Render a current electricity tariff comparison table for residential and business customers from get_tariffs_and_charges response fields.
  • Surface City Power tender opportunities in a procurement tracking tool using get_tender_bulletins with closingDate and bidDocuments.
  • Automate meter reading reminder emails by combining schedule data from get_meter_reading_schedules with email field values.
  • Index City Power FAQs and SSEG solar feed-in Q&A into a searchable knowledge base using get_faq and get_sseg_info.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does City Power have an official public developer API?+
City Power does not publish an official developer API or documented data service. The endpoints here are the structured way to access this data programmatically.
What does `get_loadshedding_planner` return when no suburb is specified?+
Omitting the suburb parameter returns all areas in the all_areas array alongside the full timetable, with matched_areas returned as an empty array. Providing a suburb string performs a case-insensitive partial match and populates matched_areas with the relevant area objects and their blockId values.
Does `get_outages_status` distinguish between planned and unplanned faults?+
Yes. The response groups outage events by category, and each category object includes a name field that identifies the type — for example "Planned Power Outage" or "UnPlanned Power Outage". Each category also carries an outages array with per-event fields including region, substation, affected_areas, and outage_date.
Can I look up historical outage records or past loadshedding stage data?+
Not currently. get_outages_status returns only currently active faults, and get_loadshedding_status returns only the live stage. Historical outage or stage-change data is not exposed. You can fork this API on Parse and revise it to add an endpoint that tracks and stores stage or outage history over time.
Is prepaid token or account balance lookup available through this API?+
Not currently. The API covers prepaid vending vendor links via get_prepaid_vending_info, but individual account balances, token generation, and transaction history are not exposed. You can fork the API on Parse and revise it to add any customer-portal endpoints that become accessible.
Page content last updated . Spec covers 15 endpoints from citypower.co.za.
Related APIs in Government PublicSee all →
athletic.net API
Search and analyze cross country and track & field performance data across the US, including athlete profiles, meet results, team rosters, and rankings. Access comprehensive meet information, historical records, and state-level competition data to track athlete progress and discover top performers.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
maradminbot.com API
Search and retrieve official Marine Corps MARADMIN announcements from Marines.mil, filtering by year, status, and keyword to stay updated on the latest personnel and administrative directives. Get detailed information about specific announcements by number or browse the most recent updates to ensure you never miss critical Marine Corps guidance.
13f.info API
13f.info API
illinoisreportcard.com API
Search and analyze comprehensive performance data for Illinois public schools, districts, and the state, including academic achievements in ELA, math, and science, student demographics, teacher and administrator information, school finances, and environmental conditions. Compare schools side-by-side, track growth metrics, and access accountability ratings and school highlights to make informed decisions about education quality.
customs.gov.mv API
Check import/export duties, tariff classifications, and exchange rates for Maldives customs compliance, plus track vessel movements, company registrations, and declaration statuses. Get real-time data directly from the official customs portal to streamline your trade and logistics operations.
bizapedia.com API
Search for detailed business profiles and contact information from Bizapedia, including company details, employee data, and communication channels. Access comprehensive business intelligence to research companies and build targeted contact lists.