cURL
curl --request POST \ --url https://console.vast.ai/api/v0/network_volumes/search/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "q": { "verified": { "eq": true }, "order": [ [ "storage_cost", "asc" ] ], "limit": 123, "reliability2": { "gt": 0.98 }, "inet_down": { "gt": 100 }, "inet_up": { "gt": 100 }, "geolocation": { "in": [ "TW", "SE" ] }, "disk_bw": { "gt": 500 }, "duration": { "gte": 30 }, "storage_cost": { "lte": 0.1 } } } '
{ "success": true, "offers": [ { "ask_contract_id": 123, "disk_space": 123, "inet_up": 123, "inet_down": 123, "reliability2": 123, "verified": true, "geolocation": "<string>", "nw_disk_avg_bw": 123, "nw_disk_max_bw": 123, "nw_disk_min_bw": 123, "start_date": 123, "end_date": 123, "storage_cost": 123, "storage_cost_total": 123 } ] }
Search for available network volume offers with advanced filtering and sorting.
CLI Usage: vastai search network-volumes <query> [--order <field>]
vastai search network-volumes <query> [--order <field>]
API key must be provided in the Authorization header
Show child attributes
Successful search response
true