List coins
curl --request GET \
--url https://purps.lol/api/v1/coinsimport requests
url = "https://purps.lol/api/v1/coins"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://purps.lol/api/v1/coins', 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://purps.lol/api/v1/coins",
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://purps.lol/api/v1/coins"
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://purps.lol/api/v1/coins")
.asString();require 'uri'
require 'net/http'
url = URI("https://purps.lol/api/v1/coins")
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{
"ok": true,
"data": {
"total": 123,
"offset": 123,
"limit": 123,
"flagshipMint": "<string>",
"items": [
{
"mint": "<string>",
"chain": "solana",
"origin": "launchpad",
"name": "<string>",
"symbol": "<string>",
"imageUrl": "<string>",
"status": "<string>",
"createdAt": "<string>",
"url": "<string>",
"marketCapUsd": 123,
"holders": 123,
"rewardMode": "burn",
"feeShareBps": 123,
"legs": [
{
"market": "<string>",
"direction": "long",
"leverage": 123
}
],
"openPositions": 123,
"accounting": {
"unit": "<string>",
"feesClaimed": 123,
"boughtBack": 123,
"buybackQueued": 123,
"reserve": 123,
"tokensBurned": 123,
"tokensPaidOut": 123,
"marginDepositedUsd": 123,
"pendingProfitUsd": 123,
"realizedProfitUsd": 123,
"profitWithdrawnUsd": 123
},
"launch": {
"quote": {
"mint": "<string>",
"symbol": "<string>"
},
"curvePct": 123,
"migrated": true,
"raisedQuote": 123,
"paysHolders": true,
"airdrop": {
"potQuote": 123,
"paidQuote": 123,
"payouts": 123,
"lastAt": "<string>",
"lastHolders": 123
}
}
}
]
}
}{
"ok": true,
"error": "<string>"
}Coins
List coins
Every visible coin on the platform, one page at a time. The same list the /coins page draws, in the same order.
GET
/
coins
List coins
curl --request GET \
--url https://purps.lol/api/v1/coinsimport requests
url = "https://purps.lol/api/v1/coins"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://purps.lol/api/v1/coins', 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://purps.lol/api/v1/coins",
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://purps.lol/api/v1/coins"
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://purps.lol/api/v1/coins")
.asString();require 'uri'
require 'net/http'
url = URI("https://purps.lol/api/v1/coins")
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{
"ok": true,
"data": {
"total": 123,
"offset": 123,
"limit": 123,
"flagshipMint": "<string>",
"items": [
{
"mint": "<string>",
"chain": "solana",
"origin": "launchpad",
"name": "<string>",
"symbol": "<string>",
"imageUrl": "<string>",
"status": "<string>",
"createdAt": "<string>",
"url": "<string>",
"marketCapUsd": 123,
"holders": 123,
"rewardMode": "burn",
"feeShareBps": 123,
"legs": [
{
"market": "<string>",
"direction": "long",
"leverage": 123
}
],
"openPositions": 123,
"accounting": {
"unit": "<string>",
"feesClaimed": 123,
"boughtBack": 123,
"buybackQueued": 123,
"reserve": 123,
"tokensBurned": 123,
"tokensPaidOut": 123,
"marginDepositedUsd": 123,
"pendingProfitUsd": 123,
"realizedProfitUsd": 123,
"profitWithdrawnUsd": 123
},
"launch": {
"quote": {
"mint": "<string>",
"symbol": "<string>"
},
"curvePct": 123,
"migrated": true,
"raisedQuote": 123,
"paysHolders": true,
"airdrop": {
"potQuote": 123,
"paidQuote": 123,
"payouts": 123,
"lastAt": "<string>",
"lastHolders": 123
}
}
}
]
}
}{
"ok": true,
"error": "<string>"
}Query Parameters
Order of the list.
Available options:
mcap, earnings, burned, fees, buyback, active, newest How many coins to skip.
Required range:
x >= 0Page size.
Required range:
1 <= x <= 50holders keeps only coins that pay their holders.
Available options:
holders Where the coin was born: our launchpad, pump.fun through this site, or a coin that was redirected here.
Available options:
launchpad, pumpfun, redirects Which chain.
Available options:
both, solana, robinhood