모든 게시판 서비스에 대한 검색 결과를 외부 개발자 및 사용자에게 RSS,JSON,XML 형식으로 전달하는 API 서비스입니다. 게시판의 유용한 정보를 자신의 블로그나 자사 웹 서비스에 제공할 수 있게 해 줍니다.
요청 주소(Request URL)
http://apis.daum.net/search/board
요청 변수(Request Parameters)
| 요청 변수 | 값 | 설명 |
|---|---|---|
| q | string (필수) | 검색을 원하는 질의 |
| result | integer : 기본값 10, 최소 1, 최대 20 | 한 페이지에 출력될 결과수 |
| pageno | integer : 기본값 1, 최소 1, 최대 500 | 검색 결과 페이지 번호 |
| sort | string : accu(기본값), date | 검색 결과의 정렬순서
|
| output | string : json(기본값), xml, json | 결과형식 |
| callback | string | 콜백함수(output이 JSON일 경우) |
출력 결과(Response Elements)
| 출력 변수 | 값 | 설명 |
|---|---|---|
| title | string | 검색 제목 |
| link | string | 서비스 URL |
| description | string | 검색 결과의 간략한 소개 |
| lastBuildDate | string | 검색 시간 |
| totalCount | integer | 전체 검색 결과의 수 |
| pageCount | integer | 전체 검색 결과의 페이지수 |
| result | integer | 한 페이지에 출력될 결과수 |
| item | - | 개별 검색 결과 정보 |
| title | string | 개별 검색 결과의 제목 |
| description | string | 개별 검색 결과의 본문 요약 |
| link | string | 개별 검색 결과의 link url |
| comment | string | 관련 링크 |
| author | string | 출처 | pubDate | string | 등록일 |
예제 URL
http://apis.daum.net/search/board?q=daum&apikey=DAUM_SEARCH_DEMO_APIKEY
출력 방식
- XML 방식 출력
- RSS방식 출력
- JSON 방식 출력
- 본 API는 외부 자바스크립트에서 서비스를 이용할 수 있도록 콜백(Callback)함수를 지원합니다.