Renew Snapshot Subscriptions
curl --request POST \
--url https://api.octav.fi/v1/snapshot-subscriptions/renew \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"addresses": [
"0x6426af179aabebe47666f345d69fd9079673f6cd",
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
]
}
'import requests
url = "https://api.octav.fi/v1/snapshot-subscriptions/renew"
payload = { "addresses": ["0x6426af179aabebe47666f345d69fd9079673f6cd", "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
addresses: [
'0x6426af179aabebe47666f345d69fd9079673f6cd',
'0xd8da6bf26964af9d7eed9e03e53415d37aa96045'
]
})
};
fetch('https://api.octav.fi/v1/snapshot-subscriptions/renew', 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.octav.fi/v1/snapshot-subscriptions/renew",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'addresses' => [
'0x6426af179aabebe47666f345d69fd9079673f6cd',
'0xd8da6bf26964af9d7eed9e03e53415d37aa96045'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.octav.fi/v1/snapshot-subscriptions/renew"
payload := strings.NewReader("{\n \"addresses\": [\n \"0x6426af179aabebe47666f345d69fd9079673f6cd\",\n \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.octav.fi/v1/snapshot-subscriptions/renew")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"addresses\": [\n \"0x6426af179aabebe47666f345d69fd9079673f6cd\",\n \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.octav.fi/v1/snapshot-subscriptions/renew")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"addresses\": [\n \"0x6426af179aabebe47666f345d69fd9079673f6cd\",\n \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"address": "0x6426af179aabebe47666f345d69fd9079673f6cd",
"description": "Main Treasury",
"subscriptionStartDate": "2025-12-01T09:30:00.000Z",
"subscriptionEndDate": "2027-12-01T09:30:00.000Z",
"autoRenew": true
},
{
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"description": "Cold Wallet",
"subscriptionStartDate": "2025-10-20T11:00:00.000Z",
"subscriptionEndDate": "2027-11-11T10:02:37.000Z",
"autoRenew": false
}
]
}{
"error": {
"code": "SNAPSHOTS_NOT_RENEWABLE",
"message": "Some addresses cannot be renewed: 0xe760ad8df0a54aafd95e3bc271b65d224abeaa57 (not_yet_renewable), 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM (license)",
"rejected": [
{
"address": "0xe760ad8df0a54aafd95e3bc271b65d224abeaa57",
"reason": "not_yet_renewable"
},
{
"address": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"reason": "license"
}
]
}
}{
"message": "Unauthorized"
}{
"error": {
"code": "NOT_ENOUGH_CREDITS",
"message": "Not enough credits to renew / create snapshots"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "Error while renewing snapshot subscriptions"
}
}Snapshot Subscriptions
Renew Snapshot Subscriptions
Renew subscriptions for another year. A subscription can be renewed once it has expired or within 2 months of its end date. Renewing adds a year to the current end date, or a year from today once expired; the start date and the auto-renew setting are unchanged. If any address cannot be renewed, the whole request is rejected with 400 SNAPSHOTS_NOT_RENEWABLE, listing each address and its reason in rejected, and nothing is charged.
Cost: 1,200 credits per address.
Rate limit: 360 req/min
Get your API key: Dev Portal
POST
/
snapshot-subscriptions
/
renew
Renew Snapshot Subscriptions
curl --request POST \
--url https://api.octav.fi/v1/snapshot-subscriptions/renew \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"addresses": [
"0x6426af179aabebe47666f345d69fd9079673f6cd",
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
]
}
'import requests
url = "https://api.octav.fi/v1/snapshot-subscriptions/renew"
payload = { "addresses": ["0x6426af179aabebe47666f345d69fd9079673f6cd", "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
addresses: [
'0x6426af179aabebe47666f345d69fd9079673f6cd',
'0xd8da6bf26964af9d7eed9e03e53415d37aa96045'
]
})
};
fetch('https://api.octav.fi/v1/snapshot-subscriptions/renew', 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.octav.fi/v1/snapshot-subscriptions/renew",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'addresses' => [
'0x6426af179aabebe47666f345d69fd9079673f6cd',
'0xd8da6bf26964af9d7eed9e03e53415d37aa96045'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.octav.fi/v1/snapshot-subscriptions/renew"
payload := strings.NewReader("{\n \"addresses\": [\n \"0x6426af179aabebe47666f345d69fd9079673f6cd\",\n \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.octav.fi/v1/snapshot-subscriptions/renew")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"addresses\": [\n \"0x6426af179aabebe47666f345d69fd9079673f6cd\",\n \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.octav.fi/v1/snapshot-subscriptions/renew")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"addresses\": [\n \"0x6426af179aabebe47666f345d69fd9079673f6cd\",\n \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"address": "0x6426af179aabebe47666f345d69fd9079673f6cd",
"description": "Main Treasury",
"subscriptionStartDate": "2025-12-01T09:30:00.000Z",
"subscriptionEndDate": "2027-12-01T09:30:00.000Z",
"autoRenew": true
},
{
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"description": "Cold Wallet",
"subscriptionStartDate": "2025-10-20T11:00:00.000Z",
"subscriptionEndDate": "2027-11-11T10:02:37.000Z",
"autoRenew": false
}
]
}{
"error": {
"code": "SNAPSHOTS_NOT_RENEWABLE",
"message": "Some addresses cannot be renewed: 0xe760ad8df0a54aafd95e3bc271b65d224abeaa57 (not_yet_renewable), 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM (license)",
"rejected": [
{
"address": "0xe760ad8df0a54aafd95e3bc271b65d224abeaa57",
"reason": "not_yet_renewable"
},
{
"address": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"reason": "license"
}
]
}
}{
"message": "Unauthorized"
}{
"error": {
"code": "NOT_ENOUGH_CREDITS",
"message": "Not enough credits to renew / create snapshots"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "Error while renewing snapshot subscriptions"
}
}Authorizations
Body
application/json
Was this page helpful?