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

Accessing the Uptrends API using cURL

The following example accesses the Uptrends API and fetches the list of Uptrends monitors in your account. Keep in mind that in order to access our API, you’ll need to register for a set of API-specific credentials, and make sure to use those rather than your regular Uptrends credentials.

curl https://api.uptrends.com/v4/Monitor -k --user 9d9f60d1a54ceb34afaf47b3abebde47: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.