just/mocks_
mockzilla.org →
Catalog /ai /Carbon Intensity API

Carbon Intensity API

PROVIDER · Carbonintensity SPEC v2.0.0 · OpenAPI 3.0.0 MOCK · LIVE
▸ TRY IT
https://api.justmocks.com/carbon-intensity
Open mock →

Simulate the Carbon Intensity API with 12 endpoints without keys, sandboxes, or a live account.

[01]

About

overview

Mock the Carbon Intensity API as a turnkey Mockzilla sim with 12 OpenAPI endpoints, realistic JSON payloads, no upstream signup or sandbox keys. National Grid's Carbon Intensity API provides an indicative trend of regional carbon intensity of the electricity system in Great Britain (GB) up to 2 days ahead of real-time. Methods: 12x GET. Top resource groups: intensity, stats. Hit https://api.justmocks.com/carbon-intensity for the Mockzilla API Explorer landing and per-endpoint sample requests.

Endpoints
12 across 2 resource groups
Methods
GET 12 none deprecated
OpenAPI
3.0.0 spec version 2.0.0
Source spec
16 KB · YAML
[02]

Endpoints

12 operations · 2 resource groups
GET /intensity
intensity
Get Carbon Intensity data for current half hour.
Retrieves Carbon Intensity data for the current half hour. All times provided in UTC (+00:00). Mocked via Mockzilla.
GET /intensity/date
intensity
Get Carbon Intensity data for today.
Get Carbon Intensity data for today. All times provided in UTC (+00:00).
GET /intensity/date/{date}
intensity
Get Carbon Intensity data for a specific date.
Get Carbon Intensity data for a specific date. All times provided in UTC (+00:00).
GET /intensity/date/{date}/{period}
intensity
Get Carbon Intensity data for specific date and period.
Get Carbon Intensity data for a specific date and half hour settlement period. All times provided in UTC (+00:00).
GET /intensity/factors
intensity
Get Carbon Intensity factors for each fuel type.
Get Carbon Intensity factors for each fuel type.
GET /intensity/{from}
intensity
Get Carbon Intensity data for specific half hour period.
Returns carbon intensity data for a specific half hour period. All times provided in UTC (+00:00). Available as a Mockzilla mock endpoint.
GET /intensity/{from}/fw24h
intensity
Get Carbon Intensity data 24hrs forwards from specific datetime.
Get Carbon Intensity data between the {from} datetime specified and 24hrs before. All times provided in UTC (+00:00).
GET /intensity/{from}/fw48h
intensity
Get Carbon Intensity data 48hrs forwards from specific datetime.
Get Carbon Intensity data between the {from} datetime specified and 48hrs after. All times provided in UTC (+00:00).
GET /intensity/{from}/pt24h
intensity
Get Carbon Intensity data 24hrs in the past of a specific datetime.
Get Carbon Intensity data between the {from} datetime specified and 24hrs before. All times provided in UTC (+00:00).
GET /intensity/{from}/{to}
intensity
Get Carbon Intensity data between from and to datetime
Get Carbon Intensity data between the {from} and {to} datetimes. The maximum date range is limited to 14 days. All times provided in UTC (+00:00).
GET /intensity/stats/{from}/{to}
stats
Get Carbon Intensity statistics
Get Carbon Intensity statistics (average, max, mean) between from and to datetime. The maximum date range is limited to 30 days. All times provided in UTC (+00:00). Mockzilla mock: no signup, no API key.
GET /intensity/stats/{from}/{to}/{block}
stats
Get block average Carbon Intensity statistics
Get block average Carbon Intensity statistics (average, max, mean) between from and to datetime. The maximum date range is limited to 30 days. The block length must be between 1 and 24 hours and should be an integer. All times provided in UTC (+00:00).