Geographic coordinate point with latitude, longitude, place name, and elevation. Used for mapping, GPS tracking, location services, and geographic data storage.
https://api.mockly.codes/coordinates?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/coordinatesGet a collection of coordinates
/location/coordinates/coordinates/:idGet a single coordinate by ID
/location/coordinates/:id/coordinates/metaGet resource metadata and schema
/location/coordinates/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/coordinates?q=laptopGET https://api.mockly.codes/coordinates?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 coordinates
fetch('https://api.mockly.codes/coordinates?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/coordinates?count=10'
)
data = response.json()curl "https://api.mockly.codes/coordinates?count=10"fetch('https://api.mockly.codes/coordinates?nocache=true')idintegerUnique identifier for the coordinate record
random_intlatitudenumberGeographic latitude coordinate in decimal degrees (-90 to 90)
latitudelongitudenumberGeographic longitude coordinate in decimal degrees (-180 to 180)
longitudeplacestringName of the place or location at these coordinates
cityelevationintegerElevation above sea level in meters
elevationcountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request