OPENAPI Detail

XML

National Election Commission voting and counting information

This is a service that allows you to check ballot information.

※ Application for use is only available on the PC version.

National Election Commission voting and counting information Information such as classification and provision of file data information system
Classified General Public Administration - State administration Provided By
Department Department No
API Type REST Data Format XML
Usage 467 Keyword National Election Commission, ballot counting, election
Registered 2018-07-31 Edited 2024-05-01
Deliberation Type dev : allow / run : allow
Payment free
Scope of License
References OpenAPI활용가이드(투개표정보)_v3.9.hwp

Function

  • Application for Use Development level : allowed / Operation level : allowed
  • Available traffic 1000000 / Operational account can increase traffic by applying for use case registration
  • Requested Link http://apis.data.go.kr/9760000/VoteXmntckInfoInqireService2/getVoteSttusInfoInqire
  • Service URL http://apis.data.go.kr/9760000/VoteXmntckInfoInqireService2

Request Parameter

Request Parameter

Category(Korean) Category(English) Size Division Sample Data Description
서비스키 ServiceKey 4 Essential - Authentication key received from public data portal
페이지 번호 pageNo 4 Optional 1 page number
한 페이지 결과 수 numOfRows 4 Optional 10 Number of results per page
선거ID sgId 10 Essential 20231011 Election ID
선거종류 sgTypecode 2 Essential 4 Election type
시도명 sdName 40 Optional 서울특별시 City name
구시군명 wiwName 40 Optional 강서구 Old city and county name

Response Element

Response Element

Category(Korean) Category(English) Size Division Sample Data Description
결과코드 resultCode 2 Essential 00 Result code
결과메시지 resultMsg 50 Essential OK Result message
한 페이지 결과 수 numOfRows 4 Essential 10 Number of results per page
페이지 번호 pageNo 4 Essential 1 page number
전체 결과 수 totalCount 4 Essential 3 Total number of results
선거ID sgId 10 Essential 20231011 Election ID
선거종류코드 sgTypecode 2 Essential 4 Election type code
시도명 sdName 40 Essential 서울특별시 City name
구시군명 wiwName 40 Optional 강서구 Old city and county name
총선거인수 totSunsu 10 Optional 1000 general election count
선거일투표 선거인수 psSunsu 10 Optional 900 Election day voting number of voters
거소·사전·선상·재외 선거인수 psEtcSunsu 10 Optional 200 Residence, advance notice, shipboard, overseas election registration
총 투표자수 totTusu 10 Optional 800 total number of voters
선거일 투표자수 psTusu 10 Optional 700 Number of Voters on Election Day
거소·사전·선상·재외 투표자수 psEtcTusu 10 Optional 100 Number of voters at residence/in advance/onboard/overseas
투표율 Turnout 10 Optional 80 turnout
정렬순서 vrOrder 3 Optional 1 Sort order
결과순서 num 8 Essential 1 Result order

Sample Code

Please check the sample code on your PC.