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": 947,
        "chasuStr": "947",
        "date": "2021-01-23",
        "johabId": 2440439,
        "ball": [
            3,
            8,
            17,
            20,
            27,
            35
        ],
        "bonusBall": 26,
        "win": {
            "win1": {
                "count": 18,
                "countStr": "18",
                "payout": 1275855750,
                "payoutStr": "1,275,855,750",
                "payoutHangul": "일십이억칠천오백팔십오만오천칠백오십"
            },
            "win2": {
                "count": 58,
                "countStr": "58",
                "payout": 65992539,
                "payoutStr": "65,992,539",
                "payoutHangul": "육천오백구십구만이천오백삼십구"
            },
            "win3": {
                "count": 3182,
                "countStr": "3,182",
                "payout": 1202881,
                "payoutStr": "1,202,881",
                "payoutHangul": "일백이십만이천팔백팔십일"
            },
            "win4": {
                "count": 146908,
                "countStr": "146,908",
                "payout": 50000,
                "payoutStr": "50,000",
                "payoutHangul": "오만"
            },
            "win5": {
                "count": 2351804,
                "countStr": "2,351,804",
                "payout": 5000,
                "payoutStr": "5,000",
                "payoutHangul": "오천"
            }
        },
        "color": {
            "yellow": 2,
            "blue": 2,
            "red": 1,
            "gray": 1,
            "green": 0
        },
        "compositeNumber": 3,
        "consecutive": 0,
        "lowHigh": {
            "low": 4,
            "high": 2
        },
        "multipleOf3": 2,
        "oddEven": {
            "odd": 4,
            "even": 2
        },
        "primeNumber": 2,
        "sum": 110,
        "sumSingleDigit": 30
    }
]
parseResponse({
    "data": [
        {
            "chasu": 947,
            "chasuStr": "947",
            "date": "2021-01-23",
            "johabId": 2440439,
            "ball": [
                3,
                8,
                17,
                20,
                27,
                35
            ],
            "bonusBall": 26,
            "win": {
                "win1": {
                    "count": 18,
                    "countStr": "18",
                    "payout": 1275855750,
                    "payoutStr": "1,275,855,750",
                    "payoutHangul": "일십이억칠천오백팔십오만오천칠백오십"
                },
                "win2": {
                    "count": 58,
                    "countStr": "58",
                    "payout": 65992539,
                    "payoutStr": "65,992,539",
                    "payoutHangul": "육천오백구십구만이천오백삼십구"
                },
                "win3": {
                    "count": 3182,
                    "countStr": "3,182",
                    "payout": 1202881,
                    "payoutStr": "1,202,881",
                    "payoutHangul": "일백이십만이천팔백팔십일"
                },
                "win4": {
                    "count": 146908,
                    "countStr": "146,908",
                    "payout": 50000,
                    "payoutStr": "50,000",
                    "payoutHangul": "오만"
                },
                "win5": {
                    "count": 2351804,
                    "countStr": "2,351,804",
                    "payout": 5000,
                    "payoutStr": "5,000",
                    "payoutHangul": "오천"
                }
            },
            "color": {
                "yellow": 2,
                "blue": 2,
                "red": 1,
                "gray": 1,
                "green": 0
            },
            "compositeNumber": 3,
            "consecutive": 0,
            "lowHigh": {
                "low": 4,
                "high": 2
            },
            "multipleOf3": 2,
            "oddEven": {
                "odd": 4,
                "even": 2
            },
            "primeNumber": 2,
            "sum": 110,
            "sumSingleDigit": 30
        }
    ]
});
<?xml version="1.0"?>
<response>
    <item>
        <chasu>947</chasu>
        <chasuStr>947</chasuStr>
        <date>2021-01-23</date>
        <johabId>2440439</johabId>
        <ball>
            <item>3</item>
            <item>8</item>
            <item>17</item>
            <item>20</item>
            <item>27</item>
            <item>35</item>
        </ball>
        <bonusBall>26</bonusBall>
        <win>
            <win1>
                <count>18</count>
                <countStr>18</countStr>
                <payout>1275855750</payout>
                <payoutStr>1,275,855,750</payoutStr>
                <payoutHangul>&#xC77C;&#xC2ED;&#xC774;&#xC5B5;&#xCE60;&#xCC9C;&#xC624;&#xBC31;&#xD314;&#xC2ED;&#xC624;&#xB9CC;&#xC624;&#xCC9C;&#xCE60;&#xBC31;&#xC624;&#xC2ED;</payoutHangul>
            </win1>
            <win2>
                <count>58</count>
                <countStr>58</countStr>
                <payout>65992539</payout>
                <payoutStr>65,992,539</payoutStr>
                <payoutHangul>&#xC721;&#xCC9C;&#xC624;&#xBC31;&#xAD6C;&#xC2ED;&#xAD6C;&#xB9CC;&#xC774;&#xCC9C;&#xC624;&#xBC31;&#xC0BC;&#xC2ED;&#xAD6C;</payoutHangul>
            </win2>
            <win3>
                <count>3182</count>
                <countStr>3,182</countStr>
                <payout>1202881</payout>
                <payoutStr>1,202,881</payoutStr>
                <payoutHangul>&#xC77C;&#xBC31;&#xC774;&#xC2ED;&#xB9CC;&#xC774;&#xCC9C;&#xD314;&#xBC31;&#xD314;&#xC2ED;&#xC77C;</payoutHangul>
            </win3>
            <win4>
                <count>146908</count>
                <countStr>146,908</countStr>
                <payout>50000</payout>
                <payoutStr>50,000</payoutStr>
                <payoutHangul>&#xC624;&#xB9CC;</payoutHangul>
            </win4>
            <win5>
                <count>2351804</count>
                <countStr>2,351,804</countStr>
                <payout>5000</payout>
                <payoutStr>5,000</payoutStr>
                <payoutHangul>&#xC624;&#xCC9C;</payoutHangul>
            </win5>
        </win>
        <color>
            <yellow>2</yellow>
            <blue>2</blue>
            <red>1</red>
            <gray>1</gray>
            <green>0</green>
        </color>
        <compositeNumber>3</compositeNumber>
        <consecutive>0</consecutive>
        <lowHigh>
            <low>4</low>
            <high>2</high>
        </lowHigh>
        <multipleOf3>2</multipleOf3>
        <oddEven>
            <odd>4</odd>
            <even>2</even>
        </oddEven>
        <primeNumber>2</primeNumber>
        <sum>110</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
일의 자리 총합