Retrieve GPU stock
GET https://infrahub-api.nexgencloud.com/v1/core/stocks
Returns information on current and upcoming GPU availability, organized by region and GPU model. For additional information on GPU stocks, click here.
Parameters
No parameters.
Attributes
region string
The geographic region where the GPUs are available.
Learn more about regions.
stock-type string
Specifies the type of stock, which is "GPU".
models array
An array of objects containing stock information for each GPU model, in each region.
Show child attributes
model string
The model name of the GPU.
available string
The total number of GPU units available for a GPU model. It is represented as "200+" in this example.
planned_7_days string
Anticipated stock level for the next 7 days. A value of null
, indicates there is no data available.
planned_30_days string
Anticipated stock level for the next 30 days. A value of null
, indicates there is no data available.
planned_100_days string
Anticipated stock level for the next 100 days. A value of null
, indicates there is no data available.
configurations object
An object containing GPU configuration details.
The available
field provides an estimate of the total number of GPUs available for each model. It's important to note that we never over-report the number available. Therefore, there will always be at least the number of GPUs available as the value returned by this field. For example, if it indicates "100+", there will never be less than 100 GPUs available.
If you require precise stock data, please don't hesitate to reach out to support at: [email protected].
curl -X GET "https://infrahub-api.nexgencloud.com/v1/core/stocks" \
-H "accept: application/json"\
-H "api_key: YOUR API KEY"
{
"stocks": [
{
"region": "CANADA-1",
"stock-type": "GPU",
"models": [
{
"model": "RTX-A6000",
"available": "200+",
"planned_7_days": null,
"planned_30_days": null,
"planned_100_days": null,
"configurations": {
"1x": 396,
"2x": 197,
"4x": 98,
"8x": 45,
"10x": 0
}
},
{...}
Returns
A successful response returns an array of stocks
objects, which include information such as the region, stock type (GPU), and a models
array. The models
array consists of objects containing details on the current and anticipated stock available for each GPU model in each region.