---
title: "Returns storage that is for sale"
method: GET
path: "/sales/availability"
tags: ["Marketplace"]
---

# Returns storage that is for sale

`GET /sales/availability`

## Response `200`

Retrieved storage availabilities of the node

- SalesAvailabilityREAD[]
  - `id` string — 32bits identifier encoded in hex-decimal string.
  - `totalSize` string — Total size of availability's storage in bytes as decimal string
  - `duration` string — The duration of the request in seconds as decimal string
  - `minPrice` string — Minimal price paid (in amount of tokens) for the whole hosted request's slot for the request's duration as decimal string
  - `maxCollateral` string — Maximum collateral user is willing to pay per filled Slot (in amount of tokens) as decimal string
  - `freeSize` string — Unused size of availability's storage in bytes as decimal string

## Other responses

- `500` — Error getting unused availabilities
- `503` — Persistence is not enabled

## Changes

- **2024-09-24** `b8ae963e2ad3` — 1 breaking, 5 warning, 2 info
  - the `items/` response's property type changed from `object` to no type for status `200`
  - removed the optional property `items/duration` from the response with the `200` status
  - removed the optional property `items/id` from the response with the `200` status
  - removed the optional property `items/maxCollateral` from the response with the `200` status
  - …4 more
- **2024-03-21** `64a4e4f07d65` — 2 breaking, 1 info
  - the response property `items/minPrice` became optional for the status `200`
  - removed the required property `items/size` from the response with the `200` status
  - added the optional property `items/totalSize` to the response with the `200` status
- **2023-06-20** `d2af5578290d` — 1 info
  - api operation id `getsOfferedStorage` removed and replaced with `getOfferedStorage`
- **2023-04-14** `0e176b61eaf1` — 1 info
  - added the optional property `items/maxCollateral` to the response with the `200` status
- **2023-04-04** `ec53b2d31611` — 1 info
  - added the non-success response with the status `500`

[Full history](https://skmtc.dev/logos-storage/apis/logos-storage-api/changes/sales/availability/get.md)

---

[API](https://skmtc.dev/logos-storage/apis/logos-storage-api.md) · [All operations](https://skmtc.dev/logos-storage/apis/logos-storage-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/logos-storage/logos-storage-api/revisions/d0fe80e2a0ba/schema)
