Skip to main content
Glama

News Aggregator API

news.model.ts1.69 kB
/** * Model definitions for The News API integration */ export interface NewsArticle { uuid: string; title: string; description: string; keywords: string; snippet: string; url: string; image_url: string; language: string; published_at: string; source: string; categories: string[]; relevance_score: number | null; locale: string; } export interface NewsApiResponse { meta: { found: number; returned: number; limit: number; page: number; }; data: NewsArticle[]; } export interface SingleArticleResponse { uuid: string; title: string; description: string; keywords: string; snippet: string; url: string; image_url: string; language: string; published_at: string; source: string; categories: string[]; } export interface NewsApiParams { api_token: string; search?: string; search_fields?: string; locale?: string; categories?: string; exclude_categories?: string; domains?: string; exclude_domains?: string; source_ids?: string; exclude_source_ids?: string; language?: string; published_before?: string; published_after?: string; published_on?: string; sort?: 'published_at' | 'relevance_score'; limit?: number; page?: number; } export interface NewsSource { source_id: string; domain: string; language: string; locale: string | null; categories: string[]; } export interface SourcesApiResponse { meta: { found: number; returned: number; limit: number; page: number; }; data: NewsSource[]; } export interface SourcesApiParams { api_token: string; categories?: string; exclude_categories?: string; language?: string; page?: number; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Malachi-devel/the-news-api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server