curl --request GET \
--url https://purps.lol/api/v2/redirects/{mint} \
--header 'X-Helius-Key: <x-helius-key>'import requests
url = "https://purps.lol/api/v2/redirects/{mint}"
headers = {"X-Helius-Key": "<x-helius-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Helius-Key': '<x-helius-key>'}};
fetch('https://purps.lol/api/v2/redirects/{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/v2/redirects/{mint}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Helius-Key: <x-helius-key>"
],
]);
$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/v2/redirects/{mint}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Helius-Key", "<x-helius-key>")
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/v2/redirects/{mint}")
.header("X-Helius-Key", "<x-helius-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://purps.lol/api/v2/redirects/{mint}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Helius-Key"] = '<x-helius-key>'
response = http.request(request)
puts response.read_body{
"ok": true,
"data": {
"mint": "<string>",
"name": "<string>",
"symbol": "<string>",
"imageUrl": "<string>",
"creator": "<string>",
"feeWallet": "<string>",
"redirected": true,
"strategy": {},
"feeShareBps": 123,
"registered": true,
"url": "<string>"
}
}{
"ok": true,
"error": "<string>",
"code": "invalid_request",
"retryable": true,
"retryAfterSeconds": 123
}{
"ok": true,
"error": "<string>",
"code": "invalid_request",
"retryable": true,
"retryAfterSeconds": 123
}{
"ok": true,
"error": "<string>",
"code": "invalid_request",
"retryable": true,
"retryAfterSeconds": 123
}Check a pump.fun coin
Whether a pump.fun coin’s creator fees already point at its PURPS wallet, who its creator is, and whether it’s registered here. feeWallet is the address its fees must go to. After a launch built with strategy, registered turns true once we’ve attached it. On top of the per-address limit, 40 different coins a minute across every caller; past that it’s a 429 for a moment. Cached 30 seconds at the edge: polling faster returns the same answer, and repeats inside the window don’t count against your limit.
curl --request GET \
--url https://purps.lol/api/v2/redirects/{mint} \
--header 'X-Helius-Key: <x-helius-key>'import requests
url = "https://purps.lol/api/v2/redirects/{mint}"
headers = {"X-Helius-Key": "<x-helius-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Helius-Key': '<x-helius-key>'}};
fetch('https://purps.lol/api/v2/redirects/{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/v2/redirects/{mint}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Helius-Key: <x-helius-key>"
],
]);
$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/v2/redirects/{mint}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Helius-Key", "<x-helius-key>")
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/v2/redirects/{mint}")
.header("X-Helius-Key", "<x-helius-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://purps.lol/api/v2/redirects/{mint}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Helius-Key"] = '<x-helius-key>'
response = http.request(request)
puts response.read_body{
"ok": true,
"data": {
"mint": "<string>",
"name": "<string>",
"symbol": "<string>",
"imageUrl": "<string>",
"creator": "<string>",
"feeWallet": "<string>",
"redirected": true,
"strategy": {},
"feeShareBps": 123,
"registered": true,
"url": "<string>"
}
}{
"ok": true,
"error": "<string>",
"code": "invalid_request",
"retryable": true,
"retryAfterSeconds": 123
}{
"ok": true,
"error": "<string>",
"code": "invalid_request",
"retryable": true,
"retryAfterSeconds": 123
}{
"ok": true,
"error": "<string>",
"code": "invalid_request",
"retryable": true,
"retryAfterSeconds": 123
}Headers
Your own Helius API key; a free one from helius.dev is enough. This call reads Solana on demand and does so on your key, not ours. Missing: a 401 with code helius_key_required. Refused by Helius: a 401 with code helius_key_rejected.
Path Parameters
The token's mint address (Solana) or contract address (Robinhood Chain).