> ## 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

> Protocol revenue in USD per project, and the same revenue broken down by product version and blockchain.

The project-level series answers how much a protocol earns; the by-product series shows which deployments earn it.

## Endpoints

| Model                                                                                               | Access                       | Timeseries                                                                                                                                                                                    |
| --------------------------------------------------------------------------------------------------- | ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Protocol Revenue](/api-reference/data-api/protocol-revenue/protocol-revenue)                       | Projects\_protocols\_unified | [Batch](/api-reference/data-api/protocol-revenue/timeseries-protocol-revenue), [One series](/api-reference/data-api/protocol-revenue/timeseries-protocol-revenue-by-id)                       |
| [Protocol Revenue by Product](/api-reference/data-api/protocol-revenue/protocol-revenue-by-product) | Projects\_protocols\_unified | [Batch](/api-reference/data-api/protocol-revenue/timeseries-protocol-revenue-by-product), [One series](/api-reference/data-api/protocol-revenue/timeseries-protocol-revenue-by-product-by-id) |

## Example

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

See [Batch Get Protocol timeseries](/api-reference/data-api/protocol-revenue/timeseries-protocol-revenue) for the response and the errors.

## Guides

<CardGroup cols={2}>
  <Card title="Finding an id" icon="key" href="/api-reference/data-api/discovery/finding-an-id">
    Every series key, the table it comes from and the identifiers that resolve to it.
  </Card>

  <Card title="Granularity" icon="clock" href="/getting-started/concepts/granularity">
    Choosing an interval and bounding a time window.
  </Card>

  <Card title="Tabular vs timeseries" icon="book" href="/getting-started/concepts/tabular-vs-timeseries">
    The two model kinds, their URL shapes, and when to reach for each.
  </Card>
</CardGroup>
