REST API
Authenticating requests
Authentication is done by passing an API token in the Authorization header of your HTTP request:
Authorization: Bearer <api-token>API reference
Swagger documentation is published with all available endpoints:
Marple DB: https://db.marpledata.com/api/docs
Marple Insight: https://insight.marpledata.com/api/v1/spec/

Formatting request arguments
There are two ways to pass arguments to an endpoint:
URL encoding (Key-Value Pairs) – Used in GET requests.
JSON encoding (Request Body) – Used in POST requests.
The method depends on the endpoint, but generally:
GET requests → Use URL encoding.
POST requests → Use JSON encoding.
This ensures proper data formatting based on the request type.
Last updated