Pricing

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. Primary-law 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.

Read unit before you read a price

Most rows are unit: "credit", billed in USD from your API credit balance. The /translation/* rows are unit: "page": they spend translation pages from a separate pool, bought in INR, and their usdCost is 0 because there is no USD price for a page. A 0 on a page row does not mean the call is free. Budget those rows from credits, which counts pages, and from the pack prices on GET /api/v1/translate/billing/packs.

Example

curl https://api.vaquill.ai/api/v1/api-credits/pricing
get/api/v1/api-credits/pricing

Request

Query parameters

region'US' | 'IN' nullable

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.

Response

Pricing matrix returned successfully

dollarPerCreditnumber required

USD cost per 1 credit (0.01 means 1 credit = $0.01).

minCreditsnumber required

Minimum credits per purchase.

maxCreditsnumber required

Maximum credits per purchase.

Example response

{
  "dollarPerCredit": 0.01,
  "minCredits": 500,
  "maxCredits": 1000000,
  "costs": [
    {
      "endpoint": "/us/statutes/search",
      "operation": "US Statutes Search",
      "credits": 4,
      "unit": "credit",
      "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"
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.