What is Local News API?
Local News API provides location-specific news content across multiple countries including the United States, Canada, Great Britain, Germany, France, Italy, China, Thailand, and Switzerland. Building on our core News API v3 infrastructure, it adds dedicated location detection capabilities optimized for city, county, and regional news coverage. The system processes content from thousands of local news sources, including small city publishers, regional outlets, university newspapers, and local government news portals.Features
- Location
- Content
- Technical
- Six distinct location detection methods - Content from thousands of local news sources across multiple countries - Advanced GeoNames filtering with administrative hierarchy, localization and confidence scores - Cross-language search using English keywords
Key differences from News API v3
For users familiar with our core News API v3, Local News API offers these key enhancements:Feature | Local News API | News API v3 |
---|---|---|
Geographic focus | Local coverage across multiple countries with specialized location detection | Global news coverage |
Location handling | Simple location names plus structured GeoNames filtering | Basic geographic filtering |
Historical data | 30 days of history | Up to 5 years of history |
Source types | Local newspapers, government sites, university outlets | Major publications, international sources |
Location detection methods
The system uses six distinct methods to detect and validate locations in news articles:Dedicated Source
Identifies articles from news sources exclusively covering a specific
location (highest confidence)
Local Section
Identifies locations through dedicated sections in larger publications
Regional Source
Uses regional context to properly interpret and disambiguate location
mentions
Standard Format
Identifies locations written in standard formats like “City, State”
Proximity Mention
Detects cities and states mentioned within 15 words of each other
AI Extraction
Uses AI-based content analysis to identify locations (requires AI Extraction
plan)
Base URL
For API requests use the following base URL:Endpoints
Standard endpoints
Endpoint | Method | Description | Use Case |
---|---|---|---|
/api/search | POST | Full-text search with simple location filtering | Find articles using “City, State” or “City, Country” format for locations |
/api/latest_headlines | POST | Recent articles by location | Monitor latest news for specific towns or regions |
/api/search_by | POST | Direct article lookup | Retrieve specific articles using URLs, IDs, or RSS GUIDs |
/api/sources | POST | Available news sources | Discover local news providers by region |
Advanced endpoints
Endpoint | Method | Description | Use Case |
---|---|---|---|
/api/search/advanced | POST | Full-text search with GeoNames filtering | Find articles using structured geographic data with administrative hierarchy |
/api/latest_headlines/advanced | POST | Recent articles with GeoNames filtering | Monitor latest news with precise geographic targeting and confidence scores |
Request format
Include your API key in thex-api-token
header for each request. All requests
must use HTTPS.
Standard endpoint example
Advanced endpoint example
Response differences
Both endpoint types include basic article information with metadata, NLP and translation fields (title_translated_en
, content_translated_en
). The main
difference between standard and advanced endpoints is the location data
structure.
Standard endpoints
Return simple location data:Advanced endpoints
Return structured GeoNames data:For detailed information on all available response fields, see API
Reference.
Use cases
Local News API is designed for applications requiring location-specific news intelligence:- Local news applications: Deliver geographically relevant content to users.
- Regional business monitoring: Track company activities in specific markets.
- Real estate intelligence: Monitor development news, policy changes, and market trends.
- Media analysis: Examine coverage patterns across geographic regions.
- Government affairs: Track policy issues at local and regional levels.
- Crisis monitoring: Follow emergencies and public health issues by location.
- University research: Analyze local media coverage of regional issues.
Getting started
- Book a demo to get your API key.
- Follow the Quickstart guide to make your first request and comprehend the basic workflow.
- Review the Location detection methods documentation to understand how the system identifies and validates location mentions.
- Learn about GeoNames filtering for advanced geographic targeting.
- Dive into the API reference for detailed endpoint documentation and advanced query options.