cURL
curl --request GET \
--url 'https://api.fastforex.io/fetch-matrix?api_key='import requests
url = "https://api.fastforex.io/fetch-matrix?api_key="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fastforex.io/fetch-matrix?api_key=', 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.fastforex.io/fetch-matrix?api_key=",
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.fastforex.io/fetch-matrix?api_key="
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.fastforex.io/fetch-matrix?api_key=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fastforex.io/fetch-matrix?api_key=")
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{
"from": [
"USD",
"CHF",
"ZAR",
"AED"
],
"to": [
"USD",
"GBP",
"JPY",
"CNY"
],
"matrix": {
"USD": {
"GBP": 0.742104,
"JPY": 158.256,
"CNY": 6.6682,
"USD": 1
},
"CHF": {
"USD": 1.2256,
"GBP": 0.909537,
"JPY": 193.964,
"CNY": 8.1729
},
"ZAR": {
"USD": 0.0610967,
"GBP": 0.0453401,
"JPY": 9.66907,
"CNY": 0.40733
},
"AED": {
"USD": 0.27223,
"GBP": 0.202074,
"JPY": 43.0919,
"CNY": 1.8153
}
},
"updated": "2026-11-05T09:24:22Z",
"calls": 16,
"ms": 8
}Physical Currency APIs
Exchange Rate Matrix
Fetch a matrix of multiple from/to currency pairs. Midpoint spot rates. Costs one API call per pair returned.
GET
/
fetch-matrix
cURL
curl --request GET \
--url 'https://api.fastforex.io/fetch-matrix?api_key='import requests
url = "https://api.fastforex.io/fetch-matrix?api_key="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fastforex.io/fetch-matrix?api_key=', 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.fastforex.io/fetch-matrix?api_key=",
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.fastforex.io/fetch-matrix?api_key="
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.fastforex.io/fetch-matrix?api_key=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fastforex.io/fetch-matrix?api_key=")
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{
"from": [
"USD",
"CHF",
"ZAR",
"AED"
],
"to": [
"USD",
"GBP",
"JPY",
"CNY"
],
"matrix": {
"USD": {
"GBP": 0.742104,
"JPY": 158.256,
"CNY": 6.6682,
"USD": 1
},
"CHF": {
"USD": 1.2256,
"GBP": 0.909537,
"JPY": 193.964,
"CNY": 8.1729
},
"ZAR": {
"USD": 0.0610967,
"GBP": 0.0453401,
"JPY": 9.66907,
"CNY": 0.40733
},
"AED": {
"USD": 0.27223,
"GBP": 0.202074,
"JPY": 43.0919,
"CNY": 1.8153
}
},
"updated": "2026-11-05T09:24:22Z",
"calls": 16,
"ms": 8
}Query Parameters
Response
Success