API Key Authentication
Most WURK API endpoints require authentication using an API key. You can obtain your API key from wurk.fun/apikey.Exception: Quick Endpoints (
/api/x402/quick/*) do NOT require an API key. These endpoints use x402 payment authentication instead. See Quick Endpoints for details.Usage
Include your API key in theX-API-Key header:
Query parameter authentication (
?apiKey=YOUR_KEY) is also supported but not recommended for security reasons.Error Responses
When authentication fails, you’ll receive one of these responses:Missing API Key
Invalid API Key
Testing Authentication
Test your API key with this simple request:Need Help?
- Need a new API key? Visit wurk.fun/apikey
- Contact Support
