API Documentation
Access real-time cryptocurrency news and market data through our powerful REST API. Built for developers, traders, and analysts who need reliable crypto intelligence.
Getting Started
The Cryptazation API provides programmatic access to cryptocurrency news, market sentiment, and analytics data. All API endpoints return JSON responses and support standard HTTP methods.
Base URL
https://api.cryptazation.com/v1
Quick Example
curl -X GET "https://api.cryptazation.com/v1/news" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
Authentication
All API requests require authentication using an API key. Include your API key in the Authorization header as a Bearer token.
Getting Your API Key
- Sign up for a Cryptazation account
- Navigate to your Dashboard Settings
- Go to the API Keys section
- Generate a new API key
Authentication Header
Authorization: Bearer your-api-key-here
Example Usage
const response = await fetch('https://api.cryptazation.com/v1/news', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});
const data = await response.json();
Rate Limits
Rate limits vary by subscription plan to ensure fair usage and optimal performance for all users.
Free Tier
100
requests per hour
Pro Plan
5,000
requests per hour
Premium Plan
25,000
requests per hour
Rate Limit Headers
Every API response includes headers with your current rate limit status:
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
X-RateLimit-Reset: 1640995200
API Endpoints
📰 News Endpoints
/news
Retrieve the latest cryptocurrency news articles with filtering options.
Query Parameters
limit
- Number of articles (max 100, default 20)category
- Filter by category (bitcoin, ethereum, defi, etc.)sentiment
- Filter by sentiment (positive, negative, neutral)from
- Start date (ISO 8601 format)to
- End date (ISO 8601 format){
"success": true,
"data": [
{
"id": "news-12345",
"title": "Bitcoin Reaches New All-Time High",
"summary": "Bitcoin surged past $75,000 mark amid institutional adoption...",
"url": "https://example.com/bitcoin-ath",
"publishedAt": "2024-01-15T10:30:00Z",
"sentiment": "positive",
"category": "bitcoin",
"source": {
"name": "Crypto Daily",
"url": "https://cryptodaily.com"
}
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 150,
"pages": 8
}
}
Error Handling
The API uses standard HTTP status codes and returns detailed error information in JSON format.
Error Response Format
{
"success": false,
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "API rate limit exceeded. Please try again later.",
"details": {
"limit": 100,
"remaining": 0,
"resetAt": "2024-01-15T11:00:00Z"
}
}
}
Common Status Codes
Need Help?
Our developer support team is here to help you integrate the Cryptazation API.