One coin
curl --request GET \
--url https://purps.lol/api/v1/coins/{mint}import requests
url = "https://purps.lol/api/v1/coins/{mint}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://purps.lol/api/v1/coins/{mint}', 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/{mint}",
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/{mint}"
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/{mint}")
.asString();require 'uri'
require 'net/http'
url = URI("https://purps.lol/api/v1/coins/{mint}")
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": {
"mint": "<string>",
"chain": "solana",
"origin": "launchpad",
"name": "<string>",
"symbol": "<string>",
"imageUrl": "<string>",
"status": "<string>",
"createdAt": "<string>",
"url": "<string>",
"marketCapUsd": 123,
"circulatingSupply": 123,
"tokenSupply": 123,
"holders": 123,
"links": {
"twitter": "<string>",
"telegram": "<string>",
"website": "<string>"
},
"pair": {
"address": "<string>",
"symbol": "<string>",
"decimals": 123
},
"wallets": {
"solana": "<string>",
"hyperliquid": "<string>",
"robinhood": "<string>"
},
"strategy": {
"preset": "<string>",
"rewardMode": "burn",
"split": {
"buybackBps": 123,
"marginBps": 123,
"reserveBps": 123
},
"legs": [
{
"market": "<string>",
"direction": "long",
"leverage": 123
}
],
"payout": {
"mint": "<string>",
"mint2": "<string>"
},
"holderMinimumUsd": 123
},
"accounting": {
"unit": "<string>",
"feesClaimed": 123,
"boughtBack": 123,
"buybackQueued": 123,
"reserve": 123,
"tokensBurned": 123,
"tokensPaidOut": 123,
"marginDepositedUsd": 123,
"pendingProfitUsd": 123,
"realizedProfitUsd": 123,
"profitWithdrawnUsd": 123
},
"positions": [
{
"market": "<string>",
"side": "long",
"status": "<string>",
"size": 123,
"entryPrice": 123,
"leverage": 123,
"collateralUsd": 123,
"liquidationPrice": 123,
"unrealizedPnlUsd": 123,
"roe": 123,
"realizedPnlUsd": 123
}
],
"payoutsPaid": [
{}
],
"activity": [
{
"id": "<string>",
"type": "<string>",
"status": "<string>",
"amount": 123,
"asset": "<string>",
"txHash": "<string>",
"at": "<string>",
"detail": {}
}
],
"launch": {
"mint": "<string>",
"name": "<string>",
"symbol": "<string>",
"imageUrl": "<string>",
"status": "pending",
"venue": "dbc",
"quote": {
"mint": "<string>",
"symbol": "<string>",
"iconUrl": "<string>"
},
"priceQuote": 123,
"curvePct": 123,
"raisedQuote": 123,
"devBuyQuote": 123,
"fees": {
"preset": "<string>",
"platformPpm": 123,
"creatorPpm": 123,
"creatorBps": 123
},
"creatorWallet": "<string>",
"feeWallet": "<string>",
"airdrop": {
"potQuote": 123,
"paidQuote": 123,
"lastAt": "<string>"
},
"migratedAt": "<string>",
"createdAt": "<string>",
"url": "<string>"
},
"prices": {
"solUsd": 123,
"quoteUsd": 123
}
}
}{
"ok": true,
"error": "<string>"
}{
"ok": true,
"error": "<string>"
}Coins
One coin
Everything the coin page shows: identity, market cap, holders, links, the strategy it runs, its books, open perp positions, the last 40 events on its timeline and its launch if it came from purps.lol.
GET
/
coins
/
{mint}
One coin
curl --request GET \
--url https://purps.lol/api/v1/coins/{mint}import requests
url = "https://purps.lol/api/v1/coins/{mint}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://purps.lol/api/v1/coins/{mint}', 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/{mint}",
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/{mint}"
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/{mint}")
.asString();require 'uri'
require 'net/http'
url = URI("https://purps.lol/api/v1/coins/{mint}")
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": {
"mint": "<string>",
"chain": "solana",
"origin": "launchpad",
"name": "<string>",
"symbol": "<string>",
"imageUrl": "<string>",
"status": "<string>",
"createdAt": "<string>",
"url": "<string>",
"marketCapUsd": 123,
"circulatingSupply": 123,
"tokenSupply": 123,
"holders": 123,
"links": {
"twitter": "<string>",
"telegram": "<string>",
"website": "<string>"
},
"pair": {
"address": "<string>",
"symbol": "<string>",
"decimals": 123
},
"wallets": {
"solana": "<string>",
"hyperliquid": "<string>",
"robinhood": "<string>"
},
"strategy": {
"preset": "<string>",
"rewardMode": "burn",
"split": {
"buybackBps": 123,
"marginBps": 123,
"reserveBps": 123
},
"legs": [
{
"market": "<string>",
"direction": "long",
"leverage": 123
}
],
"payout": {
"mint": "<string>",
"mint2": "<string>"
},
"holderMinimumUsd": 123
},
"accounting": {
"unit": "<string>",
"feesClaimed": 123,
"boughtBack": 123,
"buybackQueued": 123,
"reserve": 123,
"tokensBurned": 123,
"tokensPaidOut": 123,
"marginDepositedUsd": 123,
"pendingProfitUsd": 123,
"realizedProfitUsd": 123,
"profitWithdrawnUsd": 123
},
"positions": [
{
"market": "<string>",
"side": "long",
"status": "<string>",
"size": 123,
"entryPrice": 123,
"leverage": 123,
"collateralUsd": 123,
"liquidationPrice": 123,
"unrealizedPnlUsd": 123,
"roe": 123,
"realizedPnlUsd": 123
}
],
"payoutsPaid": [
{}
],
"activity": [
{
"id": "<string>",
"type": "<string>",
"status": "<string>",
"amount": 123,
"asset": "<string>",
"txHash": "<string>",
"at": "<string>",
"detail": {}
}
],
"launch": {
"mint": "<string>",
"name": "<string>",
"symbol": "<string>",
"imageUrl": "<string>",
"status": "pending",
"venue": "dbc",
"quote": {
"mint": "<string>",
"symbol": "<string>",
"iconUrl": "<string>"
},
"priceQuote": 123,
"curvePct": 123,
"raisedQuote": 123,
"devBuyQuote": 123,
"fees": {
"preset": "<string>",
"platformPpm": 123,
"creatorPpm": 123,
"creatorBps": 123
},
"creatorWallet": "<string>",
"feeWallet": "<string>",
"airdrop": {
"potQuote": 123,
"paidQuote": 123,
"lastAt": "<string>"
},
"migratedAt": "<string>",
"createdAt": "<string>",
"url": "<string>"
},
"prices": {
"solUsd": 123,
"quoteUsd": 123
}
}
}{
"ok": true,
"error": "<string>"
}{
"ok": true,
"error": "<string>"
}