# Get the status of your key (legacy path)

> NopeCHA's original status path: GET /status. Errors come with HTTP 200.

`GET https://api.solvecha.com/status`


Same answer as [Get the status of your key](https://solvecha.com/docs/api/get-status.md), on the path of the first NopeCHA API. **Errors are answered with HTTP status 200.**


> **Warning:**
> This is a legacy path for older NopeCHA clients. Use the [`/v1` paths](https://solvecha.com/docs/api/overview.md) in new code.


## Authorization

Send your API key as `Authorization: Bearer YOUR_API_KEY`. Other ways are the `key` field of the body and the `key` query parameter. See [Authentication](https://solvecha.com/docs/authentication.md).

## Query parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `key` | string | No | Your API key, if you do not send it in the `Authorization` header. |

## Example request


**cURL**

```bash
curl "https://api.solvecha.com/status" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

**Python**

```python
import requests

response = requests.get(
    "https://api.solvecha.com/status",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
)
print(response.status_code, response.json())
```

**Node.js**

```js
const response = await fetch("https://api.solvecha.com/status", {
  headers: { Authorization: "Bearer YOUR_API_KEY" },
});
console.log(response.status, await response.json());
```

**Go**

```go
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	req, err := http.NewRequest("GET", "https://api.solvecha.com/status", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()
	out, _ := io.ReadAll(resp.Body)
	fmt.Println(resp.StatusCode, string(out))
}
```


## Response

### 200 OK

The state of your key.

```json
{
  "plan": "Basic",
  "status": "Active",
  "credit": 19873,
  "quota": 20000,
  "duration": 86400,
  "lastreset": 1760486400,
  "ttl": 41200,
  "subscribed": 0,
  "current_period_start": 1760000000,
  "current_period_end": 1762600000
}
```

### Errors

HTTP status 200 with an error body:

```json
{"error": 14, "message": "Incomplete job"}
```

| Code | HTTP status | When |
|---|---|---|
| `11` Rate limit reached | 200 | More than 600 status requests per minute. |
| `15` Invalid key | 200 | The key is missing, malformed or unknown. |
| `9` Unknown error | 200 | Server error. Retry after a few seconds. |

All codes are on the [Errors](https://solvecha.com/docs/errors.md) page.
