Utilities
CFE logo

CFE API

cfe.mx

Comisión Federal de Electricidad public KYB and customer-service lookups

Actions
1
Category
Utilities
Login
Not required
Output
JSON

Call the CFE API

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

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_cfe_mx_list_offices",
    "params": {
      "state": "Ciudad de México",
      "municipality": "Cuauhtémoc"
    }
  }'

1 action on cfe.mx

Read

  • List CFE customer service offices

    act_cfe_mx_list_officesread1 credit / call

    List CFE centros de atención by Mexican state and municipality, with street address

    state
    string · required
    municipality
    string · required

CFE API questions

Is there an API for CFE?
CFE does not offer a public data API for this, but Anakin Wire provides 1 maintained endpoint for cfe.mx. 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 CFE 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 cfe.mx changes its markup, Anakin updates the action.
Do I need a CFE account?
No. Every CFE action listed here runs anonymously — no account and no credentials required.
What does the CFE 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