Utilities
SDG&E logo

SDG&E API

sdge.com

SDG&E current and effective electric and gas tariffs

Actions
6
Category
Utilities
Login
Not required
Output
JSON

Call the SDG&E API

Submit a task, then poll the job until it settles. This example runs act_sdge_com_get_rate_schedule_charges.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_sdge_com_get_rate_schedule_charges",
    "params": {
      "schedule_code": "DR"
    }
  }'

6 actions on sdge.com

Read

  • Get Rate Schedule Charges

    act_sdge_com_get_rate_schedule_chargesread1 credit / call

    Get an SDG&E rate schedule's charges by schedule code: customer charge, energy charges, demand charge, riders, effective date, and source document URL

    schedule_code
    string · required
    book_id
    string
  • Get Tariff Book Territory

    act_sdge_com_get_tariff_book_territoryread1 credit / call

    Get SDG&E tariff-book service territory, jurisdiction, and regulatory commission (CPUC) with territory map URLs

  • List Rate Schedules

    act_sdge_com_list_rate_schedulesread1 credit / call

    List current SDG&E rate schedules / tariff sheets with schedule code, name, customer class, and document URL

    book_id
    string
    section_id
    string
    rate_group
    string
  • List Revised Tariffs

    act_sdge_com_list_revised_tariffsread1 credit / call

    List recently revised SDG&E tariff sheets and advice letters with filing and effective dates

    status
    string
    book_id
    string
  • List Riders

    act_sdge_com_list_ridersread1 credit / call

    List SDG&E riders and adjustment clauses (preliminary statements) with codes, names, and source document URLs

    book_id
    string
    section_id
    string
  • Search Tariffs

    act_sdge_com_search_tariffsread1 credit / call

    Search SDG&E tariffs and riders by keyword against current schedule and preliminary-statement lists

    keyword
    string · required
    book_id
    string

SDG&E API questions

Is there an API for SDG&E?
SDG&E does not offer a public data API for this, but Anakin Wire provides 6 maintained endpoints for sdge.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape SDG&E data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when sdge.com changes its markup, Anakin updates the action.
Do I need a SDG&E account?
No. Every SDG&E action listed here runs anonymously — no account and no credentials required.
What does the SDG&E API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Utilities APIs

All Utilities sites