Get Fee Profile of Partner
curl --request GET \
--url https://api.sandbox.iron.xyz/api/fee-profiles \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sandbox.iron.xyz/api/fee-profiles"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sandbox.iron.xyz/api/fee-profiles', 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.sandbox.iron.xyz/api/fee-profiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.sandbox.iron.xyz/api/fee-profiles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.sandbox.iron.xyz/api/fee-profiles")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.iron.xyz/api/fee-profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"banking_fee_configs": [
{
"fee_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"iron_fee": {
"type": "Bips",
"bips": 123
},
"is_default": true,
"min_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"name": "<string>",
"network_fee_enabled": true,
"non_transactional_partner_fee_configs": [
{
"fee_type": {
"type": "Fixed",
"fixed_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
}
],
"partner_fee_configs": [
{
"fee_type": {
"type": "Fixed",
"fixed_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
}
],
"partner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rule": {
"currency_pairs": [
{
"from_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"to_currency": {
"blockchain": "Solana",
"token": "USDC"
}
}
],
"customer_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"ramp_kinds": []
}
}
],
"cursor": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prev_cursor": null
}"<string>"FeeProfiles
Get Fee Profile of Partner
Gets fee profile of partner
GET
/
fee-profiles
Get Fee Profile of Partner
curl --request GET \
--url https://api.sandbox.iron.xyz/api/fee-profiles \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sandbox.iron.xyz/api/fee-profiles"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sandbox.iron.xyz/api/fee-profiles', 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.sandbox.iron.xyz/api/fee-profiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.sandbox.iron.xyz/api/fee-profiles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.sandbox.iron.xyz/api/fee-profiles")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.iron.xyz/api/fee-profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"banking_fee_configs": [
{
"fee_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"iron_fee": {
"type": "Bips",
"bips": 123
},
"is_default": true,
"min_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"name": "<string>",
"network_fee_enabled": true,
"non_transactional_partner_fee_configs": [
{
"fee_type": {
"type": "Fixed",
"fixed_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
}
],
"partner_fee_configs": [
{
"fee_type": {
"type": "Fixed",
"fixed_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
}
],
"partner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rule": {
"currency_pairs": [
{
"from_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"to_currency": {
"blockchain": "Solana",
"token": "USDC"
}
}
],
"customer_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"ramp_kinds": []
}
}
],
"cursor": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prev_cursor": null
}"<string>"Authorizations
API Key
Headers
Optional sub-partner UUID, if provided, the fee profiles will be filtered for the sub-partner
Selects the API version for this request, as an ISO date (YYYY-MM-DD). Omit to use the default version (2025-03-13). Supported versions: 2025-03-13, 2026-07-01.
Query Parameters
Ids of the fee profiles to get. Will be ignored if is_default is set to true.
parameter to get the default fee profile. If set to true, only the default fee profile will be returned.
Response
GET Fee Profiles Succeeded
Was this page helpful?
⌘I

