# Find all currencies.

`GET /api/currency`

Authentication: no security requirement declared for this operation.

Responses:

- 200: Found currencies

Content type: application/json

Type: object

Schema: [Currency](https://sourcey-gauzy.pages.dev/api-reference/models/currency/index.md)

- `deletedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `createdAt` (optional)
  Type: string, date-time
  
  The creation timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `updatedAt` (optional)
  Type: string, date-time
  
  The last update timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `id` (optional)
  Type: string

- `isActive` (optional)
  Type: boolean
  
  default: true

- `isArchived` (optional)
  Type: boolean
  
  default: false

- `archivedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `isoCode` (required)
  Type: string

- `currency` (required)
  Type: string

- 404: Record not found

## Examples

### cURL

```bash
curl -X GET 'http://localhost:3000/api/currency'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/currency', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('http://localhost:3000/api/currency')
print(response.text)
```
