curl --request GET \
--url https://api.vaquill.ai/api/v1/api-credits/pricing \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/api-credits/pricing"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vaquill.ai/api/v1/api-credits/pricing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vaquill.ai/api/v1/api-credits/pricing"
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))
}{
"dollarPerCredit": 0.01,
"minCredits": 500,
"maxCredits": 1000000,
"costs": [
{
"endpoint": "/us/statutes/search",
"operation": "US Statutes Search",
"credits": 4,
"usdCost": 0.04,
"description": "Search the United States Code (USC) and CFR.",
"category": "statutes",
"regions": [
"US"
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "Rate limit exceeded. Retry after 12 seconds."
}Get API credit pricing
Returns the credit-to-price conversion rate and per-endpoint credit costs.
No authentication required. This endpoint is public and rate-limited only.
1 credit = $0.01 USD. All API billing is in USD via Dodo Payments.
The response is the complete matrix: every metered endpoint in the requested
jurisdiction with its credits and usdCost, plus the free endpoints at 0.
Read it rather than hardcoding a price; this is the same source the API bills
from.
Example
curl https://api.vaquill.ai/api/v1/api-credits/pricing
curl --request GET \
--url https://api.vaquill.ai/api/v1/api-credits/pricing \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/api-credits/pricing"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vaquill.ai/api/v1/api-credits/pricing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vaquill.ai/api/v1/api-credits/pricing"
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))
}{
"dollarPerCredit": 0.01,
"minCredits": 500,
"maxCredits": 1000000,
"costs": [
{
"endpoint": "/us/statutes/search",
"operation": "US Statutes Search",
"credits": 4,
"usdCost": 0.04,
"description": "Search the United States Code (USC) and CFR.",
"category": "statutes",
"regions": [
"US"
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "Rate limit exceeded. Retry after 12 seconds."
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Jurisdiction to price. US for the United States primary-law surface, IN for the India legislation surface. Defaults to the jurisdiction of the document you are reading, so a caller who does not set it gets the prices for the endpoints that document describes and nothing else.
US, IN Response
Pricing matrix returned successfully
Full pricing information for the API credit system. USD only.
USD cost per 1 credit (0.01 means 1 credit = $0.01).
0.01
Minimum credits per purchase.
500
Maximum credits per purchase.
1000000
Per-endpoint credit costs (USD).
Show child attributes
Show child attributes
Was this page helpful?

