"https://crypto-news-live11.p.rapidapi.com/news/bitcoin?per_page=5&page=1", CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "X-RapidAPI-Host: crypto-news-live11.p.rapidapi.com", "X-RapidAPI-Key: ef3e08d043msh728552f250d3cf1p1f2d53jsn07609c5a2514" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
const settings = {
	"async": true,
	"crossDomain": true,
	"url": "https://crypto-news-live11.p.rapidapi.com/news/bitcoin?per_page=5&page=1",
	"method": "GET",
	"headers": {
		"X-RapidAPI-Key": "ef3e08d043msh728552f250d3cf1p1f2d53jsn07609c5a2514",
		"X-RapidAPI-Host": "crypto-news-live11.p.rapidapi.com"
	}
};

$.ajax(settings).done(function (response) {
	console.log(response);
});
"https://crypto-news-live11.p.rapidapi.com/news/bitcoin?per_page=5&page=1", CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "X-RapidAPI-Host: crypto-news-live11.p.rapidapi.com", "X-RapidAPI-Key: ef3e08d043msh728552f250d3cf1p1f2d53jsn07609c5a2514" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
Join Our Monthly Newsletters

Subscribe to our newsletter and stand a chance to win up to 21,000 SATS in our monthly draws.