# Live: Get Pallet Events By ID

Returns metadata for one event definition identified by its pallet and event ID.

_Source: https://beta.taostats.io/docs/api-reference/rpc-live/get-live-pallets-pallet-id-events-id_

_Last reviewed: 2026-09-18_

```http
GET https://api.taostats.io/api/v1/live/pallets/{pallet_id}/events/{id}
```

Requires an API key in the `Authorization` header.

Returns metadata for one event definition identified by its pallet and event ID. Use the indexed chain event endpoint to retrieve emitted events.

## Try it

Try this request in the browser on the HTML version of this page, or use the code samples below.

### Code samples

**cURL**

```bash
curl -H "Authorization: <YOUR_API_KEY>" \
  "https://api.taostats.io/api/v1/live/pallets/{pallet_id}/events/{id}"
```

**JavaScript**

```js
const response = await fetch('https://api.taostats.io/api/v1/live/pallets/{pallet_id}/events/{id}', {
  headers: {
    Authorization: '<YOUR_API_KEY>',
  },
});
const data = await response.json();
```

**Python**

```python
import requests

response = requests.get(
    "https://api.taostats.io/api/v1/live/pallets/{pallet_id}/events/{id}",
    headers={"Authorization": "<YOUR_API_KEY>"},
)
data = response.json()
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `pallet_id` | path | `string` | Yes |  |
| `id` | path | `string` | Yes |  |

## Responses

### `200` — Response

| Field | Type | Required |
| --- | --- | --- |
| `errorItem` | `string, nullable` |  |
| `metadata` | `string, nullable` |  |
| `pallet` | `string` | Yes |
| `palletIndex` | `string` | Yes |

**Example response**

```json
{}
```

Every request needs an `Authorization` header holding your API key — see [Getting started with the Taostats API](https://beta.taostats.io/docs/start-here/getting-started-with-taostats-api).
