curl --request POST \
--url https://api.jenzy.com/v2/conversions/quotes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from_asset": "KES",
"to_asset": "USDT",
"from_amount": "1000.00"
}
'import requests
url = "https://api.jenzy.com/v2/conversions/quotes"
payload = {
"from_asset": "KES",
"to_asset": "USDT",
"from_amount": "1000.00"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({from_asset: 'KES', to_asset: 'USDT', from_amount: '1000.00'})
};
fetch('https://api.jenzy.com/v2/conversions/quotes', 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.jenzy.com/v2/conversions/quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'from_asset' => 'KES',
'to_asset' => 'USDT',
'from_amount' => '1000.00'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.jenzy.com/v2/conversions/quotes"
payload := strings.NewReader("{\n \"from_asset\": \"KES\",\n \"to_asset\": \"USDT\",\n \"from_amount\": \"1000.00\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.jenzy.com/v2/conversions/quotes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"from_asset\": \"KES\",\n \"to_asset\": \"USDT\",\n \"from_amount\": \"1000.00\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jenzy.com/v2/conversions/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"from_asset\": \"KES\",\n \"to_asset\": \"USDT\",\n \"from_amount\": \"1000.00\"\n}"
response = http.request(request)
puts response.read_body{
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from_asset": "KES",
"to_asset": "USDT",
"from_amount": "1000.00",
"to_amount": "7.68075",
"rate": "130.19561892",
"expires_at": "2026-09-09T10:00:25.000Z"
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}Quote a conversion
Price a conversion between a fiat asset and a stablecoin. You fix from_amount; to_amount is exactly what you will receive if you execute before expires_at. A quote reserves no balance and is not listed. No Idempotency-Key: quote as often as you like, up to 30 per minute.
curl --request POST \
--url https://api.jenzy.com/v2/conversions/quotes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from_asset": "KES",
"to_asset": "USDT",
"from_amount": "1000.00"
}
'import requests
url = "https://api.jenzy.com/v2/conversions/quotes"
payload = {
"from_asset": "KES",
"to_asset": "USDT",
"from_amount": "1000.00"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({from_asset: 'KES', to_asset: 'USDT', from_amount: '1000.00'})
};
fetch('https://api.jenzy.com/v2/conversions/quotes', 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.jenzy.com/v2/conversions/quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'from_asset' => 'KES',
'to_asset' => 'USDT',
'from_amount' => '1000.00'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.jenzy.com/v2/conversions/quotes"
payload := strings.NewReader("{\n \"from_asset\": \"KES\",\n \"to_asset\": \"USDT\",\n \"from_amount\": \"1000.00\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.jenzy.com/v2/conversions/quotes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"from_asset\": \"KES\",\n \"to_asset\": \"USDT\",\n \"from_amount\": \"1000.00\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jenzy.com/v2/conversions/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"from_asset\": \"KES\",\n \"to_asset\": \"USDT\",\n \"from_amount\": \"1000.00\"\n}"
response = http.request(request)
puts response.read_body{
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from_asset": "KES",
"to_asset": "USDT",
"from_amount": "1000.00",
"to_amount": "7.68075",
"rate": "130.19561892",
"expires_at": "2026-09-09T10:00:25.000Z"
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}Authorizations
Your Jenzy API key: Authorization: Bearer jz_live_…
Body
An asset code as GET /v2/assets lists it — uppercase, never compound (KES, USDT; never USDT-TRON). Network and rail live on the payment object.
1"KES"
An asset code as GET /v2/assets lists it — uppercase, never compound (KES, USDT; never USDT-TRON). Network and rail live on the payment object.
1"USDT"
Exactly how much of from_asset to convert, at most 4 decimal places. Conversions fix the amount in; to_amount is what you receive.
"1000.00"
Response
The quote. to_amount is the promise.
Pass this to POST /v2/conversions.
An asset code as GET /v2/assets lists it — uppercase, never compound (KES, USDT; never USDT-TRON). Network and rail live on the payment object.
1"KES"
An asset code as GET /v2/assets lists it — uppercase, never compound (KES, USDT; never USDT-TRON). Network and rail live on the payment object.
1"USDT"
What you will pay, in from_asset.
"1000.00"
What you will receive, in to_asset. This is the promise: a conversion delivers exactly this or fails whole.
"7.68075"
from_asset per one to_asset, rounded to 8 decimal places for display. Your economics are entirely in this rate; there is no separate fee. Recomputing from_amount ÷ rate may differ from to_amount by one minor unit — to_amount is what counts.
"130.19561892"
ISO 8601. Execute before this or request a new quote; an expired quote is quote_expired.
"2026-09-09T10:00:25.000Z"