curl --request GET \
--url https://api.vaquill.ai/api/v1/in/api-credits/pricing \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/in/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/in/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/in/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": "Hybrid semantic + keyword search across the United States Code (USC), Code of Federal Regulations (CFR), and supported state statutory codes.",
"category": "statutes",
"regions": [
"US"
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get India API credit pricing
Credit-to-price conversion rate and per-endpoint costs for the India legislation surface (/in/acts/*).
No authentication required. 1 credit = $0.01 USD, billed in USD.
Pass ?region=US to price the United States primary-law surface instead: it is the same credit balance and the same key.
curl --request GET \
--url https://api.vaquill.ai/api/v1/in/api-credits/pricing \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/in/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/in/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/in/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": "Hybrid semantic + keyword search across the United States Code (USC), Code of Federal Regulations (CFR), and supported state statutory codes.",
"category": "statutes",
"regions": [
"US"
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API key issued from the developer dashboard. Pass as Authorization: Bearer vq_key_...
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
Successful Response
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?

