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": 912,
        "chasuStr": "912",
        "date": "2020-05-23",
        "johabId": 3850949,
        "ball": [
            5,
            8,
            18,
            21,
            22,
            38
        ],
        "bonusBall": 10,
        "win": {
            "win1": {
                "count": 14,
                "countStr": "14",
                "payout": 1493500581,
                "payoutStr": "1,493,500,581",
                "payoutHangul": "일십사억구천삼백오십만오백팔십일"
            },
            "win2": {
                "count": 70,
                "countStr": "70",
                "payout": 49783353,
                "payoutStr": "49,783,353",
                "payoutHangul": "사천구백칠십팔만삼천삼백오십삼"
            },
            "win3": {
                "count": 2547,
                "countStr": "2,547",
                "payout": 1368212,
                "payoutStr": "1,368,212",
                "payoutHangul": "일백삼십육만팔천이백일십이"
            },
            "win4": {
                "count": 125332,
                "countStr": "125,332",
                "payout": 50000,
                "payoutStr": "50,000",
                "payoutHangul": "오만"
            },
            "win5": {
                "count": 2030860,
                "countStr": "2,030,860",
                "payout": 5000,
                "payoutStr": "5,000",
                "payoutHangul": "오천"
            }
        },
        "color": {
            "yellow": 2,
            "blue": 1,
            "red": 2,
            "gray": 1,
            "green": 0
        },
        "compositeNumber": 3,
        "consecutive": 1,
        "lowHigh": {
            "low": 5,
            "high": 1
        },
        "multipleOf3": 2,
        "oddEven": {
            "odd": 2,
            "even": 4
        },
        "primeNumber": 1,
        "sum": 112,
        "sumSingleDigit": 32
    }
]
parseResponse({
    "data": [
        {
            "chasu": 912,
            "chasuStr": "912",
            "date": "2020-05-23",
            "johabId": 3850949,
            "ball": [
                5,
                8,
                18,
                21,
                22,
                38
            ],
            "bonusBall": 10,
            "win": {
                "win1": {
                    "count": 14,
                    "countStr": "14",
                    "payout": 1493500581,
                    "payoutStr": "1,493,500,581",
                    "payoutHangul": "일십사억구천삼백오십만오백팔십일"
                },
                "win2": {
                    "count": 70,
                    "countStr": "70",
                    "payout": 49783353,
                    "payoutStr": "49,783,353",
                    "payoutHangul": "사천구백칠십팔만삼천삼백오십삼"
                },
                "win3": {
                    "count": 2547,
                    "countStr": "2,547",
                    "payout": 1368212,
                    "payoutStr": "1,368,212",
                    "payoutHangul": "일백삼십육만팔천이백일십이"
                },
                "win4": {
                    "count": 125332,
                    "countStr": "125,332",
                    "payout": 50000,
                    "payoutStr": "50,000",
                    "payoutHangul": "오만"
                },
                "win5": {
                    "count": 2030860,
                    "countStr": "2,030,860",
                    "payout": 5000,
                    "payoutStr": "5,000",
                    "payoutHangul": "오천"
                }
            },
            "color": {
                "yellow": 2,
                "blue": 1,
                "red": 2,
                "gray": 1,
                "green": 0
            },
            "compositeNumber": 3,
            "consecutive": 1,
            "lowHigh": {
                "low": 5,
                "high": 1
            },
            "multipleOf3": 2,
            "oddEven": {
                "odd": 2,
                "even": 4
            },
            "primeNumber": 1,
            "sum": 112,
            "sumSingleDigit": 32
        }
    ]
});
<?xml version="1.0"?>
<response>
    <item>
        <chasu>912</chasu>
        <chasuStr>912</chasuStr>
        <date>2020-05-23</date>
        <johabId>3850949</johabId>
        <ball>
            <item>5</item>
            <item>8</item>
            <item>18</item>
            <item>21</item>
            <item>22</item>
            <item>38</item>
        </ball>
        <bonusBall>10</bonusBall>
        <win>
            <win1>
                <count>14</count>
                <countStr>14</countStr>
                <payout>1493500581</payout>
                <payoutStr>1,493,500,581</payoutStr>
                <payoutHangul>&#xC77C;&#xC2ED;&#xC0AC;&#xC5B5;&#xAD6C;&#xCC9C;&#xC0BC;&#xBC31;&#xC624;&#xC2ED;&#xB9CC;&#xC624;&#xBC31;&#xD314;&#xC2ED;&#xC77C;</payoutHangul>
            </win1>
            <win2>
                <count>70</count>
                <countStr>70</countStr>
                <payout>49783353</payout>
                <payoutStr>49,783,353</payoutStr>
                <payoutHangul>&#xC0AC;&#xCC9C;&#xAD6C;&#xBC31;&#xCE60;&#xC2ED;&#xD314;&#xB9CC;&#xC0BC;&#xCC9C;&#xC0BC;&#xBC31;&#xC624;&#xC2ED;&#xC0BC;</payoutHangul>
            </win2>
            <win3>
                <count>2547</count>
                <countStr>2,547</countStr>
                <payout>1368212</payout>
                <payoutStr>1,368,212</payoutStr>
                <payoutHangul>&#xC77C;&#xBC31;&#xC0BC;&#xC2ED;&#xC721;&#xB9CC;&#xD314;&#xCC9C;&#xC774;&#xBC31;&#xC77C;&#xC2ED;&#xC774;</payoutHangul>
            </win3>
            <win4>
                <count>125332</count>
                <countStr>125,332</countStr>
                <payout>50000</payout>
                <payoutStr>50,000</payoutStr>
                <payoutHangul>&#xC624;&#xB9CC;</payoutHangul>
            </win4>
            <win5>
                <count>2030860</count>
                <countStr>2,030,860</countStr>
                <payout>5000</payout>
                <payoutStr>5,000</payoutStr>
                <payoutHangul>&#xC624;&#xCC9C;</payoutHangul>
            </win5>
        </win>
        <color>
            <yellow>2</yellow>
            <blue>1</blue>
            <red>2</red>
            <gray>1</gray>
            <green>0</green>
        </color>
        <compositeNumber>3</compositeNumber>
        <consecutive>1</consecutive>
        <lowHigh>
            <low>5</low>
            <high>1</high>
        </lowHigh>
        <multipleOf3>2</multipleOf3>
        <oddEven>
            <odd>2</odd>
            <even>4</even>
        </oddEven>
        <primeNumber>1</primeNumber>
        <sum>112</sum>
        <sumSingleDigit>32</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
일의 자리 총합