API Direct
Endpoints
News Articles

News Articles

GET /v1/news/articles
Documentation

Search news articles from thousands of sources worldwide. Returns article title, URL, snippet, author, source, and publication date. Supports filtering by time period, source, country, and language.

Cost
$0.008 per request
Free tier
50 requests/month

Parameters

query *
Search keyword (max 500 characters)
limit
Number of results to return, 1-100 (default: 10)
time_published
Time filter: anytime, 1h, 1d, 7d, 1m, 1y (default: anytime)
source
Filter by news source (e.g., bbc.com)
country
2-letter country code (default: us)
language
2-letter language code (default: en)

Example Request

curl "https://apidirect.io/v1/news/articles?query=artificial%20intelligence&limit=10&time_published=1d&country=us&language=en" \
  -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "articles": [
    {
      "title": "New AI Breakthrough Changes the Industry",
      "url": "https://example.com/article/ai-breakthrough",
      "snippet": "Researchers have announced a major advancement in artificial intelligence...",
      "photo_url": "https://example.com/images/ai-photo.jpg",
      "thumbnail_url": "https://example.com/images/ai-thumb.jpg",
      "published_datetime_utc": "2025-01-15 14:30:00",
      "authors": ["Jane Smith", "John Doe"],
      "source_url": "https://example.com",
      "source_name": "Example News",
      "source_favicon_url": "https://example.com/favicon.ico",
      "domain": "example.com"
    }
  ],
  "limit": 10,
  "count": 1
}

Your Usage

Free tier this month
Loading...
Recent Activity