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": 1146,
        "chasuStr": "1,146",
        "date": "2024-11-16",
        "johabId": 4581094,
        "ball": [
            6,
            11,
            17,
            19,
            40,
            43
        ],
        "bonusBall": 28,
        "win": {
            "win1": {
                "count": 11,
                "countStr": "11",
                "payout": 2526476353,
                "payoutStr": "2,526,476,353",
                "payoutHangul": "이십오억이천육백사십칠만육천삼백오십삼"
            },
            "win2": {
                "count": 72,
                "countStr": "72",
                "payout": 64331574,
                "payoutStr": "64,331,574",
                "payoutHangul": "육천사백삼십삼만일천오백칠십사"
            },
            "win3": {
                "count": 3030,
                "countStr": "3,030",
                "payout": 1528672,
                "payoutStr": "1,528,672",
                "payoutHangul": "일백오십이만팔천육백칠십이"
            },
            "win4": {
                "count": 158146,
                "countStr": "158,146",
                "payout": 50000,
                "payoutStr": "50,000",
                "payoutHangul": "오만"
            },
            "win5": {
                "count": 2677017,
                "countStr": "2,677,017",
                "payout": 5000,
                "payoutStr": "5,000",
                "payoutHangul": "오천"
            }
        },
        "color": {
            "yellow": 1,
            "blue": 3,
            "red": 0,
            "gray": 1,
            "green": 1
        },
        "compositeNumber": 1,
        "consecutive": 0,
        "lowHigh": {
            "low": 4,
            "high": 2
        },
        "multipleOf3": 1,
        "oddEven": {
            "odd": 4,
            "even": 2
        },
        "primeNumber": 4,
        "sum": 136,
        "sumSingleDigit": 26
    }
]
parseResponse({
    "data": [
        {
            "chasu": 1146,
            "chasuStr": "1,146",
            "date": "2024-11-16",
            "johabId": 4581094,
            "ball": [
                6,
                11,
                17,
                19,
                40,
                43
            ],
            "bonusBall": 28,
            "win": {
                "win1": {
                    "count": 11,
                    "countStr": "11",
                    "payout": 2526476353,
                    "payoutStr": "2,526,476,353",
                    "payoutHangul": "이십오억이천육백사십칠만육천삼백오십삼"
                },
                "win2": {
                    "count": 72,
                    "countStr": "72",
                    "payout": 64331574,
                    "payoutStr": "64,331,574",
                    "payoutHangul": "육천사백삼십삼만일천오백칠십사"
                },
                "win3": {
                    "count": 3030,
                    "countStr": "3,030",
                    "payout": 1528672,
                    "payoutStr": "1,528,672",
                    "payoutHangul": "일백오십이만팔천육백칠십이"
                },
                "win4": {
                    "count": 158146,
                    "countStr": "158,146",
                    "payout": 50000,
                    "payoutStr": "50,000",
                    "payoutHangul": "오만"
                },
                "win5": {
                    "count": 2677017,
                    "countStr": "2,677,017",
                    "payout": 5000,
                    "payoutStr": "5,000",
                    "payoutHangul": "오천"
                }
            },
            "color": {
                "yellow": 1,
                "blue": 3,
                "red": 0,
                "gray": 1,
                "green": 1
            },
            "compositeNumber": 1,
            "consecutive": 0,
            "lowHigh": {
                "low": 4,
                "high": 2
            },
            "multipleOf3": 1,
            "oddEven": {
                "odd": 4,
                "even": 2
            },
            "primeNumber": 4,
            "sum": 136,
            "sumSingleDigit": 26
        }
    ]
});
<?xml version="1.0"?>
<response>
    <item>
        <chasu>1146</chasu>
        <chasuStr>1,146</chasuStr>
        <date>2024-11-16</date>
        <johabId>4581094</johabId>
        <ball>
            <item>6</item>
            <item>11</item>
            <item>17</item>
            <item>19</item>
            <item>40</item>
            <item>43</item>
        </ball>
        <bonusBall>28</bonusBall>
        <win>
            <win1>
                <count>11</count>
                <countStr>11</countStr>
                <payout>2526476353</payout>
                <payoutStr>2,526,476,353</payoutStr>
                <payoutHangul>&#xC774;&#xC2ED;&#xC624;&#xC5B5;&#xC774;&#xCC9C;&#xC721;&#xBC31;&#xC0AC;&#xC2ED;&#xCE60;&#xB9CC;&#xC721;&#xCC9C;&#xC0BC;&#xBC31;&#xC624;&#xC2ED;&#xC0BC;</payoutHangul>
            </win1>
            <win2>
                <count>72</count>
                <countStr>72</countStr>
                <payout>64331574</payout>
                <payoutStr>64,331,574</payoutStr>
                <payoutHangul>&#xC721;&#xCC9C;&#xC0AC;&#xBC31;&#xC0BC;&#xC2ED;&#xC0BC;&#xB9CC;&#xC77C;&#xCC9C;&#xC624;&#xBC31;&#xCE60;&#xC2ED;&#xC0AC;</payoutHangul>
            </win2>
            <win3>
                <count>3030</count>
                <countStr>3,030</countStr>
                <payout>1528672</payout>
                <payoutStr>1,528,672</payoutStr>
                <payoutHangul>&#xC77C;&#xBC31;&#xC624;&#xC2ED;&#xC774;&#xB9CC;&#xD314;&#xCC9C;&#xC721;&#xBC31;&#xCE60;&#xC2ED;&#xC774;</payoutHangul>
            </win3>
            <win4>
                <count>158146</count>
                <countStr>158,146</countStr>
                <payout>50000</payout>
                <payoutStr>50,000</payoutStr>
                <payoutHangul>&#xC624;&#xB9CC;</payoutHangul>
            </win4>
            <win5>
                <count>2677017</count>
                <countStr>2,677,017</countStr>
                <payout>5000</payout>
                <payoutStr>5,000</payoutStr>
                <payoutHangul>&#xC624;&#xCC9C;</payoutHangul>
            </win5>
        </win>
        <color>
            <yellow>1</yellow>
            <blue>3</blue>
            <red>0</red>
            <gray>1</gray>
            <green>1</green>
        </color>
        <compositeNumber>1</compositeNumber>
        <consecutive>0</consecutive>
        <lowHigh>
            <low>4</low>
            <high>2</high>
        </lowHigh>
        <multipleOf3>1</multipleOf3>
        <oddEven>
            <odd>4</odd>
            <even>2</even>
        </oddEven>
        <primeNumber>4</primeNumber>
        <sum>136</sum>
        <sumSingleDigit>26</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
일의 자리 총합