> For the complete documentation index, see [llms.txt](https://passimpay.gitbook.io/passimpay-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://passimpay.gitbook.io/passimpay-api/exchange/estimated.md).

# Estimated

<mark style="color:green;">`POST`</mark> `https://api.passimpay.io/v2/estimated`

This method provides an estimate of the amount to be received and the exchange rate for a given trade.

**Rate Limit**: 1 requests per second

#### **Headers**

<table><thead><tr><th width="221">Name</th><th width="150">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>x-signature</code></td><td>string</td><td>SHA-256 encrypted signature</td></tr><tr><td><code>Content-Type</code></td><td>string</td><td>application/json</td></tr></tbody></table>

#### **Request Body**

<table><thead><tr><th width="191">Name</th><th width="124">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>platformId</code></td><td>integer</td><td>Platform Id</td></tr><tr><td><code>paymentFromId</code></td><td>integer</td><td>Currency ID. You can get the list of currency IDs <a href="/pages/cCYjpNNmRMVGOnH1c3fk">here</a>.</td></tr><tr><td><code>paymentToId</code></td><td>integer</td><td>Currency ID. You can get the list of currency IDs <a href="/pages/cCYjpNNmRMVGOnH1c3fk">here</a>.</td></tr><tr><td><code>amount</code></td><td>string</td><td>The exchange amount. </td></tr></tbody></table>

#### **Successful response (200)**

<table><thead><tr><th width="200">Name</th><th width="131">Type</th><th>Description</th></tr></thead><tbody><tr><td>result</td><td>integer</td><td>Request result: <br><code>1</code>: success </td></tr><tr><td>from</td><td>string</td><td>The currency of the currency you want to exchange.</td></tr><tr><td>to</td><td>string</td><td>The currency of the currency you want to receive.</td></tr><tr><td>give</td><td>string</td><td>The amount of currency you are providing for the exchange.</td></tr><tr><td>receive</td><td>string</td><td>The estimated amount of currency you will receive after the exchange.</td></tr><tr><td>rate</td><td>string</td><td>The current exchange rate for the specified pair.</td></tr></tbody></table>

#### **Error Response (400)**

<table><thead><tr><th width="154">Name</th><th width="176">Type</th><th>Description</th></tr></thead><tbody><tr><td>result</td><td>integer</td><td>Request result: <br><code>0</code>: error</td></tr><tr><td>message</td><td>string</td><td>Error description</td></tr></tbody></table>
