> For the complete documentation index, see [llms.txt](https://docs.altura.com/altura-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.altura.com/altura-documentation/js-sdk-reference/get-methods/get-an-items-history.md).

# Get an Item's History

Use this method to get an Item's Transaction History.&#x20;

### Usage in your script

{% tabs %}
{% tab title="JavaScript" %}

```javascript
const response = await alturaItem.getHistory();

// customize options
const response = await alturaItem.getHistory({
  perPage: 20,
  page: 1
});

const history = response.events;
```

{% endtab %}

{% tab title="TypeScript" %}

```typescript
const response: {events: IAlturaEvent[]} = await alturaItem.getHistory();

// customize options
const response: {events: IAlturaEvent[]} = await alturaItem.getHistory({
  perPage: 20,
  page: 1
});

const history = response.events;
```

{% endtab %}
{% endtabs %}

### **Parameters**

<table><thead><tr><th width="193">Parameter</th><th width="99">Type</th><th width="105">Required</th><th>Description</th></tr></thead><tbody><tr><td>perPage</td><td>number</td><td><strong>Optional</strong></td><td>The number of events to return</td></tr><tr><td>page</td><td>number</td><td></td><td>The offset for returned items. Calculated as (page - 1) * perPage</td></tr></tbody></table>

### Event Object

```javascript
export interface IAlturaEvevnt {
  id: string;
  amount: string;
  blockNumber: number;
  chainId: number;
  event: string;
  from: string;
  itemCollection: string;
  itemRef: string;
  timestamp: number;
  to: string;
  tokenId: number;
  transactionHash: string;
}
```
