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
- Go to account.quantaprice.com
- Click Sign in to begin the registration process
- Enter your email address
- 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:
- In the Account Portal, click Request Tenant
- 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
- Select a tier based on your expected usage
- Select a region for data residency
- 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:
- Go to your tenant's Users section
- Click Invite User
- Enter their email address and assign a role
Create API Keys
To interact with the Quantaprice API, you'll need an API key:
- Go to your tenant's API Keys section
- Click Create API Key
- Give it a descriptive name (e.g., "Production Server")
- 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
- Understand the Key Concepts behind the platform
- Explore the Pricing documentation
- Review the Glossary for key terminology
- Set up your Authentication for production use