# Get trade history for market arbitrage hopper

`GET https://api.cryptohopper.com/v1/hopper/{id}/arbitrage/market/history/{start}/{limit}`

Part of [Arbitrage](https://www.cryptohopper.com/api-documentation/api-reference/arbitrage.md) in the Cryptohopper API reference.

Meant to return the finished market arbitrages of an arbitrage bot, one page at a time.

OAuth scope: `read`

This path is currently routed to the same handler as GET /hopper/{id}/arbitrage/exchange/history/{start}/{limit}, so it returns finished exchange arbitrages, not market arbitrages.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `limit` | string | yes | Maximum number of arbitrages to return, at most 500. |
| `start` | string | yes | Number of arbitrages to skip (offset), 0 for the first page. |
| `id` | string | yes | Hopper ID of an arbitrage bot. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/arbitrage/market/history/START/LIMIT" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
