> For the complete documentation index, see [llms.txt](https://devdocs.olisystems.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devdocs.olisystems.com/oli-scalechem-api/main-methods/brine-analysis.md).

# Brine analysis

### Request payload

```json
{
    "method": "scalechem.brineAnalysis",
    "params": {
        "chemistryModel": "chem",
        "waterAnalysisInputs": [
            ...<snip>...
        ]
    }
}
```

<table data-header-hidden><thead><tr><th width="223.33333333333334">params</th><th>type</th><th>description</th></tr></thead><tbody><tr><td><strong>params</strong></td><td>type</td><td>description</td></tr><tr><td>chemistryModel</td><td>string</td><td><a href="/pages/GD3eBn0fj7fXmpV6ePoy#chemistry-model">chemistry model name</a></td></tr><tr><td>waterAnalysisInputs</td><td>array of objects</td><td><a href="/pages/-MK1M9s-C6wqs4hucy1i">water analysis inputs</a></td></tr></tbody></table>

Brine analysis uses the same input options as the water analysis in OLI Engine API. Please refer to [water analysis](/group1/api-functions/wateranalysis.md) for the specifications of **params.waterAnalysisInputs**.

{% hint style="info" %}
In addition to the inputs shown above, some optional properties may also be specified. They can be viewed at [Optional Inputs](/optional-inputs.md).
{% endhint %}

### Response (status = PROCESSED)

Please refer to the [response ](/group1/api-functions/wateranalysis.md#response-status-processed)of water analysis in OLI Engine API.
