# Get published pricing

`GET https://evohub.io/api/v1/pricing`

Part of the [Billing API](https://docs.evohub.io/billing.md) reference · operationId `getPricing`.

The latest published rate card, with the monthly free allowance that
goes with it — the price list the pricing page shows. When a new price
has been announced for a future date, this already shows it; the rate
card in force today is at `/api/v1/billing/rate-card`.

No API key is needed. Answers may be cached for five minutes.

## Responses

### 200 — The published pricing.

Headers:

- `Cache-Control` (string): `public, max-age=300`.

Content type: `application/json`

Type: `object`

- `data` (RateCard & object)
  - `version` (integer)
  - `effective_from` (string (date-time)): When this card starts pricing usage.
  - `usd_per_ehu` (object): The price of one EHU at each tier, in US dollars.
    - `on_demand` (number)
    - `commitment` (number)
    - `prepaid` (number): The price of credit bought in bundles.
  - `metrics` (array of object): One weight per metric, sorted by `metric_key`.
    - `metric_key` (string)
    - `ehu_weight` (number): EHU charged for one unit of the metric.
  - `free_tier_ehu_per_month` (number): The free allowance every organization gets each month, in EHU.

### 429 — Too many requests (`RATE_LIMITED`). Wait for `Retry-After` seconds.

Headers:

- `Retry-After` (integer): Seconds to wait before retrying.

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `STATEMENT_NOT_FOUND`)
  - `message` (string, required, example `No statement for that period.`)
  - `request_id` (string)

### 500 — The rate card could not be loaded (`RATE_CARD_FAILED`). Retry later.

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `STATEMENT_NOT_FOUND`)
  - `message` (string, required, example `No statement for that period.`)
  - `request_id` (string)

## Example request

```bash
curl -X GET 'https://evohub.io/api/v1/pricing'
```
