실시간 뉴스 탐색기
실시간 뉴스 탐색기 · GPT-Aktionen
Newsdata.io API
Access news articles from various sources via Newsdata.io API.
GET /newsSearch for news articles based on keywords, language, and other filters.
Ursprüngliches API-Schema
{
"openapi": "3.0.0",
"info": {
"title": "Newsdata.io API",
"description": "Access news articles from various sources via Newsdata.io API.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://newsdata.io/api/1",
"description": "Main API server"
}
],
"paths": {
"/news": {
"get": {
"operationId": "searchNews",
"summary": "Search for news articles based on keywords, language, and other filters.",
"parameters": [
{
"in": "query",
"name": "apikey",
"required": true,
"schema": {
"type": "string"
},
"description": "pub_4059248b551a4a336fca3aa93470945f6df62&q=pegasus&language=en"
},
{
"in": "query",
"name": "q",
"schema": {
"type": "string"
},
"description": "Keyword for search query."
},
{
"in": "query",
"name": "language",
"schema": {
"type": "string"
},
"description": "Language of the articles."
}
],
"responses": {
"200": {
"description": "A JSON object containing search results.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"totalResults": {
"type": "integer"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"link": {
"type": "string"
},
"source_id": {
"type": "string"
},
"pubDate": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
}