---
title: "Recent daily closes for up to 20 codes (members / data scope)"
method: GET
path: "/api/v1/market/sparklines"
tags: ["data"]
---

# Recent daily closes for up to 20 codes (members / data scope)

`GET /api/v1/market/sparklines`

## Request

- Base URL: `https://trading.pe.kr` (the document declares no server; this is the origin it was published from)
- URL: `https://trading.pe.kr/api/v1/market/sparklines`
- Auth: HTTP bearer

## Query parameters

- `codes` string, required: comma-separated 6-digit codes, max 20
- `days` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/trading/apis/trading-pe-kr-api.md) · [All operations](https://skmtc.dev/trading/apis/trading-pe-kr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trading/apis/trading-pe-kr-api/revisions/4e3fb560136d?raw)
