Catalog / longmontcolorado.gov

longmontcolorado.gov API

Live, read-only HTML rates for City of Longmont residential electric schedules, tables, worked examples and notes. Linked document contents are outside coverage; no calculated tariffs or bills are provided.

  • Other
  • electricity
  • residential rates
  • Longmont
2 endpointsDocs updated

Endpoint health

Loading verification…

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 longmontcolorado.gov 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.

Fetch the live source page on each request; returns all source HTML rate sections without paging.

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

Endpoints

Inputs and response fields for every endpoint in this API.

GETResidential rates/v1/residential-rates

Fetch the live source page on each request; returns all source HTML rate sections without paging.

Input

No input parameters.

Response

countinteger
contextobject[]
context[].textstring
context[].links?object[]
context[].links[].urlstring
context[].links[].labelstring
context[].links[].referencestring
context[].links[].surrounding_textstring
context[].links[].document_content_in_scopeboolean
context[].sectionstring
context[].referencestring
schedulesobject[]
schedules[].codestring
schedules[].linksobject[]
schedules[].links[].urlstring
schedules[].links[].labelstring
schedules[].links[].referencestring
schedules[].links[].surrounding_textstring
schedules[].links[].document_content_in_scopeboolean
schedules[].notesobject[]
schedules[].notes[].textstring
schedules[].notes[].linksobject[]
schedules[].notes[].links[].urlstring
schedules[].notes[].links[].labelstring
schedules[].notes[].links[].referencestring
schedules[].notes[].links[].surrounding_textstring
schedules[].notes[].links[].document_content_in_scopeboolean
schedules[].notes[].referencestring
schedules[].tablesobject[]
schedules[].tables[].kind"rate_table" | "worked_bill_example"
schedules[].tables[].rowsobject[]
schedules[].tables[].rows[].cellsobject[]
schedules[].tables[].rows[].cells[].tagstring
schedules[].tables[].rows[].cells[].textstring
schedules[].tables[].rows[].cells[].colspaninteger
schedules[].tables[].rows[].cells[].rowspaninteger
schedules[].tables[].rows[].row_refstring
schedules[].tables[].captionstring | null
schedules[].tables[].entriesobject[]
schedules[].tables[].entries[].columnsobject[]
schedules[].tables[].entries[].columns[].textstring
schedules[].tables[].entries[].columns[].headingstring
schedules[].tables[].entries[].row_refstring
schedules[].tables[].entries[].source_labelstring
schedules[].tables[].table_refstring
schedules[].tables[].caption_refstring | null
schedules[].tables[].column_headingsstring[]
schedules[].headingstring
schedules[].id_originstring
schedules[].section_refstring
schedules[].date_mentionsobject[]
schedules[].date_mentions[].contextstring
schedules[].date_mentions[].wordingstring
schedules[].date_mentions[].referencestring
schedules[].worked_examplesobject[]
schedules[].worked_examples[].kind"rate_table" | "worked_bill_example"
schedules[].worked_examples[].rowsobject[]
schedules[].worked_examples[].rows[].cellsobject[]
schedules[].worked_examples[].rows[].cells[].tagstring
schedules[].worked_examples[].rows[].cells[].textstring
schedules[].worked_examples[].rows[].cells[].colspaninteger
schedules[].worked_examples[].rows[].cells[].rowspaninteger
schedules[].worked_examples[].rows[].row_refstring
schedules[].worked_examples[].captionstring | null
schedules[].worked_examples[].entriesobject[]
schedules[].worked_examples[].entries[].columnsobject[]
schedules[].worked_examples[].entries[].columns[].textstring
schedules[].worked_examples[].entries[].columns[].headingstring
schedules[].worked_examples[].entries[].row_refstring
schedules[].worked_examples[].entries[].source_labelstring
schedules[].worked_examples[].table_refstring
schedules[].worked_examples[].caption_refstring | null
schedules[].worked_examples[].column_headingsstring[]
transportstring
page_datesobject
page_dates.scope?string | null
page_dates.reference?string | null
page_dates.date_modified?string | null
page_dates.date_published?string | null
page_titlestring
source_urlstring
retrieved_atstring (date-time)
linked_document_coveragestring

