# Dev Update #14
Hey,
We got all three reward APIs implemented into Lighthouse. The specs can be found [here](https://ethereum.github.io/beacon-APIs/?urls.primaryName=dev#/Rewards).
In the following, I want to showcase how the query the APIs and what the output looks like.
## Sync committee
**Query:**
```bash
$ curl --data "[\"8663\", \"0xb0bd225a6202effca9986e8c3ed50b4f29f8b3154ef21337843d945877aadd6c9bf40ff39393f329cfb243e1dfde23ee\"]" -H "Content-Type:application/json" "http://localhost:5052/eth/v1/beacon/rewards/sync_committee/5745617" | jq
```
**Output:**
```json
{
"execution_optimistic": false,
"data": [
{
"validator_index": "8663",
"reward": 15637
},
{
"validator_index": "27563",
"reward": 15637
}
]
}
```
## Block
**Query:**
```bash
$ curl -H "Content-Type:application/json" "http://localhost:5052/eth/v1/beacon/rewards/blocks/5745617" | jq
```
**Output:**
```json
{
"execution_optimistic": false,
"data": {
"proposer_index": "32632",
"total": "31843976",
"attestations": "30723010",
"sync_aggregate": "1120966",
"proposer_slashings": "0",
"attester_slashings": "0"
}
}
```
## Attestation
**Query:**
```bash
$ curl --data "[\"8663\", \"0xb0bd225a6202effca9986e8c3ed50b4f29f8b3154ef21337843d945877aadd6c9bf40ff39393f329cfb243e1dfde23ee\"]" -H "Content-Type:application/json" "http://localhost:5052/eth/v1/beacon/rewards/attestations/179550" | jq
```
**Output:**
```json
{
"execution_optimistic": false,
"data": {
"ideal_rewards": [
{
"effective_balance": "0",
"head": "0",
"target": "0",
"source": "0"
},
// ommitted
{
"effective_balance": "32",
"head": "3360",
"target": "6314",
"source": "3478"
}
],
"total_rewards": [
{
"validator_index": "8663",
"head": "3360",
"target": 6314,
"source": 3478
},
{
"validator_index": "27563",
"head": "3360",
"target": 6314,
"source": 3478
}
]
}
}
```