48-hour Pro pass status and eligibility
curl --request GET \
--url https://api.ironflow.sh/v1/billing/pro-pass \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ironflow.sh/v1/billing/pro-pass"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ironflow.sh/v1/billing/pro-pass', 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.ironflow.sh/v1/billing/pro-pass",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.ironflow.sh/v1/billing/pro-pass"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.ironflow.sh/v1/billing/pro-pass")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ironflow.sh/v1/billing/pro-pass")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"eligible": true,
"hours": 48,
"gives": "Liquidation Pressure, Opening Bell, Flow Ahead, Pain Map and Flow alerts in real time, the live signal stream (GET /v1/signals/stream) and signal alerts (POST /v1/alerts with signal), for 48 hours. Credits, rate limits and history stay your plan's.",
"start": "POST https://api.ironflow.sh/v1/billing/pro-pass",
"pass": null,
"links": {
"signals": "https://ironflow.sh/signals",
"pain_map": "https://ironflow.sh/liquidations/map?layer=pain",
"docs": "https://docs.ironflow.sh/api-reference/signals/pain-map",
"stream": "GET https://api.ironflow.sh/v1/signals/stream",
"buy_pro": "https://ironflow.sh/upgrade?plan=pro&utm_source=api&utm_medium=pro_pass&checkout=ck_...",
"buy_pro_yearly": "https://ironflow.sh/upgrade?plan=pro-12m&utm_source=api&utm_medium=pro_pass&checkout=ck_..."
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Retry after 60 seconds."
}
}Keys and billing
48-hour Pro trial status
GET /v1/billing/pro-pass says whether a key’s account may start the 48-hour Pro trial it was invited to, why not, and when a running trial ends.
GET
/
v1
/
billing
/
pro-pass
48-hour Pro pass status and eligibility
curl --request GET \
--url https://api.ironflow.sh/v1/billing/pro-pass \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ironflow.sh/v1/billing/pro-pass"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ironflow.sh/v1/billing/pro-pass', 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.ironflow.sh/v1/billing/pro-pass",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.ironflow.sh/v1/billing/pro-pass"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.ironflow.sh/v1/billing/pro-pass")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ironflow.sh/v1/billing/pro-pass")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"eligible": true,
"hours": 48,
"gives": "Liquidation Pressure, Opening Bell, Flow Ahead, Pain Map and Flow alerts in real time, the live signal stream (GET /v1/signals/stream) and signal alerts (POST /v1/alerts with signal), for 48 hours. Credits, rate limits and history stay your plan's.",
"start": "POST https://api.ironflow.sh/v1/billing/pro-pass",
"pass": null,
"links": {
"signals": "https://ironflow.sh/signals",
"pain_map": "https://ironflow.sh/liquidations/map?layer=pain",
"docs": "https://docs.ironflow.sh/api-reference/signals/pain-map",
"stream": "GET https://api.ironflow.sh/v1/signals/stream",
"buy_pro": "https://ironflow.sh/upgrade?plan=pro&utm_source=api&utm_medium=pro_pass&checkout=ck_...",
"buy_pro_yearly": "https://ironflow.sh/upgrade?plan=pro-12m&utm_source=api&utm_medium=pro_pass&checkout=ck_..."
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Retry after 60 seconds."
}
}Authorizations
Ironflow API key, format if_xxxx. Free keys at https://ironflow.sh/key. Optional on read endpoints.
Response
The account's pass standing.