# Gold price quote

> Source: https://elaichi.ai/docs/api-reference/organizations/pricing/getpricing/

`GET /pricing`

Resource: **Pricing** · API: **Organizations**

## Query parameters

- **`country`** _(string)_
  ISO 3166-1 alpha-2, any case. An unassigned code prices as unknown (list).

## Response body

- **`country`** _(string,null)_
  ISO 3166-1 alpha-2 the price is based on, or null when unknown (which prices as list).
- **`tier`** _(string)_
  Tier id: `t0` (list) to `t4` by GDP band, or a country tier such as `in` (India). Compare by `discount_pct`.
- **`discount_pct`** _(integer)_
  Discount off list, 0–60.
- **`regional`** _(boolean)_
  `tier !== "t0"`.
- **`available`** _(boolean)_
  False only for a country Elaichi cannot sell to — Checkout refuses it with `region_unavailable`.
- **`currency`** _(string)_
  Lowercase ISO 4217 the `gold` amounts are in.
- **`gold`** _(object)_
  Per-seat price for one cycle in `currency` minor units — exactly what Checkout charges. `year` is the year total.
  - **`month`** _(object)_
    - **`unit_amount`** _(integer)_
  - **`year`** _(object)_
    - **`unit_amount`** _(integer)_
- **`list`** _(object)_
  List (t0) price to show the discount against: in `currency` when list price is set in it, else USD. Display only.
  - **`currency`** _(string)_
  - **`gold`** _(object)_
    - **`month`** _(object)_
      - **`unit_amount`** _(integer)_
    - **`year`** _(object)_
      - **`unit_amount`** _(integer)_

## Code examples

### curl

```bash
curl -X GET 'https://api.elaichi.ai/pricing' \
  -H 'Content-Type: application/json'
```

### JavaScript

```javascript
const response = await fetch('https://api.elaichi.ai/pricing', {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
```

### Python

```python
import os
import requests

url = "https://api.elaichi.ai/pricing"
headers = {
    "Content-Type": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())
```
