---
api: 'Crypto Ramp API'
---

# Retrieve all orders

Retrieve all orders by date range.

The results are sorted chronologically by the `created_at` date (i.e. oldest first).

For more information, see the guides: [Leverage the Crypto Ramp API -> Get all orders](/docs/guides/crypto-ramp/tutorials/use-the-api#get-all-orders).

## Endpoint

GET `/orders`

## Parameters

### header parameters

- `X-API-KEY` (any, optional)
  Your API key that you received during integration setup. 
  For more information, see the **Authorization** section.

### query parameters

- `start` (string, required)
  The earliest date for the order creation date range (inclusive) in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  
  In other words, the "oldest" order creation date you are interested in.

- `end` (string, required)
  The latest date for the order creation date range (inclusive) in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  
  In other words, the "most recent" order creation date you are interested in.

- `skip` (integer, optional)
  The number of orders to skip at the beginning of the range when fetching orders (sorted by creation date, oldest first).
  
  This means that if you set `skip=3`, the first three orders are skipped, and the list of orders that you get as a result will start with the order that would normally be 4th on the list.

- `limit` (integer, optional)
  The maximum number of orders to fetch from the given range.
  Must be between `1` and `1000` (inclusive).
  Default value is `100`.

## Returns

### 200

OK

#### Response attributes


## Error responses

| HTTP status code | Description |
| --- | --- |
| 401 | Unauthorized |
| 429 | Too Many Requests |
| 500 | Server error  An unexpected error occurred. |
| 503 | The endpoint is disabled by Kill Switch |
