본문 바로가기

전자정부이 누리집은 대한민국 공식 전자정부 누리집입니다.



CCTV영상

CCTV영상 정보를 제공합니다.

Open API

요청 URL

요청 URL - URL, 샘플, 샘플 타일 이미지 등의 안내
CCTV 영상 URL https://openapi.its.go.kr:9443/cctvInfo
실시간 영상 샘플 https://openapi.its.go.kr:9443/cctvInfo?apiKey=test&type=ex&cctvType=1&minX=127.100000&maxX=128.890000&minY=34.100000&maxY=39.100000&getType=json
영상 샘플 https://openapi.its.go.kr:9443/cctvInfo?apiKey=test&type=ex&cctvType=2&minX=127.100000&maxX=128.890000&minY=34.100000&maxY=39.100000&getType=json
정지 영상 샘플 https://openapi.its.go.kr:9443/cctvInfo?apiKey=test&type=ex&cctvType=3&minX=127.100000&maxX=128.890000&minY=34.100000&maxY=39.100000&getType=json

요청변수

요청변수 - 요청변수, 값, 설명 등의 안내
요청변수 설명
apiKey string 공개키
type string 도로 유형(ex: 고속도로 / its: 국도)
cctvType string CCTV 유형(1: 실시간 스트리밍(HLS) / 2: 동영상 파일 / 3: 정지 영상)
minX double 최소 경도 영역
maxX double 최대 경도 영역
minY double 최소 위도 영역
maxY double 최대 위도 영역
getType string 출력 결과 형식(xml, json / 기본: xml)

출력결과 필드

출력결과 필드 - 요청변수, 값, 설명 등의 안내
요청변수 설명
coordtype string 좌표타입
datacount int CCTV 개수
roadsectionid string 도로 구간 ID
filecreatetime string 파일 생성 시간(YYYYMMDDHH24MISS)
cctvtype string CCTV 유형(1: 실시간 스트리밍(HLS) / 2: 동영상 파일 / 3: 정지 영상)
cctvurl string CCTV 영상 주소
cctvresolution string CCTV 해상도
coordx string 경도 좌표
coordy string 위도 좌표
cctvformat string CCTV 형식
cctvname string CCTV 설치 장소명

샘플XML

                
            

에러메시지

에러메시지 - 에러코드, 에러메시지, 에러내용 등의 안내
에러코드 에러메시지 에러내용
000 System error 시스템 에러

샘플소스