Skip to content

FousSGE

Pull your SGE metering data into your own systems

Get a PRM's Courbe de charge (load curve), Index quotidiens (daily readings) or contract data from SGE with one API call. Each month, a workflow can post last month's load curves for every PRM you manage to your energy management system.

Works with your own SGE account. Fous is an independent product.

What you can build on SGE

  • Download a load curve history

    Build this

    Downloads the Courbe de charge (load curve) history from the Portail SGE for one PRM or a list of PRMs, within the last 24 months.

    Takes
    PRM or list of PRMs, start date, end date
    Returns
    PRM, timestamp, value, unit, for each point in the period
  • Get daily index and daily energy

    Build this

    Downloads the Index quotidiens (daily meter readings) and Énergies quotidiennes (daily energy) history for a PRM, up to 36 months back.

    Takes
    PRM, start date, end date
    Returns
    PRM, date, index per register, daily energy, unit
  • Get a PRM's technical and contractual data

    Build this

    Reads the Données techniques et contractuelles (technical and contractual data) SGE shows for one 14-digit PRM.

    Takes
    PRM
    Returns
    PRM, segment, address, meter, contract details as SGE shows them
  • Find a PRM by address or meter number

    Build this

    Searches for a Point Référence Mesure on SGE by postal address, meter serial number or the previous occupant's name.

    Takes
    Postal address, meter serial number or previous occupant's name
    Returns
    PRM, address, segment, meter serial number

Automate SGE with a workflow

A workflow runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

  • Last month's load curves for every PRM you manage

    Build this
    Starts
    Monthly on the 3rd at 7:00, once SGE has the last days of the month
    Step 1
    For each PRM on your list, download the Courbe de charge history for the previous month.
    Step 2
    Keep the PRMs whose history came back with points.
    Step 3
    Post each PRM's points, with timestamps, values and unit, to your energy management system's webhook.
  • Weekly check of technical and contractual data

    Build this
    Starts
    Every Monday at 8:00
    Step 1
    For each PRM on your list, get its Données techniques et contractuelles.
    Step 2
    Keep the PRMs whose data changed since the last run.
    Step 3
    Email you the changed PRMs with the old and new values side by side.
  • Daily index readings into your billing system

    Build this
    Starts
    Every day at 9:00, for the day before yesterday
    Step 1
    For each PRM on your list, get the Index quotidiens and Énergies quotidiennes for the day before yesterday.
    Step 2
    Stop when no PRM has a reading for that day.
    Step 3
    Post PRM, date, index per register and daily energy to your billing system's webhook.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

Once built, one call from your code

Once you have built a method, it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Download a load curve history” would look like.

Example request
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "sge.enedis.fr/get_load_curve_history",
    "input": {
      "prms": [
        "30001234567890"
      ],
      "start_date": "2026-10-01",
      "end_date": "2026-10-01"
    }
  }'
Example response
{
  "status": "completed",
  "data": {
    "curves": [
      {
        "prm": "30001234567890",
        "unit": "W",
        "points": [
          {
            "timestamp": "2026-10-01T00:30:00+02:00",
            "value": 1840
          }
        ],
        "point_count": 48
      }
    ],
    "count": 1
  }
}

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

SGE’s own options

Enedis offers SGE's data services as SOAP web services and recurring files to energy-sector companies that sign its SGE Tiers contract. Web service access comes after an SGE account is active and the connection passes homologation on a test platform. Enedis does not charge for access.

OptionWhat it coversWhat it takes
SGE web services (SOAP)PRM search, technical and contractual data, detailed measurements, and searching or stopping subscriptions.A signed SGE Tiers contract, an active SGE account and homologation on a test platform with anonymised data. Not charged.
Services d'abonnementRecurring metering data as encrypted XML files, daily, weekly or monthly depending on the service and segment.The SGE Tiers contract, with FTP or email delivery addresses given in its annexe 2.
The Portail SGE by handPRM lookups and history downloads in CSV or JSON, for one PRM or a list of PRMs.An SGE account created by one of your habilitateurs, with multi-factor sign-in.

Read on November 12, 2026: SGE Tiers: how it works, SGE Tiers: data services, Enedis SGE Tiers contract model.

Signing in to SGE

The Portail SGE has required multi-factor authentication since June 2025, with an app or browser extension on a second channel, replacing PKI keys over time. Accounts are created by your company's habilitateurs. With Fous you sign in once through SGE's own sign-in with your own account, and the login is sealed with AES-256, never returned by the API or written to logs.

Worth knowing

A declared authorisation for every PRM
Each request must carry, for each PRM, your declaration that the customer authorised it. An authorisation with no stated validity period is not valid, and Enedis can ask for proof up to 5 years after a consultation.
History depth depends on the data
History downloads go back 24 months for the Courbe de charge, 36 months for Index quotidiens and Énergies quotidiennes, and 60 months for Mesures facturantes. A direct load curve consultation covers 7 days at a time.
Segments decide what exists
Puissances maximales quotidiennes (daily maximum power) exist for C5 points only. Subscription files arrive daily, weekly or monthly depending on the service and the segment.
Customers can see who reads their data
Since 1 July 2018, a customer with a Linky meter and an Enedis personal space can see which parties have recurring access to their data, and suspend it there.

More in Energy and utilities

Other industries: PFG CustomerFirst, ScotiaConnect, Portal Rede, KWSP i-Akaun (Majikan), TRACES, Booking.com Extranet.

Frequently asked questions

Yes, as SOAP web services for companies that sign Enedis's SGE Tiers contract. You get them once your SGE account is active and your connection passes homologation on a test platform. Recurring data also comes as encrypted XML files by FTP or email. Enedis does not charge for access.

24 months through the history download on the Portail SGE, as CSV or JSON for one PRM or a list. Index quotidiens and Énergies quotidiennes go back 36 months, and Mesures facturantes 60 months.

Enedis gives J+1 to J+2: data for a day is available one to two days later. Schedule a daily workflow for the day before yesterday to read complete days.

Yes, for contractual and measurement data. The customer's express consent is needed, you declare it for each PRM in every request, and Enedis checks authorisations regularly. Technical data alone can be looked up with the 14-digit PRM or the address.

No. Fous is an independent product. You use it with your own SGE account, and a method reads and does only what that account can.

Put SGE behind an API call

Describe one job in Studio and see the method it builds, with 100 credits a month and no credit card, or book a demo and bring the sites your team signs in to.

Read nextCemig AtendeEnel Agência VirtualEspace Producteur EDF OAPFG CustomerFirstHow methods workHow workflows run

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of SGE (Enedis). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.