curl --request GET \
--url 'https://api.moonpay.com/v3/ip_address?apiKey='{
"alpha2": "GB",
"alpha3": "GBR",
"country": "United Kingdom",
"state": "",
"ipAddress": "81.152.178.191",
"isAllowed": true,
"isBuyAllowed": true,
"isSellAllowed": true,
"isNftAllowed": true
}Returns information about an IP address. If the isAllowed flag is set to false, it means that MoonPay accepts citizens of this country but not residents.
curl --request GET \
--url 'https://api.moonpay.com/v3/ip_address?apiKey='{
"alpha2": "GB",
"alpha3": "GBR",
"country": "United Kingdom",
"state": "",
"ipAddress": "81.152.178.191",
"isAllowed": true,
"isBuyAllowed": true,
"isSellAllowed": true,
"isNftAllowed": true
}Documentation Index
Fetch the complete documentation index at: https://dev.moonpay.com/llms.txt
Use this file to discover all available pages before exploring further.
Show child attributes
Successful response — IP Address details
The country's ISO 3166-1 alpha-2 code.
"GB"
The country's ISO 3166-1 alpha-3 code.
"GBR"
The IP address country.
"United Kingdom"
The IP address state or region or empty if not applicable.
""
The IPv4 or IPv6 address of the caller
"81.152.178.191"
Whether residents of this country can use the service.
true
Whether residents of this country can buy cryptocurrencies.
true
Whether residents of this country can sell cryptocurrencies.
true
Whether residents of this country can buy NFTs.
true