Skip to content

Quick start

Choose the stations you want raw data from, then receive their observations. Coordinates and QC are optional extras.

Before you start

  • A Raw data account (username and password). See How to obtain an account.
  • The examples call the API with curl. curl -u builds the Basic authentication header for you. For PowerShell and CMD, see the matching tabs in the PPK API quick start.

Step 1: Check your account

List the stations (mountpoints) already on your account. This also confirms that your username and password work.

curl -s "https://rawdata.geodnet.com/api/rawdata/v1/mountpoints" \
  -u "geoduser:geodpass"
{
  "code": 1000,
  "msg": "OK",
  "data": ["G001", "G002"]
}

data is the list of stations you receive. A new account may return an empty list.

Step 2: Choose your stations

Add a station to your account by its mountpoint name.

curl -s -X POST "https://rawdata.geodnet.com/api/rawdata/v1/add" \
  -u "geoduser:geodpass" \
  -H "Content-Type: application/json" \
  -d '{"mountpoint": "G003"}'
{
  "code": 1000,
  "msg": "OK"
}

To switch a station for another one, use Replace mountpoint. To find station names, use Get the list of stations.

Step 3: Receive the data

Connect to the raw data stream of each station on your account. Each station is a raw RTCM 3.2 (MSM4) stream. TBD Server and port.

Optional: coordinates and QC

Both are extras. Skip them if you only need the observations.

You want Call
Precise coordinates of the base stations Get the coordinates of the base stations
Details of one station Get information about a specific station
Station quality, hour by hour Get qc data by hour
Station quality, over a period Get qc data by station