Skip to main content

Getting Started with Premium API

Access the Raze.bot Portal to manage your Premium API subscription.

Open Portal

Go to my.raze.bot

Setup Steps

1

Create an Account

Visit my.raze.bot and create your account.
  • Enter your email address
  • Create a secure password
  • Verify your email
2

Choose Your API

Select the API plan that fits your needs:
  • Swap API: Quote and swap endpoints for trading
  • Data API: Trades, tokens, alerts, and sentiment data
  • Full Access: All Premium features
3

Top Up Your Account

Add funds to your account using cryptocurrency:
  • Click “Top Up” or “Add Funds”
  • Select your payment amount
  • Complete payment via Way.cash gateway
See Payment Methods for supported chains.
4

Choose Subscription

Select your subscription plan:
  • Monthly or annual billing
  • Different tiers based on usage needs
  • Upgrade or downgrade anytime
5

Generate API Key

Create your API key:
  • Navigate to “API Keys” section
  • Click “Generate New Key”
  • Copy and securely store your key
Your API key is shown only once. Store it securely!

Using Your API Key

Include your API key as a query parameter in all Premium API requests:
// Example: Get quote
const mint = 'TOKEN_MINT_ADDRESS';
const apiKey = process.env.RAZE_API_KEY;

const response = await fetch(
  `https://de.raze.sh/sol/quote/${mint}?apiKey=${apiKey}`
);
# Python example
import requests
import os

mint = 'TOKEN_MINT_ADDRESS'
api_key = os.getenv('RAZE_API_KEY')

response = requests.get(
    f'https://de.raze.sh/sol/quote/{mint}',
    params={'apiKey': api_key}
)

API Key Security

Keep your API key secure. Never share it or expose it in client-side code.
Best practices:
  • Store in environment variables
  • Never commit to version control
  • Rotate keys periodically
  • Use separate keys for development and production

Managing Your Subscription

In the portal you can:
  • View usage statistics
  • Upgrade or downgrade plans
  • Add additional API keys
  • View billing history
  • Cancel subscription

Need Help?