# OKX Spot Prices Scraper

**Use case:** 

Scrape OKX spot market USDT pairs sorted by 24h volume. Get live prices, trading pairs and volume data from the OKX exchange as JSON.

## Input

```json
{
  "quoteCurrency": "USDT",
  "maxItems": 5,
  "sortBy": "volCcy24h"
}
```

## Output

```json
{
  "instId": {
    "label": "Inst Id",
    "format": "text"
  },
  "url": {
    "label": "Url",
    "format": "link"
  },
  "instType": {
    "label": "Inst Type",
    "format": "text"
  },
  "baseAsset": {
    "label": "Base Asset",
    "format": "text"
  },
  "quoteAsset": {
    "label": "Quote Asset",
    "format": "text"
  },
  "lastPrice": {
    "label": "Last Price",
    "format": "number"
  },
  "lastSize": {
    "label": "Last Size",
    "format": "number"
  },
  "askPrice": {
    "label": "Ask Price",
    "format": "number"
  },
  "askSize": {
    "label": "Ask Size",
    "format": "number"
  },
  "bidPrice": {
    "label": "Bid Price",
    "format": "number"
  },
  "bidSize": {
    "label": "Bid Size",
    "format": "number"
  },
  "spreadAbs": {
    "label": "Spread Abs",
    "format": "number"
  },
  "spreadBps": {
    "label": "Spread Bps",
    "format": "number"
  },
  "open24h": {
    "label": "Open24h",
    "format": "number"
  }
}
```

## About this Actor

This example demonstrates how to use [OKX Spot Prices Scraper](https://apify.com/parseforge/okx-spot-prices-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/okx-spot-prices-scraper) to learn more, explore other use cases, and run it yourself.