Vast.ai Instances API

The Instances API from Vast.ai — 14 operation(s) for instances.

Business capability
IT Infrastructure Management BC-600.50

Operations 18

POST /api/v0/instances/{id}/ssh/ attach ssh-key #
DELETE /api/v0/commands/copy_direct/ cancel copy #
PUT /api/v0/commands/copy_direct/ copy #
DELETE /api/v0/commands/rclone/ cancel sync #
POST /api/v0/commands/rclone/ cloud copy #
PUT /api/v0/instances/bid_price/{id}/ change bid #
PUT /api/v0/asks/{id}/ create instance #
DELETE /api/v0/instances/{id}/ destroy instance #
PUT /api/v0/instances/{id}/ manage instance #
GET /api/v0/instances/{id}/ show instance #
DELETE /api/v0/instances/{id}/ssh/{key}/ detach ssh-key #
PUT /api/v0/instances/command/{id}/ execute #
PUT /api/v0/instances/request_logs/{id} show logs #
PUT /api/v0/instances/prepay/{id}/ prepay instance #
PUT /api/v0/instances/reboot/{id}/ reboot instance #
PUT /api/v0/instances/recycle/{id}/ recycle instance #
GET /api/v0/instances/{instance_id}/ssh/ show ssh-keys #
GET /api/v0/instances/ show instances #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/vast-ai-instances-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

vast-ai-instances-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vast.ai Instances API
  description: API for managing cloud GPU instances, volumes, and resources on Vast.ai
  version: 1.0.0
  contact:
    name: Vast.ai Support
    url: https://discord.gg/hSuEbSQ4X8
servers:
- url: https://console.vast.ai
  description: Production API server
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (55 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/vast-ai/refs/heads/main/openapi/vast-ai-instances-api-openapi.yml