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": 1125,
        "chasuStr": "1,125",
        "date": "2024-06-22",
        "johabId": 4707450,
        "ball": [
            6,
            14,
            25,
            33,
            40,
            44
        ],
        "bonusBall": 30,
        "win": {
            "win1": {
                "count": 12,
                "countStr": "12",
                "payout": 2195289188,
                "payoutStr": "2,195,289,188",
                "payoutHangul": "이십일억구천오백이십팔만구천일백팔십팔"
            },
            "win2": {
                "count": 78,
                "countStr": "78",
                "payout": 56289467,
                "payoutStr": "56,289,467",
                "payoutHangul": "오천육백이십팔만구천사백육십칠"
            },
            "win3": {
                "count": 3066,
                "countStr": "3,066",
                "payout": 1432022,
                "payoutStr": "1,432,022",
                "payoutHangul": "일백사십삼만이천이십이"
            },
            "win4": {
                "count": 147313,
                "countStr": "147,313",
                "payout": 50000,
                "payoutStr": "50,000",
                "payoutHangul": "오만"
            },
            "win5": {
                "count": 2442674,
                "countStr": "2,442,674",
                "payout": 5000,
                "payoutStr": "5,000",
                "payoutHangul": "오천"
            }
        },
        "color": {
            "yellow": 1,
            "blue": 1,
            "red": 1,
            "gray": 2,
            "green": 1
        },
        "compositeNumber": 4,
        "consecutive": 0,
        "lowHigh": {
            "low": 2,
            "high": 4
        },
        "multipleOf3": 2,
        "oddEven": {
            "odd": 2,
            "even": 4
        },
        "primeNumber": 0,
        "sum": 162,
        "sumSingleDigit": 22
    }
]
parseResponse({
    "data": [
        {
            "chasu": 1125,
            "chasuStr": "1,125",
            "date": "2024-06-22",
            "johabId": 4707450,
            "ball": [
                6,
                14,
                25,
                33,
                40,
                44
            ],
            "bonusBall": 30,
            "win": {
                "win1": {
                    "count": 12,
                    "countStr": "12",
                    "payout": 2195289188,
                    "payoutStr": "2,195,289,188",
                    "payoutHangul": "이십일억구천오백이십팔만구천일백팔십팔"
                },
                "win2": {
                    "count": 78,
                    "countStr": "78",
                    "payout": 56289467,
                    "payoutStr": "56,289,467",
                    "payoutHangul": "오천육백이십팔만구천사백육십칠"
                },
                "win3": {
                    "count": 3066,
                    "countStr": "3,066",
                    "payout": 1432022,
                    "payoutStr": "1,432,022",
                    "payoutHangul": "일백사십삼만이천이십이"
                },
                "win4": {
                    "count": 147313,
                    "countStr": "147,313",
                    "payout": 50000,
                    "payoutStr": "50,000",
                    "payoutHangul": "오만"
                },
                "win5": {
                    "count": 2442674,
                    "countStr": "2,442,674",
                    "payout": 5000,
                    "payoutStr": "5,000",
                    "payoutHangul": "오천"
                }
            },
            "color": {
                "yellow": 1,
                "blue": 1,
                "red": 1,
                "gray": 2,
                "green": 1
            },
            "compositeNumber": 4,
            "consecutive": 0,
            "lowHigh": {
                "low": 2,
                "high": 4
            },
            "multipleOf3": 2,
            "oddEven": {
                "odd": 2,
                "even": 4
            },
            "primeNumber": 0,
            "sum": 162,
            "sumSingleDigit": 22
        }
    ]
});
<?xml version="1.0"?>
<response>
    <item>
        <chasu>1125</chasu>
        <chasuStr>1,125</chasuStr>
        <date>2024-06-22</date>
        <johabId>4707450</johabId>
        <ball>
            <item>6</item>
            <item>14</item>
            <item>25</item>
            <item>33</item>
            <item>40</item>
            <item>44</item>
        </ball>
        <bonusBall>30</bonusBall>
        <win>
            <win1>
                <count>12</count>
                <countStr>12</countStr>
                <payout>2195289188</payout>
                <payoutStr>2,195,289,188</payoutStr>
                <payoutHangul>&#xC774;&#xC2ED;&#xC77C;&#xC5B5;&#xAD6C;&#xCC9C;&#xC624;&#xBC31;&#xC774;&#xC2ED;&#xD314;&#xB9CC;&#xAD6C;&#xCC9C;&#xC77C;&#xBC31;&#xD314;&#xC2ED;&#xD314;</payoutHangul>
            </win1>
            <win2>
                <count>78</count>
                <countStr>78</countStr>
                <payout>56289467</payout>
                <payoutStr>56,289,467</payoutStr>
                <payoutHangul>&#xC624;&#xCC9C;&#xC721;&#xBC31;&#xC774;&#xC2ED;&#xD314;&#xB9CC;&#xAD6C;&#xCC9C;&#xC0AC;&#xBC31;&#xC721;&#xC2ED;&#xCE60;</payoutHangul>
            </win2>
            <win3>
                <count>3066</count>
                <countStr>3,066</countStr>
                <payout>1432022</payout>
                <payoutStr>1,432,022</payoutStr>
                <payoutHangul>&#xC77C;&#xBC31;&#xC0AC;&#xC2ED;&#xC0BC;&#xB9CC;&#xC774;&#xCC9C;&#xC774;&#xC2ED;&#xC774;</payoutHangul>
            </win3>
            <win4>
                <count>147313</count>
                <countStr>147,313</countStr>
                <payout>50000</payout>
                <payoutStr>50,000</payoutStr>
                <payoutHangul>&#xC624;&#xB9CC;</payoutHangul>
            </win4>
            <win5>
                <count>2442674</count>
                <countStr>2,442,674</countStr>
                <payout>5000</payout>
                <payoutStr>5,000</payoutStr>
                <payoutHangul>&#xC624;&#xCC9C;</payoutHangul>
            </win5>
        </win>
        <color>
            <yellow>1</yellow>
            <blue>1</blue>
            <red>1</red>
            <gray>2</gray>
            <green>1</green>
        </color>
        <compositeNumber>4</compositeNumber>
        <consecutive>0</consecutive>
        <lowHigh>
            <low>2</low>
            <high>4</high>
        </lowHigh>
        <multipleOf3>2</multipleOf3>
        <oddEven>
            <odd>2</odd>
            <even>4</even>
        </oddEven>
        <primeNumber>0</primeNumber>
        <sum>162</sum>
        <sumSingleDigit>22</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
일의 자리 총합