1. Estimation
Spreadefi
  • Overview
  • API Reference
    • Currencies
      • List all currencies
      • Get a single currency
    • Pairs
      • List available pairs
      • Get amount range for a pair
    • Estimation
      • Estimate an exchange
        GET
    • Exchanges
      • Create an exchange
      • List exchanges
      • Get an exchange
  • Schemas
    • Currency
    • Pair
    • Range
    • Estimate
    • ExchangeCreateRequest
    • Exchange
    • Error
  1. Estimation

Estimate an exchange

GET
https://api.spreadefi.io/v1/estimate
Returns the estimated amount the recipient will receive, including
network and service fees.

Request

Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.spreadefi.io/v1/estimate?from=btc&to=eth&amount=1&fixed='

Responses

🟢200
application/json
Estimated result
Bodyapplication/json

Example
{
    "from": "btc",
    "to": "eth",
    "amount": "1",
    "estimated_amount": "15.83421",
    "rate": "15.83421",
    "fixed": false
}
🟠401Unauthorized
🟠422ValidationError
Previous
Get amount range for a pair
Next
Create an exchange
Built with