๐ Self-Service API Keys Connect your wallet to manage API keys
๐ Click "Connect Wallet" in the header to get started
PowerShell (Windows) cURL (Mac/Linux) JavaScript (Node.js)
$apiKey = "YOUR_API_KEY_HERE"
$uri = "https://dapp-mvp-boilerplate.onrender.com/api/binance/prices"
try {
$response = Invoke-WebRequest -Uri $uri -Headers @{'x-api-key'=$apiKey} -Method GET
Write-Host "โ
SUCCESS!" -ForegroundColor Green
Write-Host ""
Write-Host "Status Code: $($response.StatusCode)" -ForegroundColor Cyan
Write-Host ""
Write-Host "Rate Limit Headers:" -ForegroundColor Yellow
Write-Host " X-RateLimit-Limit: $($response.Headers['X-RateLimit-Limit'])"
Write-Host " X-RateLimit-Remaining: $($response.Headers['X-RateLimit-Remaining'])"
Write-Host " X-RateLimit-Reset: $($response.Headers['X-RateLimit-Reset'])"
Write-Host ""
Write-Host "Response Content:" -ForegroundColor Yellow
Write-Host $response.Content
} catch {
Write-Host "โ ERROR!" -ForegroundColor Red
Write-Host ""
Write-Host "Error Message: $($_.Exception.Message)" -ForegroundColor Red
}How to use: Click the Copy button above Paste into your terminal or code editor Replace YOUR_API_KEY_HERE with your actual API key Run the script to verify your API access Expected Output: โ
SUCCESS!
Status Code: 200
Rate Limit: 120
Remaining: 119
Response: {"success": true, "count": 239, "data": [...]}
Developer Portal
Unified API Key Access One developer API key gives you access to our pricing and market data endpoints at https://dapp-mvp-boilerplate.onrender.com. Use it with the `x-api-key` header or `Authorization: ApiKey <key>`.
How it works We issue a single API key to your project and manage access centrally. The backend stores only a salted SHA-256 hash of the key, so the raw key is never retained after issuance.
Developer keys are issued via admin-signed requests. Raw keys appear once on creation. Supported headers: x-api-key or Authorization: ApiKey <key>. Existing routes remain unchanged unless explicitly protected. Protected endpoints These routes require your issued API key:
/api/binance/api/coinbase/api/coinranking/api/1inch/api/klines/api/oracle/api/pyth/api/aggregatorAdmin issuance Key creation and revocation are protected by admin wallet signature proof. The admin must sign a message that matches the expected action:
ADMIN_API_KEY_MANAGEMENT Send the signed payload to POST /api/api-keys. The response returns the raw key once in this format:
<key-id>.<secret>Example requests Using x-api-key header:
GET /api/binance/prices HTTP/1.1
Host: dapp-mvp-boilerplate.onrender.com
x-api-key: <your_api_key>
# Example with curl:
curl -H "x-api-key: YOUR_API_KEY" \
https://dapp-mvp-boilerplate.onrender.com/api/binance/pricesUsing Authorization header:
GET /api/coinbase/prices HTTP/1.1
Host: dapp-mvp-boilerplate.onrender.com
Authorization: ApiKey <your_api_key>
# Example with curl:
curl -H "Authorization: ApiKey YOUR_API_KEY" \
https://dapp-mvp-boilerplate.onrender.com/api/coinbase/pricesRate limiting All API responses include rate limit headers to help you track your usage:
X-RateLimit-Limit: Maximum requests allowed per windowX-RateLimit-Remaining: Requests remaining in current windowX-RateLimit-Reset: Window duration in secondsIf you exceed your rate limit, you'll receive a 429 Too Many Requests response. Wait for the window to reset before making additional requests.
Error responses The API uses standard HTTP status codes:
401 Unauthorized: Missing or invalid API key403 Forbidden: Endpoint not authorized for your key429 Too Many Requests: Rate limit exceeded500 Internal Server Error: Server-side errorAll error responses include a JSON body with details:
{
"success": false,
"error": "Rate limit exceeded"
}Need help? If you want, I can also add a small admin dashboard page for key issuance and revocation flows.
Back to Account