--- title: "일별 접속자 (DAU) 조회" slug: "game-gamepot-statisticsdau" updated: 2026-09-17T09:16:30Z published: 2026-09-17T09:16:30Z canonical: "api.ncloud-docs.com/game-gamepot-statisticsdau" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 일별 접속자 (DAU) 조회 일별 접속자를 조회할 수 있습니다. ## 요청 ``` GET https://dashboard-api.gamepot.ntruss.com/v1/api/project/{projectId}/user/statistics/dau?startDate={startDate}&endDate={endDate} ``` | 항목 | 타입 | 필수 여부 | 설명 | 비고 | | --- | --- | --- | --- | --- | | projectId | String | O | GamePot SDK의 projectId | | | startDate | String | X | 조회하려는 시작 날짜 | `YYYY-MM-DD` | | endDate | String | X | 조회하려는 마지막 날짜 | `YYYY-MM-DD` | 참고 쿼리로 startDate, endDate를 넣지 않으면 최근 30일간의 데이터를 조회합니다. ### 요청 헤더 | 헤더명 | 필수 여부 | 설명 | | --- | --- | --- | | x-api-key | O | GamePot에서 발급하는 인증 키 | | accept-language | X | 사용 언어 | ## 응답 | 필드명 | 타입 | 설명 | | --- | --- | --- | | status | Int | 결과값 (1: 성공) | | totalCount | Int | dau 조회 결과 (건)수 | | date | String | 집계 일시 | | count | Int | (해당 일자) DAU | ## 예시 ### 요청 예시 ``` curl --request GET \ --url https://dashboard-api.gamepot.ntruss.com/v1/api/project/12a0f2ff-xxxx-xxxx-xxxx-9c13ef02f5fs/user/statistics/dau?startDate=2020-03-01&endDate=2020-06-01 --header 'accept-language: ko' \ --header 'x-api-key: 86dcgffae0641745432as02a8801ce5a5475f764fxxxxxxxxx' ``` ### 응답 예시 ``` { "status": 1, "result": { "totalCount": 3, "edges": [ { "node": { "date": "Fri Apr 10 2020 09:00:00 GMT+0900 (Korean Standard Time)", "count": 2 } }, ... { "node": { "date": "Tue Apr 14 2020 09:00:00 GMT+0900 (Korean Standard Time)", "count": 4 } } ] } } ``` ## 오류 코드 Gamepot Open API 요청시 발생하는 공통 에러코드입니다. | 파라미터 | 설명 | | --- | --- | | status | 오류 코드(1: 성공, 실패시 Error code 참고) | | message | 오류 상세 설명 | | 오류 코드 | 설명 | | --- | --- | | -1 | 대시보드에 없는 키를 사용한 경우 | | -2 | 대시보드의 키와 헤더의 키가 다른경우 | | -3 | 대시보드에서 삭제한 키를 사용한 경우 | | -4 | 대시보드에서 미사용으로 처리된 키를 사용한 경우 | | -5 | 키가 만료된 경우 | | -6 | 프로젝트 아이디가 없는 경우 | ``` { "status": -6, "message": "projectId was wrong." } ``` 일별 접속자 (DAU) 조회 API 요청시 발생하는 에러코드입니다. | 오류 코드 | 설명 | | --- | --- | | -11 | startDate 값의 포멧이 올바르지 않은 경우. `YYYY-MM-DD` 형태만 가능 | | -12 | endDate 값의 포멧이 올바르지 않은 경우. `YYYY-MM-DD` 형태만 가능 |