Skip to main content

Overview

This guide explains how to authenticate with our API using API keys. This authentication method is designed for server-to-server communication where your application needs to access API resources on its own behalf.

Prerequisites

Before you begin, ensure you have an Api Key, which you can create at https://console.engrate.io

Examples

Making API requests

curl --request GET \
  --url "https://api.engrate.io/cost-of-energy/v1/tariffs?system_operator_id=0199c317-25ec-7cf7-94cc-32a39f068433" \
  --header "authorization: $API_KEY" \
  --header "content-type: application/json"