Перейти к основному содержанию
POST
/
v0
/
market
/
search
Search offers
curl --request POST \
  --url https://api.qudata.ai/v0/market/search \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "currency": "USD",
  "query": {
    "location": [
      "<string>"
    ],
    "price_gt": 123,
    "price_lt": 123,
    "gpu_translit_name": [
      "<string>"
    ],
    "in_stock": true,
    "score_gt": 123,
    "gpu_amount": 123,
    "provider": "<string>",
    "vram_gt": 123,
    "vram_lt": 123,
    "ram_gt": 123,
    "ram_lt": 123,
    "disk_gt": 123,
    "disk_lt": 123,
    "cpu_name": "<string>",
    "vcpu_gt": 123,
    "vcpu_lt": 123,
    "cpu_cores_gt": 123,
    "cpu_cores_lt": 123,
    "cpu_freq_gt": 123,
    "cpu_freq_lt": 123,
    "memory_speed_gt": 123,
    "memory_speed_lt": 123,
    "ethernet_in_gt": 123,
    "ethernet_in_lt": 123,
    "ethernet_out_gt": 123,
    "ethernet_out_lt": 123,
    "capacity_gt": 123,
    "capacity_lt": 123,
    "rentable": true
  },
  "sort_by": "price_asc"
}'
{
  "ok": true,
  "data": [
    {
      "id": "<string>",
      "provider_translit_name": "<string>",
      "gpu_amount": 123,
      "gpu_name": "<string>",
      "gpu_translit_name": "<string>",
      "vram": 123,
      "prices": [],
      "location": {
        "city": "<string>",
        "country": "<string>",
        "region": "<string>"
      },
      "configuration": {
        "ram": {
          "amount": 123,
          "unit": "gb"
        },
        "disk": {
          "amount": 123,
          "unit": "gb"
        },
        "cpu_name": "<string>",
        "vcpu": 123,
        "cpu_cores": 123,
        "cpu_freq": 123,
        "memory_speed": 123,
        "ethernet_in": 123,
        "ethernet_out": 123,
        "capacity": 123,
        "max_cuda_version": 123
      },
      "url": "<string>",
      "in_stock": true,
      "rentable": true,
      "disk_prices": []
    }
  ],
  "total_items": 0
}

Authorizations

X-Api-Key
string
header
required

Query Parameters

start
integer
default:0
limit
integer
default:10

Body

application/json
currency
enum<string> | null
default:RUB
Available options:
USD,
RUB,
QOIN
query
object | null
sort_by
enum<string> | null
default:price_asc
Available options:
price_asc,
price_desc,
provider_asc,
provider_desc,
provider_score_asc,
provider_score_desc,
gpu_amount_asc,
gpu_amount_desc,
ram_asc,
ram_desc,
stock_asc,
stock_desc

Response

Successful Response

ok
boolean
default:true
data
OfferResponse · object[] | null
total_items
integer
default:0
I