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.
Endpoint health
Loading verification…
Connect your agent
Connect through MCP so your agent can find this API, read its docs, and call its endpoints.
Add the server from your terminal.
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcpIn 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 keySign 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.
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
pageobjectpage.notesobject[]page.notes[].textstringpage.notes[].sectionstringpage.page_titlestringpage.source_urlstringpage.article_titlestringpage.coverage_notestringpage.revision_datestring | nullpage.table_headingsstring[]page.publication_datestring | nullpage.supporting_linksobject[]page.supporting_links[].urlstringpage.supporting_links[].labelstringpage.supporting_links[].contextstringpage.supporting_links[].sectionstringpage.effective_wordingstringcountintegeritemsobject[]items[].idstringitems[].rowsobject[]items[].rows[].row_labelstringitems[].rows[].row_numberintegeritems[].rows[].unit_wordingstring | nullitems[].rows[].original_textstringitems[].rows[].column_headingstringitems[].rows[].currency_symbolstring | nullitems[].rows[].footnote_markersstring[]items[].rows[].published_amountsstring[]items[].periodsobject[]items[].periods[].source_labelstringitems[].periods[].time_wordingstringitems[].periods[].original_textstringitems[].periods[].holiday_wordingstring | nullitems[].periods[].weekday_wordingstring | nullitems[].periods[].section_referencestringitems[].footnotesobject[]items[].footnotes[].textstringitems[].footnotes[].markerstringitems[].footnotes[].referencestringitems[].charge_scopestringitems[].source_labelstringitems[].id_provenancestringitems[].table_referencestringitems[].applicable_notesobject[]items[].applicable_notes[].textstringitems[].applicable_notes[].sectionstringitems[].source_native_identifierstring | nullitems[].off_peak_guidance_thresholdstring | nulltransportstringretrieved_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 · stringAPI-generated slug derived from the source table column heading; use an id returned by /v1/rates.
Example: rate-tou
Response
itemobjectitem.idstringitem.rowsobject[]item.rows[].row_labelstringitem.rows[].row_numberintegeritem.rows[].unit_wordingstring | nullitem.rows[].original_textstringitem.rows[].column_headingstringitem.rows[].currency_symbolstring | nullitem.rows[].footnote_markersstring[]item.rows[].published_amountsstring[]item.periodsobject[]item.periods[].source_labelstringitem.periods[].time_wordingstringitem.periods[].original_textstringitem.periods[].holiday_wordingstring | nullitem.periods[].weekday_wordingstring | nullitem.periods[].section_referencestringitem.footnotesobject[]item.footnotes[].textstringitem.footnotes[].markerstringitem.footnotes[].referencestringitem.charge_scopestringitem.source_labelstringitem.id_provenancestringitem.table_referencestringitem.applicable_notesobject[]item.applicable_notes[].textstringitem.applicable_notes[].sectionstringitem.source_native_identifierstring | nullitem.off_peak_guidance_thresholdstring | nullpageobjectpage.notesobject[]page.notes[].textstringpage.notes[].sectionstringpage.page_titlestringpage.source_urlstringpage.article_titlestringpage.coverage_notestringpage.revision_datestring | nullpage.table_headingsstring[]page.publication_datestring | nullpage.supporting_linksobject[]page.supporting_links[].urlstringpage.supporting_links[].labelstringpage.supporting_links[].contextstringpage.supporting_links[].sectionstringpage.effective_wordingstringtransportstringretrieved_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.
An account is required to submit an extension. Prepare your request, then sign in to build.