Get the authenticated account's credit balance
curl --request GET \
--url https://www.tryfundable.ai/api/v1/credits \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.tryfundable.ai/api/v1/credits"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.tryfundable.ai/api/v1/credits', 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://www.tryfundable.ai/api/v1/credits",
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://www.tryfundable.ai/api/v1/credits"
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://www.tryfundable.ai/api/v1/credits")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.tryfundable.ai/api/v1/credits")
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{
"success": true,
"data": {
"tier": "Free",
"is_unlimited": false,
"monthly_remaining": 0,
"purchased_remaining": 250,
"total_available": 250,
"has_included_credits": false,
"purchase_url": "https://www.tryfundable.ai/credits",
"plans_url": "https://www.tryfundable.ai/billing"
},
"meta": {
"page": 0,
"page_size": 1,
"credits_used": 0
}
}{
"error": {
"code": "AUTH_ERROR",
"message": "API key not provided",
"details": {
"help": "Please provide your API key in the Authorization header",
"format": "Bearer vg_your_api_key_here",
"example": {
"header": "Authorization: Bearer vg_your_api_key_here",
"curl": "curl -H 'Authorization: Bearer vg_your_api_key_here' https://www.tryfundable.ai/api/v1/location/search?name=san+francisco"
},
"documentation": "Visit our documentation for more information about authentication"
}
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Maximum 200 requests per minute.",
"details": {
"limit": 200,
"window": "60 seconds",
"help": "Please reduce your request frequency and try again."
}
},
"success": false
}{
"error": {
"code": "INTERNAL_SERVER_ERROR",
"message": "An unexpected error occurred",
"details": "<string>"
}
}{
"success": false,
"error": {
"code": "CREDIT_ACCOUNTING_UNAVAILABLE",
"message": "Credit accounting is temporarily unavailable. Try again shortly."
},
"statusCode": 503
}Credits
Credit Balance
Get the authenticated account’s current monthly, signup, and purchased credit balances.
GET
/
credits
Get the authenticated account's credit balance
curl --request GET \
--url https://www.tryfundable.ai/api/v1/credits \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.tryfundable.ai/api/v1/credits"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.tryfundable.ai/api/v1/credits', 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://www.tryfundable.ai/api/v1/credits",
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://www.tryfundable.ai/api/v1/credits"
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://www.tryfundable.ai/api/v1/credits")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.tryfundable.ai/api/v1/credits")
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{
"success": true,
"data": {
"tier": "Free",
"is_unlimited": false,
"monthly_remaining": 0,
"purchased_remaining": 250,
"total_available": 250,
"has_included_credits": false,
"purchase_url": "https://www.tryfundable.ai/credits",
"plans_url": "https://www.tryfundable.ai/billing"
},
"meta": {
"page": 0,
"page_size": 1,
"credits_used": 0
}
}{
"error": {
"code": "AUTH_ERROR",
"message": "API key not provided",
"details": {
"help": "Please provide your API key in the Authorization header",
"format": "Bearer vg_your_api_key_here",
"example": {
"header": "Authorization: Bearer vg_your_api_key_here",
"curl": "curl -H 'Authorization: Bearer vg_your_api_key_here' https://www.tryfundable.ai/api/v1/location/search?name=san+francisco"
},
"documentation": "Visit our documentation for more information about authentication"
}
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Maximum 200 requests per minute.",
"details": {
"limit": 200,
"window": "60 seconds",
"help": "Please reduce your request frequency and try again."
}
},
"success": false
}{
"error": {
"code": "INTERNAL_SERVER_ERROR",
"message": "An unexpected error occurred",
"details": "<string>"
}
}{
"success": false,
"error": {
"code": "CREDIT_ACCOUNTING_UNAVAILABLE",
"message": "Credit accounting is temporarily unavailable. Try again shortly."
},
"statusCode": 503
}GET /credits is free and returns the balance associated with your API key. It does
not accept a user ID or consume credits. The purchased_remaining value includes
one-time signup credits and purchased credits. For unlimited accounts,
monthly_remaining and total_available are null; check is_unlimited to
distinguish that from a zero balance.Last modified on November 6, 2026

