Skip to main content
GET
/
invite-history
invite-history
curl --request GET \
  --url https://api.jup.ag/send/v1/invite-history \
  --header 'x-api-key: <api-key>'
import requests

url = "https://api.jup.ag/send/v1/invite-history"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.jup.ag/send/v1/invite-history', 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://api.jup.ag/send/v1/invite-history",
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-api-key: <api-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://api.jup.ag/send/v1/invite-history"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-api-key", "<api-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://api.jup.ag/send/v1/invite-history")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.jup.ag/send/v1/invite-history")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "invites": [
    {
      "invite_signer": "7nE9GJoYHNmtaQvTQpota3KV2oz4pQ2dA6nvYK8EUJHV",
      "invite_pda": "8mF4HKoPQNmtbRvTRqotb4LW3pz5rR3eB7owZL9FVKIW",
      "sender": "BQ72nSv9f3PRyRKCBnHLVrerrv37CYTHm5h3s9VSGQDV",
      "expiry": "2025-03-22T10:30:00.000Z",
      "amount": "1000000",
      "creation_tx": "4xKpN2...",
      "deletion_tx": "5yLqO3...",
      "receiver": "9pG5ILqRSOnucCwUSRspuc5MV4pR4sD8fC8qxNL0GWJX",
      "action": "claimed",
      "creation_time": "2025-03-15T10:30:00.000Z",
      "deletion_time": "2025-03-16T08:15:00.000Z",
      "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "confirmed": true
    }
  ],
  "hasMoreData": false
}
{
"error": "<string>"
}
{
"error": "<string>"
}

Authorizations

x-api-key
string
header
required

Query Parameters

address
string
required
  • Pubkey can be sender or recipient
page
integer
default:1
  • Pagination of response
Required range: x >= 1

Response

Successful response

invites
object[]
required
hasMoreData
boolean
required