Tools
Complete guide to crypto calculators, portfolio tracker, price alerts, comparison tools, and API endpoints.
Crypto Calculators
CoinTrail provides a suite of calculators to help users with cryptocurrency-related calculations.
CoinTrail provides a suite of calculators for cryptocurrency conversions and investment planning
Available Calculators
Crypto Converter
Convert between 500+ cryptocurrencies and 30+ fiat currencies with real-time exchange rates.
Profit Calculator
Calculate potential profits or losses based on buy price, sell price, and investment amount.
DCA Calculator
Dollar-cost averaging calculator to plan regular investment strategies.
What If Calculator
See what your investment would be worth if you had invested in a coin at a specific date.
Crypto Converter Features
The crypto converter allows instant conversion between 500+ cryptocurrencies and 30+ fiat currencies
| Feature | Description | Availability |
|---|---|---|
| Real-time Rates | Prices updated every minute | All users |
| 500+ Cryptocurrencies | All tracked coins available for conversion | All users |
| 30+ Fiat Currencies | USD, EUR, GBP, JPY, and more | All users |
| Instant Calculation | Results update as you type | All users |
| Swap Function | Quickly swap from/to currencies | All users |
| Historical Rates | Convert using past exchange rates | Premium+ |
Profit Calculator
The profit calculator (/tools/profit-calculator) helps users calculate investment returns.
Input Fields
- Buy Price - The price at which you purchased the cryptocurrency
- Sell Price - The price at which you plan to sell (or current price)
- Investment Amount - Total amount invested in your preferred currency
- Investment Fee - Optional trading fee percentage
- Exit Fee - Optional selling fee percentage
Output Results
- Total Coins - Number of coins purchased
- Total Investment - Initial investment including fees
- Exit Value - Value at sell price minus fees
- Profit/Loss - Net gain or loss amount
- ROI % - Return on investment percentage
The calculator shows gross profit. Users should consult a tax professional for accurate tax liability calculations.
Portfolio Tracker
The portfolio tracker (/portfolio) allows users to monitor their cryptocurrency holdings and track performance over time.
The portfolio tracker helps users monitor holdings, track performance, and analyze asset allocation
Portfolio Features by Plan
| Feature | Free | Premium | Pro |
|---|---|---|---|
| Number of Portfolios | 1 | 5 | Unlimited |
| Assets per Portfolio | 10 | 50 | Unlimited |
| Manual Transactions | Yes | Yes | Yes |
| Performance Charts | 7 days | 1 year | All time |
| Exchange API Sync | No | No | Yes |
| CSV Import/Export | No | Yes | Yes |
| Tax Reports | No | No | Yes |
Adding Transactions
Select Transaction Type
Choose from: Buy, Sell, Transfer In, Transfer Out, or Staking Reward.
Select Cryptocurrency
Search and select the coin from the list of available cryptocurrencies.
Enter Details
Enter quantity, price per coin, date, and optional notes or exchange name.
Add Fees (Optional)
Include any trading fees for accurate profit/loss calculations.
Portfolio Dashboard
The portfolio dashboard displays:
- Total Value - Current value of all holdings
- Total Profit/Loss - Unrealized gains or losses
- 24h Change - Portfolio performance in last 24 hours
- Allocation Chart - Pie chart showing asset distribution
- Performance Chart - Historical portfolio value over time
- Holdings Table - Detailed list of all positions
Price Alerts
The price alerts tool (/alerts) enables users to set notifications for when cryptocurrencies reach specific price targets.
Alert Types
| Alert Type | Trigger Condition | Example |
|---|---|---|
| Price Above | When price exceeds target value | BTC > $50,000 |
| Price Below | When price drops below target value | ETH < $2,000 |
| Percent Change Up | When price increases by percentage | SOL +10% in 24h |
| Percent Change Down | When price decreases by percentage | DOGE -15% in 1h |
| Volume Spike | When trading volume exceeds threshold | XRP volume > 2x average |
Notification Methods
- Email - Receive alert via email (all plans)
- Browser Push - Desktop notification when browser is open (all plans)
- SMS - Text message notification (Pro plan only)
- Webhook - Send alert data to custom URL (Pro plan only)
Alert Limits by Plan
| Plan | Active Alerts | Recurring Alerts | Notification Methods |
|---|---|---|---|
| Free | 5 | No | Email only |
| Premium | 50 | Yes | Email + Push |
| Pro | Unlimited | Yes | All methods |
Price alerts are processed every minute via cron job. There may be slight delays depending on market volatility and server load.
Comparison Tools
The comparison tool (/tools/compare) allows users to compare multiple cryptocurrencies side by side.
Compare up to 5 cryptocurrencies side by side with detailed metrics and overlaid charts
Comparison Features
- Select up to 5 coins - Compare multiple cryptocurrencies simultaneously
- Price Comparison - Current prices and historical performance
- Market Data - Market cap, volume, supply metrics
- Performance Charts - Overlaid price charts for visual comparison
- Technical Specs - Blockchain, consensus, max supply
Comparison Metrics
| Metric Category | Compared Metrics |
|---|---|
| Price Performance | Current price, 1h/24h/7d/30d/1y change, ATH, ATL |
| Market Data | Market cap, rank, 24h volume, market dominance |
| Supply | Circulating supply, total supply, max supply |
| Social | Twitter followers, Reddit subscribers, GitHub activity |
| Technical | Blockchain, consensus mechanism, launch date |
API Endpoints
CoinTrail provides a public API for accessing cryptocurrency data programmatically.
Available Endpoints
| Endpoint | Method | Description | Rate Limit |
|---|---|---|---|
/api/v1/coins |
GET | List all coins with market data | 100/min |
/api/v1/coin/{id} |
GET | Get detailed coin information | 100/min |
/api/v1/coin/{id}/history |
GET | Get historical price data | 50/min |
/api/v1/exchanges |
GET | List all exchanges | 100/min |
/api/v1/global |
GET | Get global market statistics | 100/min |
/api/v1/trending |
GET | Get trending coins | 100/min |
API Authentication
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Example Request
curl -X GET "https://yourdomain.com/api/v1/coins?per_page=10&page=1" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
Example Response
{
"status": "success",
"data": {
"coins": [
{
"id": "bitcoin",
"symbol": "BTC",
"name": "Bitcoin",
"current_price": 45234.56,
"market_cap": 876543210000,
"price_change_24h": 2.34,
"volume_24h": 23456789012
}
],
"pagination": {
"current_page": 1,
"total_pages": 100,
"per_page": 10,
"total_items": 1000
}
}
}
For complete API documentation including all parameters and response formats, see the API Integration guide.
Embeddable Widgets
CoinTrail provides embeddable widgets that website owners can add to their sites to display cryptocurrency data.
Embed cryptocurrency widgets on your website with customizable themes and parameters
Available Widgets
Price Ticker
Display real-time price for single or multiple cryptocurrencies.
Price Chart
Interactive price chart with customizable timeframes.
Converter Widget
Mini cryptocurrency converter for quick calculations.
Market Overview
Table showing top coins by market cap with key metrics.
Widget Embed Code
Each widget can be embedded using an iframe:
<iframe
src="https://yourdomain.com/widget/ticker?coin=bitcoin&theme=dark"
width="300"
height="100"
frameborder="0"
></iframe>
<iframe
src="https://yourdomain.com/widget/chart?coin=ethereum&days=7&theme=light"
width="600"
height="400"
frameborder="0"
></iframe>
Widget Parameters
| Parameter | Description | Options |
|---|---|---|
coin |
Cryptocurrency ID | bitcoin, ethereum, etc. |
theme |
Widget color theme | light, dark |
currency |
Display currency | usd, eur, gbp, etc. |
days |
Chart timeframe (charts only) | 1, 7, 30, 90, 365 |
locale |
Language/locale | en, es, de, fr, etc. |
Use the widget builder at /tools/widgets to customize and generate embed codes for your widgets.