---
title: "Get a site's upgrade options"
url: https://docs.corefinity.com/api/reference/sites/get-site-upgrade-options
type: endpoint
last_updated: 2026-11-13
feature: upgrades
related:
  - https://docs.corefinity.com/guides/sites/size-and-capacity/upgrade-a-package.md
  - https://docs.corefinity.com/mcp/tools/corestack_site_upgrade_options_get.md
---
# Get a site's upgrade options

Answers what a site can change to and what each choice costs a month: its line's packages, its add-ons with
their unit prices and ceilings, its staging sizes and the server types, and whether you may pay for a change
(`rights.can_pay`). A site with no billing contract is offered the same changes without prices (`not_billed`),
and a site inside a CoreCluster takes its package from the CoreCluster. An environment's id answers for its
site.

```http
GET /api/corestack/sites/{site}/upgrade-options
```

- Scope: `read`
- Two-factor: required on your account (all)
- Rate limit: 120 a minute
- Try it in the console: on

## Path parameters

- `site` (integer, required): The id of a site row. A website's production site and each of its environments has its own id. Digits only.

## Request

### curl

```bash
curl https://manage.corefinity.com/api/corestack/sites/1042/upgrade-options \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json"
```

### PHP

```php
use Illuminate\Support\Facades\Http;

$response = Http::withToken(env('COREFINITY_TOKEN'))
    ->acceptJson()
    ->get('https://manage.corefinity.com/api/corestack/sites/1042/upgrade-options');

$data = $response->json();
```

### Node

```javascript
const res = await fetch('https://manage.corefinity.com/api/corestack/sites/1042/upgrade-options', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.COREFINITY_TOKEN}`,
    Accept: 'application/json',
  },
});

// An answer with no body (204) has nothing to parse.
const text = await res.text();
const data = text && JSON.parse(text);
```

### Python

```python
import os
import requests

res = requests.get(
    "https://manage.corefinity.com/api/corestack/sites/1042/upgrade-options",
    headers={
        "Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
        "Accept": "application/json",
    },
)

