Cost Analysis API

Analyze ingredient costs, optimize formulations for budget, and track market pricing trends.

Endpoints

GET/v1/cost/ingredients/:id

Get current market pricing for an ingredient.

POST/v1/cost/calculate

Calculate total cost for a product formulation.

POST/v1/cost/optimize

Optimize a formulation for cost while maintaining targets.

GET/v1/cost/trends

Get historical pricing trends for ingredients.