Logo
Cartes.io API API Documentation

Get all markers on a map as GeoJSON

GET {{cartes_api_base_url}}/maps/{{cartes_map_uuid}}/markers?format=geojson

 

Body PARAM

Key Datatype Required Description 
format
string



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "type": "FeatureCollection", "features": [ { "type": "Feature", "geometry": { "type": "Point", "coordinates": [ -72.421875, 33.475059233191 ] }, "id": 2963, "properties": { "category_id": 570, "created_at": "2022-07-26T08:36:44+00:00", "updated_at": "2022-11-30T14:14:11+00:00", "description": "Old one", "expires_at": null, "is_spam": false, "link": null, "meta": null, "locations_count": 1, "address": null, "elevation": 0, "zoom": null, "heading": null, "pitch": null, "roll": null, "speed": null, "category": { "id": 570, "name": "Sharks", "slug": "sharks", "icon": "https://img.icons8.com/ios-glyphs/344/shark.png" } } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [ -73.828125, -21.093469265617 ] }, "id": 3068, "properties": { "category_id": 570, "created_at": "2022-07-28T08:45:30+00:00", "updated_at": "2022-11-30T14:14:13+00:00", "description": "", "expires_at": null, "is_spam": false, "link": null, "meta": null, "locations_count": 1, "address": null, "elevation": 0, "zoom": null, "heading": null, "pitch": null, "roll": null, "speed": null, "category": { "id": 570, "name": "Sharks", "slug": "sharks", "icon": "https://img.icons8.com/ios-glyphs/344/shark.png" } } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [ 79.8046875, -21.433364154178 ] }, "id": 3072, "properties": { "category_id": 572, "created_at": "2022-07-28T08:50:05+00:00", "updated_at": "2022-11-30T14:14:13+00:00", "description": "", "expires_at": null, "is_spam": false, "link": null, "meta": null, "locations_count": 1, "address": null, "elevation": 0, "zoom": null, "heading": null, "pitch": null, "roll": null, "speed": null, "category": { "id": 572, "name": "Garbage", "slug": "garbage", "icon": "https://img.icons8.com/external-photo3ideastudio-lineal-photo3ideastudio/344/external-garbage-pl
Curl
curl -X GET 'cartes_api_base_url/maps/048eebe4-8dac-46e2-a947-50b6b8062fec/markers?format=geojson?format=geojson'

ENDPOINTS