From a decimal string
decimal.full as "latitude,longitude".
Input
{
"decimal": {
"full": "50.11046833333334,8.68165861111111"
}
}Output · HTTP 200
{
"result": {
"decimal": {
"latitude": 50.11046833333334,
"longitude": 8.68165861111111,
"full": "50.11046833333334,8.68165861111111"
},
"dms": {
"vertical": {
"deg": 50,
"min": 6,
"sec": 37.686000000012996,
"direction": "N"
},
"horizontal": {
"deg": 8,
"min": 40,
"sec": 53.970999999998526,
"direction": "E"
},
"full": "50°6'37.686000000012996\"N 8°40'53.970999999998526\"E"
},
"exif": {
"ios": {
"GPSLatitudeRef": "N",
"GPSLatitude": [
[
50,
1
],
[
6,
1
],
[
3768.6000000012996,
100
]
],
"GPSLongitudeRef": "E",
"GPSLongitude": [
[
8,
1
],
[
40,
1
],
[
5397.099999999853,
100
]
]
},
"android": {
"GPSLatitudeRef": "N",
"GPSLongitudeRef": "E",
"GPSLatitude": "50/1,6/1,3768.6000000012996/100",
"GPSLongitude": "8/1,40/1,5397.099999999853/100"
… (4 more lines)Show curl command
curl -X POST 'https://api.1001fx.com/geo/convertgeocode' \
-H 'X-API-KEY: YOURSECRETAPIKEY' \
-H 'Content-Type: application/json' \
-d '{"decimal":{"full":"50.11046833333334,8.68165861111111"}}'