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
}
| Field | Type | Required | Notes |
|---|---|---|---|
selected_layers | "full" or string[] | yes | Layer codes (L1, L2, L3, L4, MPA) or "full". Must be an in-order prefix, optionally plus "MPA". See Choosing layers. |
row_count | integer ≥ 1 | yes | Number 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"
}
}