> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blockworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Protocol Revenue by Product

> Revenue in USD for one product (version) of a protocol on one blockchain. Each series is one product on one chain, keyed by protocol, product and chain. Shows which deployments generate a protocol's revenue.

| | |
| - | - |
| Access | Protocol-revenue-dataset |
| Timeseries model | `protocol-revenue-by-product`: intervals `1d`, series key `id` (Protocol Product Chain ID), series must be named (up to 10 per call) |

## Endpoints

> [card] [Batch Get Protocol Product timeseries](https://docs.blockworks.com/api-reference/data-api/project-financials/timeseries-protocol-revenue-by-product.md)
>
> Up to 10 series in one request, named by Protocol Product Chain ID in `series`.

> [card] [Get Protocol Product timeseries](https://docs.blockworks.com/api-reference/data-api/project-financials/timeseries-protocol-revenue-by-product-by-id.md)
>
> One series over a time window, keyed by its Protocol Product Chain ID.

## Metrics

1 metric. Use the `Field` value in `selections`; every point starts with the timestamp and continues in this order.

| Field | Name | Type | Unit | Description |
| - | - | - | - | - |
| `revenue-usd` | Revenue (USD) | float64 | | Daily revenue in USD for this product on a chain. Covers apps and networks. App rows contain modeled app revenue. Network rows may contain Real Economic Value (transaction fees plus MEV tips before costs or revenue sharing) or another measure, such as THORChain's swap-fee revenue. |

## Example

```bash curl theme={null}
curl "https://api.blockworks.com/query/timeseries/protocol-revenue-by-product/1d/aave_aave-v2_avalanche_c?timeframe=7d&selections=revenue-usd" \
  -H "X-Blockworks-API-Key: $BLOCKWORKS_API_KEY"
```

See [Get Protocol Product timeseries](https://docs.blockworks.com/api-reference/data-api/project-financials/timeseries-protocol-revenue-by-product-by-id.md) for the response and the errors.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.