Get Geo Coordinates

Retrieve the latitude and longitude of a location name. Given this information you can fill the location-filter parameter in the news search endpoint.

GET
https://api.worldnewsapi.com/geo-coordinates
Example Request and Response
GET
https://api.worldnewsapi.com/{{ examples.getGeoCoordinates }}
{
  "latitude": 35.652832,
  "longitude": 139.839478,
  "city": "Tokyo"
}
cURL
Java
Javascript
Python
Go
C#
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}