Skip to main content

Getting Started

This guide walks you through the steps to start using Quantaprice, from registration to making your first API call.


1. Create an Account

  1. Go to account.quantaprice.com
  2. Click Sign in to begin the registration process
  3. Enter your email address
  4. Complete the sign-in via the magic link sent to your email

Once signed in, you'll have access to the Account Portal where you can manage your tenants and API keys.


2. Request a Tenant

A tenant is your isolated Quantaprice environment. Each tenant has its own data, API keys, and configuration.

To request a new tenant:

  1. In the Account Portal, click Request Tenant
  2. Enter a slug for your tenant (e.g., acme-corp)
    • This will be used in your API endpoints
    • Use lowercase letters, numbers, and hyphens only
  3. Select a tier based on your expected usage
  4. Select a region for data residency
  5. Submit your request

Your tenant will typically be provisioned within a few minutes after request approval. You'll receive a notification when it's ready.


3. Access Your Tenant

Once your tenant is provisioned, you can:

View Tenant Details

In the Account Portal, your tenant will appear in the dashboard. Click on it to view:

  • Tenant status
  • API endpoint URL
  • User management
  • API keys

Invite Team Members

You can invite other users to your tenant:

  1. Go to your tenant's Users section
  2. Click Invite User
  3. Enter their email address and assign a role

Create API Keys

To interact with the Quantaprice API, you'll need an API key:

  1. Go to your tenant's API Keys section
  2. Click Create API Key
  3. Give it a descriptive name (e.g., "Production Server")
  4. Copy the key immediately — it's only shown once

For detailed information on API key management and usage, see the Authentication guide.


4. Make Your First API Call

With your API key ready, you can start making requests to the Quantaprice API.

Step 1: Get an Access Token

Exchange your API key for a JWT access token using OAuth2 client credentials:

curl -X POST "https://api.quantaprice.com/oauth2/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id=qp_your_key_id:your_secret"

Response:

{
"access_token": "eyJhbGciOiJSUzI1NiIs...",
"token_type": "Bearer",
"expires_in": 3600
}

Step 2: Query Prices

Use the access token to make API calls:

curl -X GET "https://api.quantaprice.com/api/v1/prices?sku=PRODUCT-001" \
-H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..." \
-H "Content-Type: application/json"

For complete details on authentication, see the Authentication guide.

For complete API documentation, see the API Reference.


Next Steps