Trusted by 6,000+ developers 




PHP News API SDK
Benefits
The News API, the PHP way
Run composer require apitube/news-api. The package is published on Packagist as apitube/news-api and requires PHP 8.1+ plus a PSR-18 HTTP client (such as Guzzle) and a PSR-17 factory.
Features
Don’t waste time on complex features
Complex features made simple. Our API provides a simple way to access news articles from around the world. We provide a simple, consistent, and easy-to-use API to access news articles from thousands of sources.
News API
- Export data in many formats
- Industry Monitoring
- Brand Monitoring
- Market Intelligence
- Risk Management
- Competitive Intelligence
- Media Monitoring
- Sentiment Analysis
- Trend Analysis
- Story Grouping
- Forecasting social trends
- Multi-language Support
- Audience Engagement
- Geographical Analysis
- Real-time Breaking News
- Historical Data Access
- Custom News Feeds
- News Aggregation
- Content Filtering
- Over 50 integrations
Extract Additional Data
- Industries
- Locations
- Persons
- Organizations
- Brands
- Events
- Disasters
- Diseases
- Links
- Media
- Images & Videos
- Hashtags
- Authors
- Source
- Duplicate Detection
- Publisher Rank
- Article Sentiment
- Readability Score
- Language Detection
Analysis
- Sentiment Analysis
- Analysis of public opinion
- Categorization
- Financial Analysis
- Trend Analysis
- Story Grouping
- Content Summarization
- Entity Recognition
- Keyword Extraction
- Topic Modeling
- Event Detection
- Named Entity Recognition
- Text Classification
- Controversy Detection
- Trust Score Analysis
- Engagement Metrics
- Source Bias Detection
- Quality Ranking
- Spam Detection
- Emotion Detection
Advanced Searching
- Search by Location
- Search by Date Range
- Search by Source
- Search by Category
- Search by Industry
- Search by Sentiment
- Search by Story
- Search by Publisher Rank
- Search by Language
- Search by Entity
- Search by Keywords
- Boolean Search
- Proximity Search
- Faceted Search
- Range Queries
- Search by Author
- Search by Media Type
- Search by Breaking News
- Search by Read Time
More than 300,000+ sources
APITube is trusted by teams around the world to help them build and deliver amazing digital experiences faster than ever before.
- Last updated
- 8s ago
- Total sources
- 300.000k
- Requests yesterday
- 27.668
- Articles added yesterday
- 113.353k
- Total articles
- 3.87b
Frequently asked questions
- Run composer require apitube/news-api. The package is published on Packagist as apitube/news-api and requires PHP 8.1+ plus a PSR-18 HTTP client (such as Guzzle) and a PSR-17 factory.
- Create a client with new Client(apiKey: 'your-api-key') and call $client->news('everything', ['title' => 'artificial intelligence', 'language.code' => 'en', 'per_page' => 5]). Then iterate $response->articles.
- news() for everything, top-headlines, article, story, and raw; count() for match counts; suggest() for categories, topics, industries, and entities autocomplete; reference methods for people, companies, sources, and journalists; plus balance() and ping().
- It throws typed exceptions: AuthenticationException on HTTP 401, RateLimitException on HTTP 429 (with a retryAfter value), and ApiException for other API errors, exposing the request id.
- No. The SDK covers the REST endpoints. For real-time delivery, use the SSE stream, WebSocket, or webhooks directly — see the Real-Time News API pages.
Slack News Bot Integration Tutorial: 2026 Python Guide
Slack news bot integration tutorial: build a Python bot, format with Block Kit, schedule on cron / GitHub Actions / Lambda. Working code, ~80 lines.
News API Migration Guide 2026: Switch Without a Rewrite
News API migration without a rewrite: build an adapter, map fields across providers, shadow-test for parity, and cut over in hours, not days.
Build a Breaking News Detection System in Python (2026)
Build a breaking news detection system in Python: entity-velocity z-score, source-diversity filter, Slack alerts, latency benchmark methodology.
Verify Breaking News Before You Act: Risk Checklist
Verify breaking news before you trade, hedge or publish: a 7-step checklist plus a stakes-based rule for how many sources to confirm before you act.
News Sentiment Analysis in Python: VADER vs FinBERT (2026)
News sentiment analysis in Python: VADER vs FinBERT vs TextBlob on 200 real articles — agreement rates, title-vs-body flip, and a streaming loop.



