100% SecureNo Server StorageInstant Results

    API Connectivity Test

    Your API key is used only by this page for the direct request. Hvoy AI does not receive or store it.

    Request Configuration

    Only used locally, never sent to our server
    Human verification
    Complete verification before testing

    Test Result

    No result yet. Fill in the form, complete verification, and start a test.

    Test it yourself with curl

    This command is generated from the current form values. It runs directly from your terminal to the target endpoint.

    curl -sS 'https://api.example.com/v1/messages' \
      -X POST \
      -H 'content-type: application/json' \
      -H 'x-api-key: <API_KEY>' \
      -H 'anthropic-version: 2023-06-01' \
      -H 'anthropic-dangerous-direct-browser-access: true' \
      --data-binary '{
      "model": "claude-opus-4-7",
      "max_tokens": 64,
      "messages": [
        {
          "role": "user",
          "content": "just say hi, nothing else"
        }
      ]
    }'

    How to run this command in your Terminal

    1. Click the Copy button above.
    2. Open Terminal on macOS/Linux, or PowerShell/Windows Terminal on Windows.
    3. Paste the command and press Enter.
    4. Read the response body and HTTP status to confirm whether the endpoint works.

    Terminal tips

    • curl is pre-installed on macOS and most Linux systems.
    • On Windows, recent PowerShell and Windows Terminal installations usually include curl.
    • If the command is not found, run curl --version to confirm whether it is installed.

    Common issues and fixes

    401 Unauthorized

    The API key is invalid, expired, malformed, or not accepted by this provider.

    Check the provider dashboard and use an active key in the expected format.

    403 Forbidden

    The account lacks permission, billing is disabled, or the endpoint rejects this request format.

    Confirm account permissions, credits, model access, and the selected API format.

    429 Rate Limited

    Too many requests were sent in a short time.

    Wait and retry, lower request frequency, or upgrade the provider plan.

    CORS / Failed to fetch

    The browser is not allowed to read this API response.

    Run the generated curl command from your terminal for a direct test.

    Frequently asked questions

    How do I test an API key?

    Choose the API format, enter the endpoint, key, model, and message, complete verification, then start the test.

    Is this safe?

    The key is not submitted to Hvoy AI. It is only used in your browser request and in the generated curl command shown on this page.

    What if the test fails?

    Check the status code and raw response first. Most failures are caused by an invalid key, wrong request format, insufficient balance, rate limits, or CORS.

    Can I test multiple API keys?

    Yes. Replace the key and run a new independent test.

    Why use the terminal?

    Some providers block browser requests. curl avoids browser CORS rules and is closer to how server-side applications call APIs.