API Documentation

Comprehensive API documentation with endpoints, examples, and authentication details.

Quick Start

Base URL: https://api.cryptoiq.com

Authentication: Bearer token in Authorization header

curl -X GET "https://api.cryptoiq.com/api/auth/status" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"

API Endpoints

GET
/api/auth/status
Authentication
Auth Required

Get current authentication status

POST
/api/webhooks/stripe
Payments

Handle Stripe webhook events

GET
/api/performance/metrics
Performance
Auth Required

Get performance metrics and budget status

GET
/api/bursts/recent
Data
Auth Required

Get recent burst data from CryptoIQ

Error Codes

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

429

Too Many Requests

500

Internal Server Error

Rate Limiting

API requests are rate limited to ensure fair usage and system stability.

Authentication

5 attempts per 15 minutes

API Requests

100 requests per 15 minutes

WebSocket

10 connections per minute