Back to All Providers

Test X.ai (Grok) API Key

Verify your X.ai (Grok) API key instantly

Test your X.ai (Grok) API key to check if it's active, valid, and has access to models. Our free online validator instantly verifies your API key authentication, checks rate limits, and confirms model access.

XA
X.ai (Grok)
Not tested

Instructions for Testing Locally

You can also test your X.ai (Grok) API key from your own machine using curl. This is useful for debugging or when you want to test API key authentication programmatically.

curl -X GET https://api.x.ai/v1/models \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"

Direct X.ai (Grok) API request (read-only endpoint) to verify your key configuration.