# Upbit Market Data Scraper (`bigibyte/upbit-market-data-scraper`) Actor

Collect Korean exchange Upbit market tickers into clean JSON, CSV, or Excel. Track prices, volumes, and stats effortlessly.

- **URL**: https://apify.com/bigibyte/upbit-market-data-scraper.md
- **Developed by:** [BigiByte](https://apify.com/bigibyte) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Upbit Market Data Scraper

![Upbit Market Data Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/upbit-market-data-scraper-cover.png)

Collect cryptocurrency market ticker data from South Korea's Upbit exchange. Select one or more market pairs to retrieve trading prices, daily highs and lows, opening prices, volume, and price changes. Export structured market data as JSON, CSV, Excel, or other supported dataset formats for cryptocurrency research, dashboards, and market monitoring.

### What It Does

The Upbit Market Data Scraper retrieves public ticker information for the market codes you provide and organizes the results into a structured dataset.

Each successfully processed market produces a record containing:

- **Market:** Trading pair code, such as `KRW-BTC` or `KRW-ETH`.
- **Trading Information:** Trade date, trade time, and trade timestamp.
- **Price Data:** Opening price, highest price, lowest price, and latest trade price.
- **Price Changes:** Previous closing price, change direction, and signed price and percentage changes.
- **Trading Volume:** Latest trade volume and accumulated trading volumes.
- **Scraped At:** Timestamp indicating when the data was collected.

### Scraping Mode

#### Search Tickers

Use `mode: "search"` to collect public ticker information for the market pairs you specify.

You can provide multiple market codes in the `markets` array. If no markets are specified, the default market is `KRW-BTC`.

### Input Example

```json
{
  "mode": "search",
  "markets": [
    "KRW-BTC",
    "KRW-ETH"
  ],
  "requestDelayMs": 1000
}
```

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | String | `search` | Scraping mode. Only `search` is supported. |
| `markets` | Array | `["KRW-BTC"]` | List of Upbit market codes to collect. |
| `requestDelayMs` | Integer | `1000` | Delay between requests in milliseconds. |

### Output Example

```json
{
  "market": "KRW-BTC",
  "trade_date": "20261012",
  "trade_time": "051955",
  "trade_date_kst": "20261012",
  "trade_time_kst": "141955",
  "trade_timestamp": 1791782395914,
  "opening_price": 113317000.0,
  "high_price": 113640000.0,
  "low_price": 112652000.0,
  "trade_price": 113368000.0,
  "prev_closing_price": 113364000.0,
  "change": "RISE",
  "change_price": 4000.0,
  "change_rate": 0.000035,
  "signed_change_price": 4000.0,
  "signed_change_rate": 0.000035,
  "trade_volume": 0.01,
  "acc_trade_price": 123456789.0,
  "acc_trade_price_24h": 987654321.0,
  "acc_trade_volume": 12.34,
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

### Output Fields

| Field | Type | Description |
|---|---|---|
| `market` | String | Upbit trading pair code. |
| `trade_date` | String | Trading date in UTC. |
| `trade_time` | String | Trading time in UTC. |
| `trade_date_kst` | String | Trading date in Korea Standard Time. |
| `trade_time_kst` | String | Trading time in Korea Standard Time. |
| `trade_timestamp` | Number | Unix timestamp of the trade in milliseconds. |
| `opening_price` | Number | Opening price for the trading period. |
| `high_price` | Number | Highest price for the trading period. |
| `low_price` | Number | Lowest price for the trading period. |
| `trade_price` | Number | Latest trade price. |
| `prev_closing_price` | Number | Previous closing price. |
| `change` | String | Price movement direction, such as `RISE`, `FALL`, or `EVEN`. |
| `change_price` | Number | Absolute price change. |
| `change_rate` | Number | Price change rate. |
| `signed_change_price` | Number | Signed price change. |
| `signed_change_rate` | Number | Signed price change rate. |
| `trade_volume` | Number | Volume of the latest trade. |
| `acc_trade_price` | Number | Accumulated trading value for the current trading period. |
| `acc_trade_price_24h` | Number | Accumulated trading value over the previous 24 hours. |
| `acc_trade_volume` | Number | Accumulated trading volume for the current trading period. |
| `scrapedAt` | String | ISO timestamp indicating when the record was collected. |

### Use Cases

- **Market Monitoring:** Collect Upbit ticker information for selected cryptocurrency pairs.
- **Cryptocurrency Research:** Analyze opening prices, highs, lows, trading volumes, and price movements.
- **Market Dashboards:** Feed structured ticker records into business intelligence tools and custom dashboards.
- **Price Comparison:** Compare price movements across multiple KRW trading pairs.
- **Alert Pipelines:** Compare recurring datasets to identify significant market changes.
- **Historical Snapshots:** Store periodic ticker results for research and trend analysis.

### Usage and Limits

- **Market Selection:** Specify the trading pairs you want to collect through the `markets` array.
- **Request Processing:** The scraper retrieves ticker information for each supplied market.
- **Duplicate Prevention:** Duplicate market records are skipped within the same run.
- **Request Pacing:** The default delay is approximately one second between requests.
- **Error Handling:** Failed requests generate error records instead of stopping the entire run.
- **Public Data Access:** The scraper uses publicly accessible ticker information without requiring account credentials.
- **Source Availability:** Results depend on the availability and accuracy of the data provided by Upbit.

Use reasonable request intervals and review Upbit's current usage guidelines before running large or frequent collections.

### Frequently Asked Questions

**What information does this scraper collect?**

It collects market codes, trading timestamps, opening and latest prices, daily highs and lows, price changes, and accumulated trading volume.

**Can I collect multiple cryptocurrency markets?**

Yes. Add multiple market codes to the `markets` array, such as `KRW-BTC` and `KRW-ETH`.

**Can I export the results to Excel or CSV?**

Yes. You can export the collected dataset as JSON, CSV, Excel, and other supported Apify formats.

**What happens when a market request fails?**

The scraper continues processing and saves an error record for the failed request.

**Can I schedule recurring market collections?**

Yes. Configure an Apify schedule to collect ticker snapshots automatically at regular intervals.

### Related Tools

Explore other BigiByte scrapers for financial research and structured data collection:

- **Launch Library Rocket Launches Scraper** – Collect upcoming and previous rocket launch information.
- **JPL Asteroid Close Approach Scraper** – Gather asteroid close-approach information.
- **JPL Fireball Events Scraper** – Collect publicly available fireball event records.

Looking for a custom financial data scraper or automated market data solution? BigiByte develops tailored web scrapers and data extraction tools to help businesses and developers collect, organize, and analyze publicly available information.

Visit [BigiByte](https://bigibyte.com) to explore our solutions.

### Trademark Notice

Upbit and all associated names, logos, and trademarks belong to their respective owners. They are mentioned only to identify the source of the collected information. This tool is independently developed and does not imply affiliation, sponsorship, endorsement, or partnership with Upbit.

### Disclaimer

This Actor is an independent data collection tool. Collected market information is provided for research and informational purposes only. It should not be considered financial or investment advice. Users are responsible for ensuring that their collection and use of the data comply with applicable laws and the source's terms.

### Is Web Scraping Legal?

This actor extracts publicly accessible information without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

- **Personal Data:** Follow applicable privacy regulations, including GDPR and CCPA, when handling personal information.
- **Copyrighted Content:** Respect intellectual property rights when collecting or reusing protected material.
- **Platform Terms and Rate Limits:** Review the source website's terms and use reasonable request intervals.

This information is provided for general guidance only and does not constitute legal advice. For a more detailed explanation, read Apify's guide: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to fetch. Search loads Upbit public tickers for the chosen markets.

## `markets` (type: `array`):

Upbit market codes passed as `markets` (for example KRW-BTC). One request per market. Leave empty to use KRW-BTC.

## `requestDelayMs` (type: `integer`):

Milliseconds to wait between requests. Raise if you see 429 responses.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## `proxyConfiguration` (type: `object`):

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "search",
  "markets": [
    "KRW-BTC"
  ],
  "requestDelayMs": 1000,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "markets": [
        "KRW-BTC"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigibyte/upbit-market-data-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "markets": ["KRW-BTC"] }

# Run the Actor and wait for it to finish
run = client.actor("bigibyte/upbit-market-data-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "markets": [
    "KRW-BTC"
  ]
}' |
apify call bigibyte/upbit-market-data-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigibyte/upbit-market-data-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/l7F8gJzHJnyHtT4Hu/builds/svIKkif79LnoaEdgQ/openapi.json