data = res.json() if res.content else None
```

## Responses

### 200 The upgrade options.

```json
{
  "addons": {
    "available": {
      "available": true,
      "reason": null
    },
    "current": {
      "cores": 0,
      "disk_gb": 0,
      "log_storage_gb": 0,
      "memory_gb": 0
    },
    "max": {
      "cores": 16,
      "disk_gb": 102400,
      "log_storage_gb": 1000,
      "memory_gb": 64
    },
    "unit": [
      {
        "key": "core",
        "label": "Extra core",
        "max": 16,
        "monthly": {
          "amount": "45.00",
          "currency": "GBP"
        },
        "step": 1,
        "unit": "core"
      },
      {
        "key": "memory_gb",
        "label": "Extra memory",
        "max": 64,
        "monthly": {
          "amount": "5.00",
          "currency": "GBP"
        },
        "step": 1,
        "unit": "GB"
      },
      {
        "key": "disk_gb",
        "label": "Extra disk",
        "max": 102400,
        "monthly": {
          "amount": "0.20",
          "currency": "GBP"
        },
        "step": 10,
        "unit": "GB"
      },
      {
        "key": "log_storage_gb",
        "label": "Extra log storage",
        "max": 1000,
        "monthly": {
          "amount": "0.10",
          "currency": "GBP"
        },
        "step": 1,
        "unit": "GB"
      }
    ]
  },
  "apply_default": "now",
  "can_apply_tonight": true,
  "contract": {
    "id": 8158,
    "reference": "MC-2-1"
  },
  "currency": "GBP",
  "family": [
    {
      "available": true,
      "current": true,
      "key": "general",
      "label": "Standard",
      "monthly_delta": {
        "amount": "0.00",
        "currency": "GBP"
      },
      "note": null,
      "provisioned": false,
      "reason": "first"
    },
    {
      "available": true,
      "current": false,
      "key": "optimised",
      "label": "Performance",
      "monthly_delta": {
        "amount": "60.00",
        "currency": "GBP"
      },
      "note": null,
      "provisioned": false,
      "reason": "first"
    }
  ],
  "not_billed": null,
  "packages": [
    {
      "available": {
        "available": false,
        "reason": "Ask us to move to a smaller package"
      },
      "change": {
        "direction": "downgrade",
        "notes": []
      },
      "code": "CS2",
      "cores": 2,
      "disk_gb": 100,
      "key": "cs2",
      "memory_gib": 8,
      "monthly": {
        "amount": "150.00",
        "currency": "GBP"
      },
      "name": "CoreStack CS2"
    },
    {
      "available": {
        "available": true,
        "reason": null
      },
      "change": null,
      "code": "CS4",
      "cores": 4,
      "disk_gb": 200,
      "key": "cs4",
      "memory_gib": 16,
      "monthly": {
        "amount": "300.00",
        "currency": "GBP"
      },
      "name": "CoreStack CS4"
    },
    {
      "available": {
        "available": true,
        "reason": null
      },
      "change": {
        "direction": "upgrade",
        "notes": []
      },
      "code": "CS6",
      "cores": 6,
      "disk_gb": 300,
      "key": "cs6",
      "memory_gib": 24,
      "monthly": {
        "amount": "450.00",
        "currency": "GBP"
      },
      "name": "CoreStack CS6"
    }
  ],
  "pending": {
    "batch": null,
    "can_apply_now": {
      "available": false,
      "reason": "nothing_pending"
    },
    "environment": {
      "id": 1042,
      "name": "Production",
      "role": "production",
      "slug": "production"
    },
    "items": [],
    "site": {
      "domain": "harbourandfinch.example.com",
      "id": 1042
    },
    "tier": null,
    "window": {
      "date": "2026-11-03",
      "ends_at": "2026-11-04T07:00:00Z",
      "label": "Tonight 21:00–07:00 (Europe/London)",
      "starts_at": "2026-11-03T21:00:00Z"
    }
  },
  "rights": {
    "can_edit": true,
    "can_pay": false,
    "can_view": true,
    "reason": null
  },
  "subject": {
    "family": "general",
    "monthly": {
      "amount": "300.00",
      "currency": "GBP"
    },
    "package": {
      "code": "CS4",
      "key": "cs4"
    },
    "ref": {
      "domain": "harbourandfinch.example.com",
      "id": 1042
    },
    "region": {
      "key": "uk",
      "label": "United Kingdom"
    },
    "type": "site"
  },
  "uat": []
}
```

### 401 No token, or a token that is not valid.

```json
{
  "message": "Unauthenticated."
}
```

### 403 The token lacks the `read` scope (`scope_required`), your company requires two-factor authentication and you have not set it up (`two_factor_required`), or you reach the site only as its managing agency (`forbidden`): its billing is the client's, so its options and prices are not shown to you.

```json
{
  "code": "company_unavailable",
  "message": "Your company is unavailable.",
  "reason": "company_unavailable"
}
```

### 404 The id does not exist or is something you cannot see, or the feature is not on for your company (`feature_off`).

```json
{
  "code": "feature_off",
  "message": "Not found.",
  "reason": "feature_off"
}
```

### 429 Too many requests (`rate_limited`). Wait for the number of seconds in `Retry-After`, which `retry_after_seconds` repeats.

```json
{
  "code": "rate_limited",
  "message": "Too many requests. Try again in 60 seconds.",
  "reason": "rate_limited",
  "retry_after_seconds": 60
}
```

## If it is refused

| Status | Reason | What to do |
|---|---|---|
| 401 |  | Send a valid token as `Authorization: Bearer <token>`. |
| 403 | `company_unavailable` | Your company is unavailable. |
| 403 | `forbidden` | The person is not allowed to do this. |
| 403 | `scope_required` | Use a token with the scope named in `scope`. |
| 403 | `two_factor_required` | Turn on two-factor on your account, then send again. |
| 404 | `feature_off` | This feature is not on for your organisation yet. |
| 429 | `rate_limited` | Wait for the seconds in `Retry-After`. |

## The same task elsewhere

- Guide: [Upgrade package](https://docs.corefinity.com/guides/sites/size-and-capacity/upgrade-a-package.md)
- MCP tool: [`corestack_site_upgrade_options_get`](https://docs.corefinity.com/mcp/tools/corestack_site_upgrade_options_get.md)
