{
  "openapi": "3.0.1",
  "info": {
    "title": "GPU Cloud Prices & Availability: H100, B200, RTX 5090 + 70 more",
    "description": "Live rental prices and real availability for 70+ GPU models across 50+ clouds (RunPod, Lambda, Vast.ai, Nebius and more), checked every 15 minutes. H100, H200, B200, B300, A100, L40S, RTX 4090/5090, MI300X and more, by region, VRAM and price, plus the GPU Price Index. No API key.",
    "version": "1.0",
    "x-build-id": "ysY2z2UvtuOTlQhAG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unitedcompute~gpu-prices/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unitedcompute-gpu-prices",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/unitedcompute~gpu-prices/runs": {
      "post": {
        "operationId": "runs-sync-unitedcompute-gpu-prices",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/unitedcompute~gpu-prices/run-sync": {
      "post": {
        "operationId": "run-sync-unitedcompute-gpu-prices",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "What to get",
            "enum": [
              "offers",
              "gpus",
              "providers",
              "index"
            ],
            "type": "string",
            "description": "offers = every single offer (cloud × GPU × price × stock). gpus = one row per GPU model with its cheapest price. providers = the clouds tracked. index = the GPU Price Index (median across clouds).",
            "default": "offers"
          },
          "gpu": {
            "title": "GPU",
            "type": "string",
            "description": "GPU model, loose match: h100 matches every H100 variant. Examples: h100, h200-sxm, b200, b300, a100, rtx-5090, rtx-4090, l40s, mi300x. Comma-separate several. Empty = all."
          },
          "region": {
            "title": "Region",
            "type": "string",
            "description": "Where it must be in stock: an area (Europe, US, Asia), a country code (DE, US), a data-center id or a city (Frankfurt). Offers only."
          },
          "maxPrice": {
            "title": "Max price ($ per GPU-hour)",
            "type": "number",
            "description": "Only offers at or below this price. Offers only."
          },
          "minVram": {
            "title": "Min VRAM (GB)",
            "type": "integer",
            "description": "Minimum GPU memory."
          },
          "cloudType": {
            "title": "Cloud type",
            "enum": [
              "any",
              "datacenter",
              "community"
            ],
            "type": "string",
            "description": "datacenter = the cloud's own machines. community = marketplace hosts (Vast.ai, Clore, ...), often cheaper.",
            "default": "any"
          },
          "pricing": {
            "title": "Pricing",
            "enum": [
              "on_demand",
              "spot",
              "any"
            ],
            "type": "string",
            "description": "on_demand runs until you stop it; spot is cheaper but can be stopped by the cloud.",
            "default": "on_demand"
          },
          "inStock": {
            "title": "Availability",
            "enum": [
              "true",
              "false",
              "any"
            ],
            "type": "string",
            "description": "true = only what you can rent right now. false = only sold-out offers. any = both.",
            "default": "true"
          },
          "provider": {
            "title": "Cloud",
            "type": "string",
            "description": "One cloud by id or name, e.g. runpod, lambda, vast. Comma-separate several. Offers only."
          },
          "vendor": {
            "title": "Vendor",
            "enum": [
              "any",
              "nvidia",
              "amd"
            ],
            "type": "string",
            "description": "GPU vendor.",
            "default": "any"
          },
          "excludeResellers": {
            "title": "Exclude resellers",
            "type": "boolean",
            "description": "Leave out clouds that resell other clouds' GPUs.",
            "default": false
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "price",
              "vram"
            ],
            "type": "string",
            "description": "Order of the offers.",
            "default": "price"
          },
          "limit": {
            "title": "Max offers",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "1 to 1000.",
            "default": 100
          },
          "index": {
            "title": "Index",
            "enum": [
              "h100",
              "h200",
              "b200",
              "b300",
              "a100",
              "rtx-5090"
            ],
            "type": "string",
            "description": "Index mode only.",
            "default": "h100"
          },
          "history": {
            "title": "Index history",
            "enum": [
              "none",
              "hourly",
              "daily"
            ],
            "type": "string",
            "description": "Index mode only: none = current value; hourly or daily = one row per point.",
            "default": "daily"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}