Country Coordinates Checker API
API Endpoint Specifications
- Endpoint Path: /api/1/country-navigator
- Type of Data: JSON & 20/minute
- Data Source: Country Latitude and longtitude
- Request Limit: 500 request/month
- Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
Country Coordinates Checker API Endpoint Basic Info
API Endpoint Path
required
Country Position Navigator API
api/1/country-navigator
Call Method
Required
GET
Type of Data Return
JSON
Output structured JSON data on Country latitude and longitude
Available API Arguments & Parameters
token
required
BUYFROMLO API token. Free and paid subscription APIs are both available: /api/1/country-navigator, and accessible to on-site APP on /app/1/country-navigator as well
countryname
required
Input a country name, such as United States, China, Japan
Country Position Navigator API
api/1/country-navigator
Code Integration and Response
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/1/country-navigator?"
## Required Arguments & Parameters ##
token = ""your buyfromlo token""
countryname = ""Input a country name in full name or GEO ISO code form""
data="countryname=" + countryname
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.get(apiendpoint + data, headers=headers)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"Country": " " (string),
"latitude": " " (float),
"Longtitude": " " (float)
}