API Documentation

Supported Crypto

This endpoint allows you to check the supported cryptocurrencies on the ZexPay.io platform. This is very useful for validating before users make withdrawals to ZexPay.io on your website.

Endpoint URL
GEThttps://zexpay.io/api/v1/get-crypto/

Parameters

Name Required Type Info
crypto Yes String The symbol of the cryptocurrency
(e.g, BTC, ETH, USDT).

Sample Codes

Example
<?php $api_key = 'YOUR_FAUCET_API_KEY'; $data = '?'.http_build_query(['crypto' => 'BTC']); $url = 'https://zexpay.io/api/v1/get-crypto/'.$data; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET'); curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'Content-Type: application/json', 'api-key: '.$api_key ]); curl_setopt($ch, CURLOPT_TIMEOUT, 10); $response = curl_exec($ch); $result = json_decode($response, true); var_dump($result); ?>

These example code snippets demonstrate how to request the "Supported Crypto" endpoint using PHP cURL. You can customize the data parameters according to your specific requirements. And below is the response you will receive:

Success Response
{ "status" : 200, "error" : false, "message" : "ok", "data" : { "code" : "BTC", "name" : "Bitcoin" } }

Statuses

Below is a list of status from this endpoint. This can be a validation material for your website:

Status Error Data Message
200 false Object The request was processed without errors.
400 true null Required fields is missing or Unacceptable parameter values.
401 true null Invalid or missing API Key.
405 true null Method not allowed, API Key profile restricts public access, or API Key profile has been banned.
Error Response
{ "status" : 400, "error" : true, "message" : "Unacceptable parameter values.", "data" : null }
ZexPay.io
Zexpay is a modern cryptocurrency microwallet platform built to power digital rewards and microtransactions for the global crypto community.
Resources
Resources
Product
Product
Our mission is to become the preferred cryptocurrency microwallet solution by delivering secure, scalable, and user-centric payment experiences. © 2026 - ZexPay.io. All rights reserved.
telegram