Skip to main content
GET
/
stock
Get stock
curl --request GET \
  --url https://rdp.sh/api/v1/stock \
  --header 'Authorization: <api-key>'
[
  {
    "stock": {
      "plan": {
        "id": 123,
        "cores": 123,
        "price": 123,
        "title": "<string>",
        "memory": 123,
        "storage": 123
      },
      "stock": 123,
      "available": true
    },
    "region": {
      "id": 123,
      "region": "<string>",
      "location": "<string>"
    }
  }
]

Authorizations

Authorization
string
header
required

Response

200 - application/json

The request was successful, and the server has returned the requested resource in the response body.

stock
object
required
region
object
required