StarkFi API uses API keys to authenticate requests. Include your API key in the x-api-key header on every request, including configuration routes such as GET /config/products and the Quote service. Your API keys carry many privileges, so be sure to keep them secure!
Base URL:https://api.starkfi.ioUse the paths exactly as shown in this documentation — for example GET /yield/strategies, POST /payment/register/intents-create-order.
KYC/KYB is required for financial transactions with fiat payment methods. Checkout (order) flows and pure crypto transactions do not require verification. See StarkPay overview.
Your request was rejected by the server. This error can have multiple causes:
Invalid or expired API Key
The API key provided may be incorrect, expired, or has been revoked. Please verify your key is active in the dashboard.
Wrong header format
The API key must be sent in the request header exactly as:x-api-key: YOUR_KEYAny variation (e.g. Authorization, api_key, X-API-Key) will result in this error.
{ "code": 403, "message": "Access denied. A valid API Key is required.", "docs": "https://docs.starkfi.io/"}