Costs
Cost components
GET
Egress, storage and other cost components per provider.
bearerheader
AuthorizationBearer <token>Your API key: Authorization: Bearer opg_live_...
provider?string|nullcomponent?string|nulllimit?LimitRange
1 <= value <= 1000Default
100cursor?string|nullOpenGrid-Version?"2026-11-03"The API version to shape the response for. Default: the version pinned to your key.
Value in
"2026-11-03"Success
application/json- response
data*array<>meta*Present on every success. List routes add limit, next_cursor (null on the last page) and total.
curl -X GET 'https://data.tryopengrid.com/v1/costs/components'Example Response
{ "data": [ { "allowance_scope": null, "as_of": "string", "billed_when_stopped": true, "component": "string", "kind": "string", "listing_id": null, "notes": null, "origin": "string", "product": "string", "provider": "string", "provider_name": "string", "raw_unit": "string", "region": null, "source": "string", "status": "string", "tiers": [ { "end_gb": null, "price": 0, "start_gb": 0 } ], "unit": "string" } ], "meta": { "as_of": "2019-08-24T14:15:22Z", "api_version": "string", "request_id": "string", "next_cursor": "string", "limit": 0, "total": 0 }}