1. Support
  2. Knowledge base
  3. Uptrends' API
  4. Accessing the Uptrends API using cURL

Accessing the Uptrends API using cURL

We’re changing our user interface. Some info may not yet be up to date. Please check From classic to new UI.

The following example accesses the Uptrends API and fetches the list of Uptrends' checkpoint locations. This cURL statement includes the Uptrends credentials, and a header that requests the response to be returned in JSON format.

curl https://api.uptrends.com/v3/checkpointservers -k --user james@galacticresorts.com:1234xxx --header "Accept: application/json"

Tip: don’t have cURL? Download it at: https://curl.haxx.se/download.html.
By using the Uptrends website, you consent to the use of cookies in accordance with our Cookie Policy.