This endpoint is useful for displaying the top 20 weekly paying faucet data.
GEThttps://zexpay.io/api/v1/faucets-list/| Name | Required | Type | Info |
|---|---|---|---|
| No parameters are required. | |||
Example<?php $api_key = 'YOUR_FAUCET_API_KEY'; $url = 'https://zexpay.io/api/v1/faucets-list/'; $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 "Faucets List" 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" : [ { "name" : "My Faucet", "desc" : "My Faucet Descriptions", "url" : "https://myfaucet.com/", "currency" : ["BTC", "ETH", "BNB"], "category" : ["faucet", "games", "application"], "add_date" : "2025-12-20 00:00:00", "pay_week" : 20.1234, "pay_day" : 0.4321, "pay_cur" : "USD" }, { "name" : "My Faucet 2", "desc" : "My Faucet 2 Descriptions", "url" : "https://myfaucet2.com/", "currency" : ["BTC", "ETH", "BNB"], "category" : ["faucet", "games", "application"], "add_date" : "2025-12-20 00:00:00", "pay_week" : 20.1234, "pay_day" : 0.4321, "pay_cur" : "USD" } ] }
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. |
| 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" : 401, "error" : true, "message" : "Invalid API Key.", "data" : null }