Fields marked ? are optional.

GETResidential rates by code/v1/residential-rates/{code}

Fetch fresh HTML and select the schedule by its publisher code; unknown codes return 404.

Input

codeRequiredPath · string

Publisher abbreviation from the listing, e.g. RE, RD, RRU, REGL or REGE.

Example: RE

Response

contextobject[]
context[].textstring
context[].links?object[]
context[].links[].urlstring
context[].links[].labelstring
context[].links[].referencestring
context[].links[].surrounding_textstring
context[].links[].document_content_in_scopeboolean
context[].sectionstring
context[].referencestring
scheduleobject
schedule.codestring
schedule.linksobject[]
schedule.links[].urlstring
schedule.links[].labelstring
schedule.links[].referencestring
schedule.links[].surrounding_textstring
schedule.links[].document_content_in_scopeboolean
schedule.notesobject[]
schedule.notes[].textstring
schedule.notes[].linksobject[]
schedule.notes[].links[].urlstring
schedule.notes[].links[].labelstring
schedule.notes[].links[].referencestring
schedule.notes[].links[].surrounding_textstring
schedule.notes[].links[].document_content_in_scopeboolean
schedule.notes[].referencestring
schedule.tablesobject[]
schedule.tables[].kind"rate_table" | "worked_bill_example"
schedule.tables[].rowsobject[]
schedule.tables[].rows[].cellsobject[]
schedule.tables[].rows[].cells[].tagstring
schedule.tables[].rows[].cells[].textstring
schedule.tables[].rows[].cells[].colspaninteger
schedule.tables[].rows[].cells[].rowspaninteger
schedule.tables[].rows[].row_refstring
schedule.tables[].captionstring | null
schedule.tables[].entriesobject[]
schedule.tables[].entries[].columnsobject[]
schedule.tables[].entries[].columns[].textstring
schedule.tables[].entries[].columns[].headingstring
schedule.tables[].entries[].row_refstring
schedule.tables[].entries[].source_labelstring
schedule.tables[].table_refstring
schedule.tables[].caption_refstring | null
schedule.tables[].column_headingsstring[]
schedule.headingstring
schedule.id_originstring
schedule.section_refstring
schedule.date_mentionsobject[]
schedule.date_mentions[].contextstring
schedule.date_mentions[].wordingstring
schedule.date_mentions[].referencestring
schedule.worked_examplesobject[]
schedule.worked_examples[].kind"rate_table" | "worked_bill_example"
schedule.worked_examples[].rowsobject[]
schedule.worked_examples[].rows[].cellsobject[]
schedule.worked_examples[].rows[].cells[].tagstring
schedule.worked_examples[].rows[].cells[].textstring
schedule.worked_examples[].rows[].cells[].colspaninteger
schedule.worked_examples[].rows[].cells[].rowspaninteger
schedule.worked_examples[].rows[].row_refstring
schedule.worked_examples[].captionstring | null
schedule.worked_examples[].entriesobject[]
schedule.worked_examples[].entries[].columnsobject[]
schedule.worked_examples[].entries[].columns[].textstring
schedule.worked_examples[].entries[].columns[].headingstring
schedule.worked_examples[].entries[].row_refstring
schedule.worked_examples[].entries[].source_labelstring
schedule.worked_examples[].table_refstring
schedule.worked_examples[].caption_refstring | null
schedule.worked_examples[].column_headingsstring[]
transportstring
page_datesobject
page_dates.scope?string | null
page_dates.reference?string | null
page_dates.date_modified?string | null
page_dates.date_published?string | null
page_titlestring
source_urlstring
retrieved_atstring (date-time)
linked_document_coveragestring

Fields marked ? are optional.

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.