Register your organization and generators with the target registry: M-RETS (app.mrets.org) for Midwest and voluntary national markets, WREGIS (wecc.org/WREGIS) for the Western Interconnection; obtain API credentials from each registry's account settings.
For M-RETS, review the API documentation at mrets.org/api/ and use the provided API key to authenticate requests; the M-RETS API provides endpoints for certificate inventory, transactions, retirements, and generator data.
Automate issuance for registered generators: submit meter data uploads (generation MWh by month) to the registry's generation upload interface — M-RETS accepts CSV uploads or API submissions; the registry issues RECs (one per MWh) with unique serial numbers upon verification.
Track certificate inventory: query the active certificates endpoint periodically to retrieve certificates by serial number range, vintage, fuel type, and eligibility flags; store the full certificate record including all eligibility attributes needed for compliance claims.
Automate retirements: when a customer's EAC matching requires retirement, submit a retirement transaction via the API specifying the certificate serial numbers, retirement reason (voluntary/compliance), and the beneficiary account; record the registry's retirement confirmation and certificate number.
For WREGIS-to-M-RETS transfers (imports), use M-RETS's WREGIS Reserve Account import workflow; note that WREGIS certificates must first be deposited to a WREGIS Reserve account before M-RETS can import them — implement this two-step process in your automation.
Known gotchas
M-RETS recently rebranded to CleanCounts for its voluntary market operations; API endpoint base URLs and branding may change — always fetch the current base URL from the official documentation rather than cached values.
WREGIS does not provide a public programmatic API comparable to M-RETS; bulk data operations often require web portal interactions or scheduled data exports rather than real-time API calls — design your WREGIS automation around file-based workflows.
REC serial number ranges encode vintage, generator ID, and state eligibility; a retirement against the wrong serial number range (e.g., wrong vintage year) will be rejected by the registry but may not produce an obvious error message — validate serial number metadata before submitting retirement batches.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp