Skip to main content

Overview

The Rebase Energy Dashboard API provides a comprehensive set of endpoints for building energy monitoring dashboards. All endpoints are RESTful and require authentication via Bearer tokens.

Base URL

Authentication

All endpoints require authentication using a Bearer token in the Authorization header:

Getting Your API Token

  1. Sign up at dash.rebase.energy
  2. Navigate to your account settings
  3. Generate a new API token
  4. Use the token in your API requests

API Structure

The API is organized into four main categories:

Dashboards

Manage complete dashboard configurations with drag-and-drop layouts.
  • Create, List, Get, Update, Delete dashboards
  • React Grid Layout configuration
  • Component state management

Components

Build reusable visualization components for your dashboards.
  • Map Components - Interactive maps with layers
  • Time Series Components - Charts and graphs

Layers

Create and manage both map and weather layers with a unified API.
  • Map Layers - ScatterPlotLayer, GeoJsonLayer
  • Weather Layers - Raster, Particle, Isoline layers
  • Unified Management - Single API for all layer types

Datasets

Store and manage your energy data.
  • Static Datasets - Pre-loaded data
  • Live Datasets - Real-time data from external APIs
  • Time Series & Geospatial - Multiple data types supported

Quick Reference

Response Format

All API responses are returned in JSON format with the following structure:

Error Handling

The API uses standard HTTP status codes:
  • 200 - Success
  • 201 - Created
  • 400 - Bad Request
  • 401 - Unauthorized
  • 404 - Not Found
  • 500 - Internal Server Error
Error responses include detailed information:

Rate Limiting

  • 100 requests per minute per API token
  • 1000 requests per hour per API token
  • Rate limit headers included in responses

SDK Support

Use our official Python SDK for easy integration:

Next Steps

Dashboards

Manage dashboard configurations and layouts.

Components

Build visualization components.

Layers

Create and manage layers.

Datasets

Store and manage your data.