# Cost components (/api-reference/costs/cost-components)

## Cost components

`GET https://data.tryopengrid.com/v1/costs/components`

Egress, storage and other cost components per provider.

### Parameters

- `provider` (query, any)
- `component` (query, any)
- `limit` (query, integer)
- `cursor` (query, any)
- `OpenGrid-Version` (header, string): The API version to shape the response for. Default: the version pinned to your key.

### Response `data`

- `allowance_scope` (null | string)
- `as_of` (string)
- `billed_when_stopped` (boolean | null)
- `component` (string)
- `kind` (string)
- `listing_id` (null)
- `notes` (null | string)
- `origin` (string)
- `product` (string)
- `provider` (string)
- `provider_name` (string)
- `raw_unit` (string)
- `region` (null | string)
- `source` (string)
- `status` (string)
- `tiers` (array of object)
  - `end_gb` (null | number)
  - `price` (number)
  - `start_gb` (number)
- `unit` (string)

Every success is `{"data": ..., "meta": {as_of, api_version, request_id, next_cursor?}}`.

### Example

```bash
curl "https://data.tryopengrid.com/v1/costs/components" \
  -H "Authorization: Bearer $OPENGRID_API_KEY"
```