https://api.lotto-haru.kr/win/analysis.json
지원하는 HTTP Method : GET
파라메타 정보
- chasu
- [숫자][다중] 차수를 설정
- chasuStart
- [숫자] 시작 차수를 설정 (※ chasuEnd 와 함께 사용시, chasuEnd 보다 같거나 작아야함)
- chasuEnd
- [숫자] 종료 차수를 설정 (※ chasuStart 와 함께 사용시, chasuStart 보다 같거나 커야함)
선택 1. https://api.lotto-haru.kr/win/analysis.json
선택 2. https://api.lotto-haru.kr/win/analysis/{chasu}.json
선택 3. https://api.lotto-haru.kr/win/analysis/0/{chasuStart}.json
선택 4. https://api.lotto-haru.kr/win/analysis/0/{chasuStart}/{chasuEnd}.json
[
{
"chasu": 1186,
"chasuStr": "1,186",
"date": "2025-08-23",
"johabId": 1572847,
"ball": [
2,
8,
13,
16,
23,
28
],
"bonusBall": 35,
"win": {
"win1": {
"count": 14,
"countStr": "14",
"payout": 1985676911,
"payoutStr": "1,985,676,911",
"payoutHangul": "일십구억팔천오백육십칠만육천구백일십일"
},
"win2": {
"count": 89,
"countStr": "89",
"payout": 52058946,
"payoutStr": "52,058,946",
"payoutHangul": "오천이백오만팔천구백사십육"
},
"win3": {
"count": 3226,
"countStr": "3,226",
"payout": 1436221,
"payoutStr": "1,436,221",
"payoutHangul": "일백사십삼만육천이백이십일"
},
"win4": {
"count": 162707,
"countStr": "162,707",
"payout": 50000,
"payoutStr": "50,000",
"payoutHangul": "오만"
},
"win5": {
"count": 2628810,
"countStr": "2,628,810",
"payout": 5000,
"payoutStr": "5,000",
"payoutHangul": "오천"
}
},
"color": {
"yellow": 2,
"blue": 2,
"red": 2,
"gray": 0,
"green": 0
},
"compositeNumber": 3,
"consecutive": 0,
"lowHigh": {
"low": 4,
"high": 2
},
"multipleOf3": 0,
"oddEven": {
"odd": 2,
"even": 4
},
"primeNumber": 3,
"sum": 90,
"sumSingleDigit": 30
}
]
parseResponse({
"data": [
{
"chasu": 1186,
"chasuStr": "1,186",
"date": "2025-08-23",
"johabId": 1572847,
"ball": [
2,
8,
13,
16,
23,
28
],
"bonusBall": 35,
"win": {
"win1": {
"count": 14,
"countStr": "14",
"payout": 1985676911,
"payoutStr": "1,985,676,911",
"payoutHangul": "일십구억팔천오백육십칠만육천구백일십일"
},
"win2": {
"count": 89,
"countStr": "89",
"payout": 52058946,
"payoutStr": "52,058,946",
"payoutHangul": "오천이백오만팔천구백사십육"
},
"win3": {
"count": 3226,
"countStr": "3,226",
"payout": 1436221,
"payoutStr": "1,436,221",
"payoutHangul": "일백사십삼만육천이백이십일"
},
"win4": {
"count": 162707,
"countStr": "162,707",
"payout": 50000,
"payoutStr": "50,000",
"payoutHangul": "오만"
},
"win5": {
"count": 2628810,
"countStr": "2,628,810",
"payout": 5000,
"payoutStr": "5,000",
"payoutHangul": "오천"
}
},
"color": {
"yellow": 2,
"blue": 2,
"red": 2,
"gray": 0,
"green": 0
},
"compositeNumber": 3,
"consecutive": 0,
"lowHigh": {
"low": 4,
"high": 2
},
"multipleOf3": 0,
"oddEven": {
"odd": 2,
"even": 4
},
"primeNumber": 3,
"sum": 90,
"sumSingleDigit": 30
}
]
});
<?xml version="1.0"?>
<response>
<item>
<chasu>1186</chasu>
<chasuStr>1,186</chasuStr>
<date>2025-08-23</date>
<johabId>1572847</johabId>
<ball>
<item>2</item>
<item>8</item>
<item>13</item>
<item>16</item>
<item>23</item>
<item>28</item>
</ball>
<bonusBall>35</bonusBall>
<win>
<win1>
<count>14</count>
<countStr>14</countStr>
<payout>1985676911</payout>
<payoutStr>1,985,676,911</payoutStr>
<payoutHangul>일십구억팔천오백육십칠만육천구백일십일</payoutHangul>
</win1>
<win2>
<count>89</count>
<countStr>89</countStr>
<payout>52058946</payout>
<payoutStr>52,058,946</payoutStr>
<payoutHangul>오천이백오만팔천구백사십육</payoutHangul>
</win2>
<win3>
<count>3226</count>
<countStr>3,226</countStr>
<payout>1436221</payout>
<payoutStr>1,436,221</payoutStr>
<payoutHangul>일백사십삼만육천이백이십일</payoutHangul>
</win3>
<win4>
<count>162707</count>
<countStr>162,707</countStr>
<payout>50000</payout>
<payoutStr>50,000</payoutStr>
<payoutHangul>오만</payoutHangul>
</win4>
<win5>
<count>2628810</count>
<countStr>2,628,810</countStr>
<payout>5000</payout>
<payoutStr>5,000</payoutStr>
<payoutHangul>오천</payoutHangul>
</win5>
</win>
<color>
<yellow>2</yellow>
<blue>2</blue>
<red>2</red>
<gray>0</gray>
<green>0</green>
</color>
<compositeNumber>3</compositeNumber>
<consecutive>0</consecutive>
<lowHigh>
<low>4</low>
<high>2</high>
</lowHigh>
<multipleOf3>0</multipleOf3>
<oddEven>
<odd>2</odd>
<even>4</even>
</oddEven>
<primeNumber>3</primeNumber>
<sum>90</sum>
<sumSingleDigit>30</sumSingleDigit>
</item>
</response>
리턴 정보
- chasu
- 로또 차수
- date
- 로또 추첨일
- johabId
- 조합 고유 아이디
- ball
- 당첨 번호
- bonusBall
- 보너스 번호
- win
-
등수별 당첨 정보
count : 당첨자 수 (명)
payout : 당첨 금액 (원) - color
-
공 색상 개수
yellow : 1 ~ 10
blue : 11 ~ 20
red : 21 ~ 30
gray : 31 ~ 40
green : 41 ~ 45 - compositeNumber
-
합성수 개수
합성수는 소수와 3의 배수를 제외한 숫자를 말합니다. - consecutive
- 연번 쌍 개수
- lowHigh
-
저고 개수
low : 1 ~ 22
high : 23 ~ 45 - multipleOf3
- 3의 배수
- oddEven
- 홀짝 개수
- primeNumber
-
소수 개수
소수는 1과 자신 이외에는 나누어지지 않는 수를 말합니다. - sum
- 총합
- sumSingleDigit
- 일의 자리 총합