Skip to main content

Estimate

Estimate the cost of a job before you submit it.

Endpoint​

Method: POST Path: /data-enrichment/estimate/ Full URL: https://backend.ecoreservice.com/api/v1/data-enrichment/estimate/ Auth: Authorization: Token YOUR_API_TOKEN (or Bearer) — see Authentication

Body

{
"selected_layers": ["L1", "L2"],
"row_count": 1500
}
FieldTypeRequiredNotes
selected_layers"full" or string[]yesLayer codes (L1, L2, L3, L4, MPA) or "full". Must be an in-order prefix, optionally plus "MPA". See Choosing layers.
row_countinteger ≥ 1yesNumber of rows you plan to submit.

Response

{
"success": true,
"data": {
"selected_layers": ["L1", "L2"],
"cost_per_row_credits": "0.7500",
"row_count": 1500,
"estimated_credits": "1125.0000"
}
}