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

# Project Income Statements

> Daily income statement line items in USD for one project's product on one chain: revenue, contra revenue, cost of goods sold and operating expenses. Each series is one line item, keyed by parent protocol, product, chain, category and line item. Amounts are signed (revenue positive, contra revenue and expenses negative), so summing a project's series over a day gives its operating income.

One row per project income statement line item, keyed by parent protocol, product, chain, category and line item: the statement section, category and line item, plus the mapped protocol, project and network records. The id is the series key of the project-income-statements timeseries model.

| | |
| - | - |
| Access | Protocol-revenue-dataset |
| Tabular model | `project-income-statements`: primary key `id` |
| Timeseries model | `project-income-statements`: intervals `1d`, series key `id` (Project Income Statement ID), every series available in one call |

## Endpoints

> [card] [List Project Income Statement Line Items](https://docs.blockworks.com/api-reference/data-api/project-financials/tabular-project-income-statements.md)
>
> One page of rows with per-column filters, sorting and pagination.

> [card] [Batch Get Project Income Statement Line Item timeseries](https://docs.blockworks.com/api-reference/data-api/project-financials/timeseries-project-income-statements.md)
>
> Up to 10 series in one request, named by series key in `series`.

> [card] [Get Project Income Statement Line Item timeseries](https://docs.blockworks.com/api-reference/data-api/project-financials/timeseries-project-income-statements-by-id.md)
>
> One series over a time window, keyed by its Project Income Statement 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 |
| - | - | - | - | - |
| `amountUSD` | | | | |

## Columns

Use the `Field` value in `selections`, `sortBy`, and as the base of a filter parameter (`Field` plus one of its `Filters` suffixes).

| Field | Type | Filters | Sort | Description |
| - | - | - | - | - |
| `category` | string | | | The line item's category, revenue, contra-revenue, cogs or operating-expenses. |
| `chain` | string | | | The short name of the chain (ethereum, base, solana). |
| `id` | string | | | The series key of the project-income-statements timeseries model, the parent slug, product slug, chain, category and line item, joined with underscores. |
| `lineItem` | string | | | The revenue type for revenue rows, or the expense line item (for example l1-proving or operations). |
| `name` | string | | | The display name of the series, the project name and line item followed by the product and chain. |
| `networkID` | string | | | The chain's networkID in the blockchains model; null when unmapped. |
| `parentSlug` | string | | | The parent protocol's short name. |
| `productName` | string | | | The product's display name. |
| `productSlug` | string | | | The product or version within the parent protocol. |
| `projectID` | string | | | The identifier of the project record; null when unmapped. |
| `protocolName` | string | | | The name of the protocol record mapped to the product; null when unmapped. |
| `protocolSlug` | string | | | The slug of the protocol record mapped to the product; null when unmapped. |
| `slug` | string | | | The project's slug, the slug used for the same project across the API. |
| `statementSection` | string | | | The income statement section, revenue or expense. |

## Example

```bash curl theme={null}
curl "https://api.blockworks.com/query/timeseries/project-income-statements/1d/<id>?timeframe=7d&selections=amountUSD" \
  -H "X-Blockworks-API-Key: $BLOCKWORKS_API_KEY"
```

See [Get Project Income Statement Line Item timeseries](https://docs.blockworks.com/api-reference/data-api/project-financials/timeseries-project-income-statements-by-id.md) for the response and the errors.


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