Proj API

Proj API was designed to transform geospatial coordinates from one coordinate reference system (CRS) to another. Proj API lets developers use the functionality of PROJ in their own software without having to implement similar functionality themselves. Today PROJ supports more than a hundred different map projections and can transform coordinates between datums using all but the most obscure geodetic techniques.

Request example:


curl --location --request POST 'https://api.geodesy.app/v1/transform/proj' \
--header 'API_KEY: [your_api_key]' \
--header 'Content-Type: application/json' \
--data-raw '{
    "inCs": "+proj=longlat +datum=WGS84 +no_defs",
    "outCs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +no_defs",
    "coords": [
            {
                "x": 54.2,
                "y": 18.5,                
                "z": 0
            }
        ]
}'
                     

Response example:


{
    "result": {
        "coords": [
            {
                "x": 7208125.260900678,
                "y": 2059410.579675561,
                "z": 0.0
            }
        ]
    },
    "success": true
}