Catalog / cmpco.com

cmpco.com API

Live HTML-only access to the Time-of-Use delivery rate and Rate A comparison on CMP’s public page. Includes published table rows, footnotes, hours, eligibility guidance and supporting link metadata; linked documents, account tools, calculator state and complete-bill or supply pricing are outside coverage.

  • Other
  • electricity
  • Maine
  • delivery rates
  • time of use
2 endpointsDocs updated

Endpoint health

Loading verification…

RatesLoading

Connect your agent

Connect through MCP so your agent can find this API, read its docs, and call its endpoints.

Setup guide

Add the server from your terminal.

Claude Code · terminal
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcp

In Claude Code, run /mcp, select agent-data, then Authenticate. Sign in to your agent-data account in the browser.

Then ask your agent to use the cmpco.com API for your task.

Call it over HTTP

Get an API key

Sign up free, generate an API key, and set it as AGENT_DATA_API_KEY in your environment. Your first 100 calls each month are free.

Return the whole bounded comparison table and shared page context without pagination.

View call pricing
cURL · Rates
curl --request GET --get 'https://api.agent-data.dev/cmpco-com/v1/rates' \
  --header "Authorization: Bearer $AGENT_DATA_API_KEY"

Endpoints

Inputs and response fields for every endpoint in this API.

GETRates/v1/rates

Return the whole bounded comparison table and shared page context without pagination.

Input

No input parameters.

Response

pageobject
page.notesobject[]
page.notes[].textstring
page.notes[].sectionstring
page.page_titlestring
page.source_urlstring
page.article_titlestring
page.coverage_notestring
page.revision_datestring | null
page.table_headingsstring[]
page.publication_datestring | null
page.supporting_linksobject[]
page.supporting_links[].urlstring
page.supporting_links[].labelstring
page.supporting_links[].contextstring
page.supporting_links[].sectionstring
page.effective_wordingstring
countinteger
itemsobject[]
items[].idstring
items[].rowsobject[]
items[].rows[].row_labelstring
items[].rows[].row_numberinteger
items[].rows[].unit_wordingstring | null
items[].rows[].original_textstring
items[].rows[].column_headingstring
items[].rows[].currency_symbolstring | null
items[].rows[].footnote_markersstring[]
items[].rows[].published_amountsstring[]
items[].periodsobject[]
items[].periods[].source_labelstring
items[].periods[].time_wordingstring
items[].periods[].original_textstring
items[].periods[].holiday_wordingstring | null
items[].periods[].weekday_wordingstring | null
items[].periods[].section_referencestring
items[].footnotesobject[]
items[].footnotes[].textstring
items[].footnotes[].markerstring
items[].footnotes[].referencestring
items[].charge_scopestring
items[].source_labelstring
items[].id_provenancestring
items[].table_referencestring
items[].applicable_notesobject[]
items[].applicable_notes[].textstring
items[].applicable_notes[].sectionstring
items[].source_native_identifierstring | null
items[].off_peak_guidance_thresholdstring | null
transportstring
retrieved_atstring (date-time)
GETRates by rate id/v1/rates/{rate_id}

Reject invalid IDs locally; a valid slug not present on the live page is a 404.

Input

rate_idRequiredPath · string

API-generated slug derived from the source table column heading; use an id returned by /v1/rates.

Example: rate-tou

Response

itemobject
item.idstring
item.rowsobject[]
item.rows[].row_labelstring
item.rows[].row_numberinteger
item.rows[].unit_wordingstring | null
item.rows[].original_textstring
item.rows[].column_headingstring
item.rows[].currency_symbolstring | null
item.rows[].footnote_markersstring[]
item.rows[].published_amountsstring[]
item.periodsobject[]
item.periods[].source_labelstring
item.periods[].time_wordingstring
item.periods[].original_textstring
item.periods[].holiday_wordingstring | null
item.periods[].weekday_wordingstring | null
item.periods[].section_referencestring
item.footnotesobject[]
item.footnotes[].textstring
item.footnotes[].markerstring
item.footnotes[].referencestring
item.charge_scopestring
item.source_labelstring
item.id_provenancestring
item.table_referencestring
item.applicable_notesobject[]
item.applicable_notes[].textstring
item.applicable_notes[].sectionstring
item.source_native_identifierstring | null
item.off_peak_guidance_thresholdstring | null
pageobject
page.notesobject[]
page.notes[].textstring
page.notes[].sectionstring
page.page_titlestring
page.source_urlstring
page.article_titlestring
page.coverage_notestring
page.revision_datestring | null
page.table_headingsstring[]
page.publication_datestring | null
page.supporting_linksobject[]
page.supporting_links[].urlstring
page.supporting_links[].labelstring
page.supporting_links[].contextstring
page.supporting_links[].sectionstring
page.effective_wordingstring
transportstring
retrieved_atstring (date-time)

Don’t see the endpoint you need?

Ask agent-data to add an endpoint or return more fields. Extensions are free and keep existing endpoints working.