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 500,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
- 512.645k
- Requests yesterday
- 20.506
- Articles added yesterday
- 85.207
- Total articles
- 3.84b
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.
NewsCatcher API Alternative 2026: Honest Comparison
Compare NewsCatcher vs APITube with real code, JSON responses, $/article math at 3 volumes, and when to stay with NewsCatcher. For developers.
GNews API vs APITube 2026: Honest Head-to-Head
GNews API alternative or upgrade? Head-to-head with real JSON, articles-per-request math, migration mapping, and when GNews is the right pick.
NewsData.io vs APITube: Pricing, Features, Trade-offs
NewsData.io vs APITube in 2026 — honest concessions on both sides, verified pricing, migration code, and decision rules for choosing between them.
NewsAPI Alternative in 2026: Stop Paying $449/month
NewsAPI.org starts at $449/month. Most startups need a cheaper NewsAPI alternative. Real cost math, decision framework, 10-min migration code.
Free News API Limitations 2026: 6 Tiers Tested
Free news APIs cost more than paid plans. We tested 6 tiers: real rate limits, missing fields, commercial restrictions. Decision framework inside.


