> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nostrapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test API

> Test API to check the validity of NOSTRAPI API keys

### Response

<ResponseField name="success" type="boolean">
  Indicates whether the call was successful. `true` if successful, `false` if not.
</ResponseField>

<ResponseField name="message" type="string">
  Message detailing the results of the operation.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request GET 'https://nostrapi.com/api/v1/utils/test-api' \
  --header 'Content-Type: application/json' \
  --header 'apikey: <YOUR_KEY_HERE>'
  ```
</RequestExample>

<ResponseExample>
  ```json HTTP 200 - Success theme={null}
  {
    "success": true,
    "message": "This is a valid API key!"
  }
  ```
</ResponseExample>
