API

온라인 뉴스 검색 다이렉트 API

온라인 뉴스는 디지털 네이티브 매체, 신문, 방송사, 통신사 및 웹상의 잡지에서 게시된 보도를 포함합니다. 평판, 시장 신호, 정책 개발 및 빠르게 변하는 공공 정보에 중요합니다.

API 참조 버전: 1.0.0 3 엔드포인트 인증
온라인 뉴스

기본 URL

https://api.pressmonitor.com

인증

모든 요청은 Bearer 토큰 인증을 사용합니다. 각 호출에 Authorization 헤더를 추가하세요.

Authorization: Bearer YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID
GET /headlines

헤드라인

매개변수

이름 유형 위치 필수 설명
keywords_text string query 키워드 텍스트
lang_code string query 아니요 언어 코드
country_code string query 아니요 국가 코드
count integer query 아니요 개수
cursor string query 아니요 커서
date_from string query 아니요 Start date for news (YYYY-MM-DD format)
date_to string query 아니요 End date for news (YYYY-MM-DD format)
sort string query 아니요 latest|relevance(default)

코드 예제

curl -X GET "https://api.pressmonitor.com/headlines?keywords_text=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

응답

200 성공
GET /briefs

브리핑

매개변수

이름 유형 위치 필수 설명
keywords_text string query 키워드 텍스트
lang_code string query 아니요 언어 코드
country_code string query 아니요 국가 코드
count integer query 아니요 개수
cursor string query 아니요 커서
date_from string query 아니요 Start date for news (YYYY-MM-DD format)
date_to string query 아니요 End date for news (YYYY-MM-DD format)
sort string query 아니요 latest|relevance(default)

코드 예제

curl -X GET "https://api.pressmonitor.com/briefs?keywords_text=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

응답

200 성공
GET /fulltext

전체 텍스트

매개변수

이름 유형 위치 필수 설명
keywords_text string query 키워드 텍스트
lang_code string query 아니요 언어 코드
country_code string query 아니요 국가 코드
count integer query 아니요 개수
cursor string query 아니요 커서
date_from string query 아니요 Start date for news (YYYY-MM-DD format)
date_to string query 아니요 End date for news (YYYY-MM-DD format)
sort string query 아니요 latest|relevance(default)

코드 예제

curl -X GET "https://api.pressmonitor.com/fulltext?keywords_text=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

응답

200 성공