Skip to main content

Base URL

Authentication

All requests require a Bearer token in the Authorization header.
Generate your API key from the Hacken Extractor dashboard under Settings → API Keys.

Response format

All endpoints return JSON. Successful responses use HTTP 200; errors return a non-2xx status with a descriptive body.

Pagination

Search and aggregation endpoints accept from and size for cursor-style pagination.

Endpoints

Create Project

POST /api/v1/project

Get Project

GET /api/v1/project/{id}

Create Contract

POST /api/v1/contract

Get Contract

GET /api/v1/contract/{id}

Search Alerts

POST /api/v1/detector/alert/search

Aggregate Alerts

POST /api/v1/detector/alert/aggregation