---
title: "Get region PostgreSQL pricing"
method: GET
path: "/api/regions/{regionName}/pricing/postgres"
tags: ["regions"]
---

# Get region PostgreSQL pricing

`GET /api/regions/{regionName}/pricing/postgres`

## Request

- Base URL: `https://api.hostim.dev`
- URL: `https://api.hostim.dev/api/regions/{regionName}/pricing/postgres`
- Auth: none required

Get region PostgreSQL pricing

## Path parameters

- `regionName` string, required

## Response `200`

Region PostgreSQL pricing found

- PostgresPricing[]
  - `name` string, required: The pricing plan name
  - `price` number, required: The price of the PostgreSQL instance
  - `storageMB` integer, required: The storage of the PostgreSQL instance in MB
  - `type` 'dedicated' | 'shared', required: The type of the PostgreSQL instance
  - `cores` integer: The cores of the PostgreSQL instance
  - `ram` integer: The RAM of the PostgreSQL instance
  - `available` boolean, required: Whether the plan is available or not

## Other responses

- `401`: User is not authorized
- `404`: Region not found
- `500`: Internal server error

---

[API](https://skmtc.dev/hostim/apis/hostim-api.md) · [All operations](https://skmtc.dev/hostim/apis/hostim-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostim/apis/hostim-api/revisions/37c35e1026a9?raw)
