Skip to main content
Earthster API

Use the Earthster API to integrate with your applications

Updated over 8 months ago

The Earthster API uses the OpenAPI standard with the REST architecture, allowing you to create a seamless data exchange between Earthster and your other applications.

Benefits of using the Earthster API

  • Automate cycle updates

    • Keep your cycles up to date with your applications (e.g. an ERP system)

  • Create custom dashboards (e.g. PowerBI)

The API requests are user specific and requires a Corporate plan.

Start using the Earthster API

With the Earthster API you are able to query any data that your user has access to (when the API feature is enabled for your user).

Quick guide:

  1. Activate the API connection:

  2. Create your unique API token (Bearer token):

  3. Set up your system to do API requests

    • Include the token in the header to authenticate your requests

  4. Enjoy seamless data exchange between Earthster and your applications

Authentication

The Earthster API uses Bearer tokens to authenticate requests. You can view and manage your API tokens in the "My Profile" section.

  • Go to: Main menu -> API -> Create new token

The Bearer token is user specific, therefore it grants you access to any data that your user has at least view access to.

Alternative: Create the token from your own system

Example content in Body:

email=test%40earthster.org&password=test-my-password

Doing API requests

Authenticate all your API requests with the Bearer API token that you have generated in Earthster or from your own system.

Earthster uses conventional HTTP response codes to indicate the success or failure of an API request.

Base URL

https://app.earthster.org

Available endpoints

Name

Endpoint

Available request types

Description

Account

/api/v1/accounts

GET

Lists the accounts the user has access to.

Auth

/api/v1/auth

POST

Create a Bearer token.

Comparison

/api/v1/comparisons

GET

Lists all the comparisons the user has access to.

Cycle

/api/v1/cycles

GET

Lists all the cycles the user has access to.

Process

/api/v1/cycles/{cycle_id}/processes

GET

PUT

Fetch and update process values for a particular cycle.

Release

/api/v1/cycles/{cycle_id}/releases

GET

Shows release data for a particular cycle.

Me

/api/v1/me

GET

Gives information about your own profile.

Download the technical documentations in HTML and YAML formats:

Attachment icon
Attachment icon
Did this answer your question?