API
Online News Search Direct API
The AI-powered Online News Monitor provides 360° Global Media Data & Intelligence on Digital-native news outlets, online newspapers, broadcasters, wire services, and digital magazines.
API 참조 버전: 1.0.0 3 엔드포인트 인증
기본 URL
https://pressmonitor.com/api 인증
모든 요청에는 x-api-key 및 x-subscription-id 헤더가 필요합니다. x-api-key는 계정을 인증하고 x-subscription-id는 구독한 서비스를 선택합니다.
x-api-key: YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID GET
/headlines Get News Headlines
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| keywords_text | string | query | 예 | Primary keyword query used for direct news retrieval |
| lang_code | string | query | 아니요 | Filter by language code (ISO 639-1) |
| country_code | string | query | 아니요 | Filter by country code (ISO 3166-1 alpha-2) |
| count | integer | query | 아니요 | Number of results to return |
| cursor | string | query | 아니요 | Pagination cursor for next page |
| 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 | 아니요 | Sort order (date or relevance) |
코드 예제
curl -X GET \
"https://pressmonitor.com/api/headlines?keywords_text=VALUE&lang_code=VALUE&country_code=VALUE&count=VALUE&cursor=VALUE&date_from=VALUE&date_to=VALUE&sort=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" 응답
200 Success
GET
/briefs Get News Briefs
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| keywords_text | string | query | 예 | Primary keyword query used for direct news retrieval |
| lang_code | string | query | 아니요 | Filter by language code (ISO 639-1) |
| country_code | string | query | 아니요 | Filter by country code (ISO 3166-1 alpha-2) |
| count | integer | query | 아니요 | Number of results to return |
| cursor | string | query | 아니요 | Pagination cursor for next page |
| 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 | 아니요 | Sort order (date or relevance) |
코드 예제
curl -X GET \
"https://pressmonitor.com/api/briefs?keywords_text=VALUE&lang_code=VALUE&country_code=VALUE&count=VALUE&cursor=VALUE&date_from=VALUE&date_to=VALUE&sort=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" 응답
200 Success
GET
/fulltext Get Full-Text News
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| keywords_text | string | query | 예 | Primary keyword query used for direct news retrieval |
| lang_code | string | query | 아니요 | Filter by language code (ISO 639-1) |
| country_code | string | query | 아니요 | Filter by country code (ISO 3166-1 alpha-2) |
| count | integer | query | 아니요 | Number of results to return |
| cursor | string | query | 아니요 | Pagination cursor for next page |
| 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 | 아니요 | Sort order (date or relevance) |
코드 예제
curl -X GET \
"https://pressmonitor.com/api/fulltext?keywords_text=VALUE&lang_code=VALUE&country_code=VALUE&count=VALUE&cursor=VALUE&date_from=VALUE&date_to=VALUE&sort=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" 응답
200 Success
