Skip to main content
GET
/
v3
/
currencies
/
{currencyCode}
/
limits
Get Crypto Currency limits
curl --request GET \
  --url 'https://api.moonpay.com/v3/currencies/{currencyCode}/limits?apiKey='
import requests

url = "https://api.moonpay.com/v3/currencies/{currencyCode}/limits?apiKey="

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.moonpay.com/v3/currencies/{currencyCode}/limits?apiKey=', 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.moonpay.com/v3/currencies/{currencyCode}/limits?apiKey=",
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.moonpay.com/v3/currencies/{currencyCode}/limits?apiKey="

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.moonpay.com/v3/currencies/{currencyCode}/limits?apiKey=")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.moonpay.com/v3/currencies/{currencyCode}/limits?apiKey=")

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
{
  "quoteCurrency": {
    "code": "btc",
    "minBuyAmount": 0.00056,
    "maxBuyAmount": 0.20994
  },
  "baseCurrency": {
    "code": "gbp",
    "minBuyAmount": 30,
    "maxBuyAmount": 9000
  },
  "paymentMethod": "credit_debit_card"
}
{
"message": "<string>",
"type": "<string>"
}

Authorizations

apiKey
string
query
required

Path Parameters

currencyCode
string
required

The code of the cryptocurrency of interest from the currencies list with type=crypto

Query Parameters

query
object
required

Response

Successful response — Crypto Currency limits

quoteCurrency
object
baseCurrency
object
paymentMethod
enum<string>

The transaction's payment method.

Available options:
ach_bank_transfer,
credit_debit_card,
paypal,
gbp_bank_transfer,
gbp_open_banking_payment,
pix_instant_payment,
sepa_bank_transfer
Example:

"credit_debit_card"