Quotes
Get All Fiat-to-Fiat Quotes
Get exchange rate quotes from all available routes for a fiat-to-fiat transfer
GET
/
api
/
quotes
/
fiat-to-fiat
/
all
Get All Fiat-to-Fiat Quotes
curl --request GET \
--url https://api.teel.finance/api/quotes/fiat-to-fiat/allimport requests
url = "https://api.teel.finance/api/quotes/fiat-to-fiat/all"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.teel.finance/api/quotes/fiat-to-fiat/all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.teel.finance/api/quotes/fiat-to-fiat/all",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.teel.finance/api/quotes/fiat-to-fiat/all"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.teel.finance/api/quotes/fiat-to-fiat/all")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.teel.finance/api/quotes/fiat-to-fiat/all")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"fromCcy": "USD",
"toCcy": "MXN",
"fromAmount": 1000,
"toAmount": 17250.50,
"exchangeRate": 17.35,
"effRate": 17.25,
"provider": "provider_a",
"fee": 5.00
},
{
"fromCcy": "USD",
"toCcy": "MXN",
"fromAmount": 1000,
"toAmount": 17100.00,
"exchangeRate": 17.30,
"effRate": 17.10,
"provider": "provider_b",
"fee": 8.50
}
]
Returns an every available quote for converting one fiat currency to another. Useful for comparing rates.
Query parameters
string
required
ISO 4217 currency code for the source currency (e.g.
USD, EUR, GBP).string
required
ISO 4217 currency code for the target currency (e.g.
MXN, NGN, BRL).number
required
The amount in the source currency to convert.
Response
Returns an array of quote objects.array
Show Quote object
Show Quote object
string
Source currency code.
string
Target currency code.
number
Amount in the source currency.
number
Amount the recipient will receive in the target currency.
number
The raw exchange rate before fees.
number
The effective exchange rate after fees are applied.
string
Opaque routing identifier.
number
Total fee charged for the conversion.
[
{
"fromCcy": "USD",
"toCcy": "MXN",
"fromAmount": 1000,
"toAmount": 17250.50,
"exchangeRate": 17.35,
"effRate": 17.25,
"provider": "provider_a",
"fee": 5.00
},
{
"fromCcy": "USD",
"toCcy": "MXN",
"fromAmount": 1000,
"toAmount": 17100.00,
"exchangeRate": 17.30,
"effRate": 17.10,
"provider": "provider_b",
"fee": 8.50
}
]
⌘I
Get All Fiat-to-Fiat Quotes
curl --request GET \
--url https://api.teel.finance/api/quotes/fiat-to-fiat/allimport requests
url = "https://api.teel.finance/api/quotes/fiat-to-fiat/all"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.teel.finance/api/quotes/fiat-to-fiat/all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.teel.finance/api/quotes/fiat-to-fiat/all",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.teel.finance/api/quotes/fiat-to-fiat/all"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.teel.finance/api/quotes/fiat-to-fiat/all")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.teel.finance/api/quotes/fiat-to-fiat/all")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"fromCcy": "USD",
"toCcy": "MXN",
"fromAmount": 1000,
"toAmount": 17250.50,
"exchangeRate": 17.35,
"effRate": 17.25,
"provider": "provider_a",
"fee": 5.00
},
{
"fromCcy": "USD",
"toCcy": "MXN",
"fromAmount": 1000,
"toAmount": 17100.00,
"exchangeRate": 17.30,
"effRate": 17.10,
"provider": "provider_b",
"fee": 8.50
}
]