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": 973,
        "chasuStr": "973",
        "date": "2021-07-24",
        "johabId": 8031419,
        "ball": [
            22,
            26,
            31,
            37,
            41,
            42
        ],
        "bonusBall": 24,
        "win": {
            "win1": {
                "count": 8,
                "countStr": "8",
                "payout": 2912742750,
                "payoutStr": "2,912,742,750",
                "payoutHangul": "이십구억일천이백칠십사만이천칠백오십"
            },
            "win2": {
                "count": 42,
                "countStr": "42",
                "payout": 92468024,
                "payoutStr": "92,468,024",
                "payoutHangul": "구천이백사십육만팔천이십사"
            },
            "win3": {
                "count": 2257,
                "countStr": "2,257",
                "payout": 1720717,
                "payoutStr": "1,720,717",
                "payoutHangul": "일백칠십이만칠백일십칠"
            },
            "win4": {
                "count": 117757,
                "countStr": "117,757",
                "payout": 50000,
                "payoutStr": "50,000",
                "payoutHangul": "오만"
            },
            "win5": {
                "count": 2003966,
                "countStr": "2,003,966",
                "payout": 5000,
                "payoutStr": "5,000",
                "payoutHangul": "오천"
            }
        },
        "color": {
            "yellow": 0,
            "blue": 0,
            "red": 2,
            "gray": 2,
            "green": 2
        },
        "compositeNumber": 2,
        "consecutive": 1,
        "lowHigh": {
            "low": 1,
            "high": 5
        },
        "multipleOf3": 1,
        "oddEven": {
            "odd": 3,
            "even": 3
        },
        "primeNumber": 3,
        "sum": 199,
        "sumSingleDigit": 19
    }
]
parseResponse({
    "data": [
        {
            "chasu": 973,
            "chasuStr": "973",
            "date": "2021-07-24",
            "johabId": 8031419,
            "ball": [
                22,
                26,
                31,
                37,
                41,
                42
            ],
            "bonusBall": 24,
            "win": {
                "win1": {
                    "count": 8,
                    "countStr": "8",
                    "payout": 2912742750,
                    "payoutStr": "2,912,742,750",
                    "payoutHangul": "이십구억일천이백칠십사만이천칠백오십"
                },
                "win2": {
                    "count": 42,
                    "countStr": "42",
                    "payout": 92468024,
                    "payoutStr": "92,468,024",
                    "payoutHangul": "구천이백사십육만팔천이십사"
                },
                "win3": {
                    "count": 2257,
                    "countStr": "2,257",
                    "payout": 1720717,
                    "payoutStr": "1,720,717",
                    "payoutHangul": "일백칠십이만칠백일십칠"
                },
                "win4": {
                    "count": 117757,
                    "countStr": "117,757",
                    "payout": 50000,
                    "payoutStr": "50,000",
                    "payoutHangul": "오만"
                },
                "win5": {
                    "count": 2003966,
                    "countStr": "2,003,966",
                    "payout": 5000,
                    "payoutStr": "5,000",
                    "payoutHangul": "오천"
                }
            },
            "color": {
                "yellow": 0,
                "blue": 0,
                "red": 2,
                "gray": 2,
                "green": 2
            },
            "compositeNumber": 2,
            "consecutive": 1,
            "lowHigh": {
                "low": 1,
                "high": 5
            },
            "multipleOf3": 1,
            "oddEven": {
                "odd": 3,
                "even": 3
            },
            "primeNumber": 3,
            "sum": 199,
            "sumSingleDigit": 19
        }
    ]
});
<?xml version="1.0"?>
<response>
    <item>
        <chasu>973</chasu>
        <chasuStr>973</chasuStr>
        <date>2021-07-24</date>
        <johabId>8031419</johabId>
        <ball>
            <item>22</item>
            <item>26</item>
            <item>31</item>
            <item>37</item>
            <item>41</item>
            <item>42</item>
        </ball>
        <bonusBall>24</bonusBall>
        <win>
            <win1>
                <count>8</count>
                <countStr>8</countStr>
                <payout>2912742750</payout>
                <payoutStr>2,912,742,750</payoutStr>
                <payoutHangul>&#xC774;&#xC2ED;&#xAD6C;&#xC5B5;&#xC77C;&#xCC9C;&#xC774;&#xBC31;&#xCE60;&#xC2ED;&#xC0AC;&#xB9CC;&#xC774;&#xCC9C;&#xCE60;&#xBC31;&#xC624;&#xC2ED;</payoutHangul>
            </win1>
            <win2>
                <count>42</count>
                <countStr>42</countStr>
                <payout>92468024</payout>
                <payoutStr>92,468,024</payoutStr>
                <payoutHangul>&#xAD6C;&#xCC9C;&#xC774;&#xBC31;&#xC0AC;&#xC2ED;&#xC721;&#xB9CC;&#xD314;&#xCC9C;&#xC774;&#xC2ED;&#xC0AC;</payoutHangul>
            </win2>
            <win3>
                <count>2257</count>
                <countStr>2,257</countStr>
                <payout>1720717</payout>
                <payoutStr>1,720,717</payoutStr>
                <payoutHangul>&#xC77C;&#xBC31;&#xCE60;&#xC2ED;&#xC774;&#xB9CC;&#xCE60;&#xBC31;&#xC77C;&#xC2ED;&#xCE60;</payoutHangul>
            </win3>
            <win4>
                <count>117757</count>
                <countStr>117,757</countStr>
                <payout>50000</payout>
                <payoutStr>50,000</payoutStr>
                <payoutHangul>&#xC624;&#xB9CC;</payoutHangul>
            </win4>
            <win5>
                <count>2003966</count>
                <countStr>2,003,966</countStr>
                <payout>5000</payout>
                <payoutStr>5,000</payoutStr>
                <payoutHangul>&#xC624;&#xCC9C;</payoutHangul>
            </win5>
        </win>
        <color>
            <yellow>0</yellow>
            <blue>0</blue>
            <red>2</red>
            <gray>2</gray>
            <green>2</green>
        </color>
        <compositeNumber>2</compositeNumber>
        <consecutive>1</consecutive>
        <lowHigh>
            <low>1</low>
            <high>5</high>
        </lowHigh>
        <multipleOf3>1</multipleOf3>
        <oddEven>
            <odd>3</odd>
            <even>3</even>
        </oddEven>
        <primeNumber>3</primeNumber>
        <sum>199</sum>
        <sumSingleDigit>19</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
일의 자리 총합