# DefiLlama DeFi Protocol Scraper (`parseforge/defillama-scraper`) Actor

Scrape DeFi protocol analytics from DefiLlama. Get total value locked (TVL), yields, stablecoins, and chain data for 4,000+ protocols. Track TVL changes across timeframes, chain breakdowns, market cap, and protocol categories across 570+ blockchains.

- **URL**: https://apify.com/parseforge/defillama-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 3 total users, 1 monthly users, 93.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

![ParseForge Banner](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)

## 🔗 DefiLlama DeFi Protocol Scraper

> 🚀 Pull TVL, yields, stablecoin supply, and chain analytics for 4,000+ DeFi protocols from DefiLlama. Structured data ready for dashboards and analysis in seconds.

> 🕒 Last updated: 2026-04-23


<table><tr>
<td style="border-left:4px solid #0F766E;padding:12px 16px;font-weight:600">Pull structured records from DefiLlama DeFi Protocol — clean fields ready as CSV, JSON, JSONL, Excel, or XML for downstream pipelines.</td>
</tr></table>

##### Copy to your AI assistant

Copy this block into ChatGPT, Claude, Cursor, or any LLM to start using this actor.

````

parseforge/defillama-scraper on Apify. Call: ApifyClient("TOKEN").actor("parseforge/defillama-scraper").call(run\_input={...}), then client.dataset(run\["defaultDatasetId"]).list\_items().items for results. Key inputs: maxItems (integer, default 10), endpoint (string, default "protocols"), protocol (string). Full actor spec: fetch build via GET https://api.apify.com/v2/acts/parseforge~defillama-scraper (Bearer TOKEN). Get token: https://console.apify.com/account/integrations

````

DefiLlama Scraper collects decentralized finance data covering protocols, chains, stablecoins, yield farming pools, and historical TVL trends. Each protocol record includes the name, symbol, category, total value locked, 1h/1d/7d TVL changes, supported chains, market cap, and URL. You can also pull yield data with APY rates across pools, stablecoin circulating supply and peg status, or chain-level TVL rankings for 570+ blockchain networks.

DeFi researchers use this to track protocol dominance and TVL flows. Investors compare yield opportunities across chains and pools. Developers feed the data into analytics dashboards. Analysts monitor stablecoin supply distribution and chain adoption trends. If you need structured DeFi market data without building API integrations, this actor delivers it in a single run.

| Target | DefiLlama (4,000+ DeFi protocols) |
|--------|-------------------------------|
| Use Cases | DeFi research, TVL tracking, yield comparison, stablecoin monitoring |

---

### 📋 What it does

- 📊 **Protocol data.** 4,000+ DeFi protocols with TVL, category, chain breakdown, and change metrics.
- 💰 **Yield farming.** APY data across farming pools, protocols, and chains.
- 🪙 **Stablecoin analytics.** Circulating supply and peg data for 40+ stablecoins.
- ⛓️ **Chain rankings.** TVL data for 570+ blockchain networks.
- 🔍 **Protocol deep dive.** Detailed chain-level TVL breakdown for any specific protocol.

Each record gives you a complete snapshot of DeFi activity. Protocol records include TVL changes over three timeframes (1h, 1d, 7d), the chains they operate on, and their market cap when available.

> 💡 **Why it matters:** DeFi data is spread across hundreds of protocol dashboards and chain explorers. DefiLlama aggregates it all, and this actor lets you download it as structured data without writing API code.

---

### 🎬 Full Demo

_🚧 Coming soon: a 3-minute walkthrough showing how to go from sign-up to a downloaded dataset._

---

### ⚙️ Input

<table>
<thead>
<tr><th>Input</th><th>Type</th><th>Default</th><th>Behavior</th></tr>
</thead>
<tbody>
<tr><td>maxItems</td><td>integer</td><td>10</td><td>Maximum records to return. Free users are limited to 10. Paid users can set up to 1,000,000.</td></tr>
<tr><td>endpoint</td><td>string</td><td>"protocols"</td><td>Dataset to query: protocols, chains, stablecoins, yields, or historical-tvl.</td></tr>
<tr><td>protocol</td><td>string</td><td>-</td><td>Get detailed data for a specific protocol (e.g. "aave", "uniswap"). Overrides endpoint selection.</td></tr>
</tbody>
</table>

**Example: top 100 DeFi protocols by TVL.**

```json
{
  "endpoint": "protocols",
  "maxItems": 100
}
````

**Example: detailed data for Aave.**

```json
{
  "protocol": "aave",
  "maxItems": 100
}
```

> ⚠️ **Good to Know:** DefiLlama provides free, open-source DeFi data. The "protocols" endpoint returns the broadest dataset with 4,000+ entries. Use the "protocol" field to get chain-level TVL breakdowns for a specific project.

***

### 📊 Output

Each record contains **10+ fields**. Download as CSV, Excel, JSON, or XML.

#### 🧾 Schema

| Field | Type | Example |
|---|---|---|
| 🏷️ name | string | `"Lido"` |
| 🔤 symbol | string | `"LDO"` |
| 📂 category | string | `"Liquid Staking"` |
| 💰 tvl | number | `25432000000` |
| 📈 change\_1h | number | `0.12` |
| 📉 change\_1d | number | `-0.45` |
| 📊 change\_7d | number | `2.31` |
| ⛓️ chains | array | `["Ethereum", "Polygon"]` |
| 💹 mcap | number | `1890000000` |
| 🔗 url | string | `"https://lido.fi"` |
| 📅 scrapedAt | string | `"2026-04-17T12:00:00.000Z"` |

#### 📦 Sample records

<details>
<summary><strong>💰 Lido (Liquid Staking)</strong></summary>

```json
{
  "name": "Lido",
  "symbol": "LDO",
  "category": "Liquid Staking",
  "tvl": 25432000000,
  "change_1h": 0.12,
  "change_1d": -0.45,
  "change_7d": 2.31,
  "chains": ["Ethereum", "Polygon", "Solana"],
  "mcap": 1890000000,
  "url": "https://lido.fi",
  "scrapedAt": "2026-04-17T12:00:00.000Z"
}
```

</details>

<details>
<summary><strong>💰 Aave (Lending)</strong></summary>

```json
{
  "name": "Aave",
  "symbol": "AAVE",
  "category": "Lending",
  "tvl": 12800000000,
  "change_1h": 0.05,
  "change_1d": 1.23,
  "change_7d": -0.87,
  "chains": ["Ethereum", "Avalanche", "Polygon", "Optimism", "Arbitrum"],
  "mcap": 2100000000,
  "url": "https://aave.com",
  "scrapedAt": "2026-04-17T12:00:00.000Z"
}
```

</details>

<details>
<summary><strong>💰 Uniswap (DEX)</strong></summary>

```json
{
  "name": "Uniswap",
  "symbol": "UNI",
  "category": "Dexes",
  "tvl": 5600000000,
  "change_1h": -0.03,
  "change_1d": 0.78,
  "change_7d": 3.45,
  "chains": ["Ethereum", "Polygon", "Arbitrum", "Optimism", "Base", "BNB Chain"],
  "mcap": 6200000000,
  "url": "https://uniswap.org",
  "scrapedAt": "2026-04-17T12:00:00.000Z"
}
```

</details>

***

### ✨ Why choose this Actor

| | Capability |
|---|---|
| 📊 | **4,000+ protocols.** Every major DeFi protocol with TVL and category data. |
| ⛓️ | **570+ chains.** Blockchain network rankings and TVL distribution. |
| 💰 | **Yield data.** APY rates across farming pools for yield comparison. |
| 🪙 | **Stablecoin tracking.** Supply and peg data for 40+ stablecoins. |
| 📈 | **Change metrics.** TVL changes over 1h, 1d, and 7d for trend analysis. |
| 🔍 | **Protocol deep dives.** Chain-level TVL breakdown for any specific project. |
| ⚡ | **Fast.** Hundreds of protocol records delivered in seconds. |

> DefiLlama tracks over $100 billion in total value locked across 4,000+ DeFi protocols and 570+ blockchain networks.

***

### 📈 How it compares to alternatives

| Approach | Cost | Coverage | Refresh | Setup |
|---|---|---|---|---|
| **⭐ DefiLlama Scraper** *(this Actor)* | $5 free credit, then pay-per-use | 4,000+ protocols, 570+ chains | **Live per run** | ⚡ 2 min |
| Official API (direct) | Free | Full, requires pagination code | Real-time | 30 min |
| Manual browsing | Free (your time) | One protocol at a time | Manual | Slow |
| Third-party data providers | $200+/month | Varies | Hourly or daily | Days |

Pick this actor when you need bulk DeFi data in a structured format without managing API integrations or pagination logic.

***

### 🚀 How to use

1. 📝 **Sign up.** [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=vmoqkp) (takes 2 minutes).
2. 🌐 **Open the Actor.** Go to the DefiLlama Scraper page on the Apify Store.
3. 🎯 **Set input.** Choose your data source (protocols, chains, yields, stablecoins) and max items.
4. 🚀 **Run it.** Click **Start** and let the Actor collect your data.
5. 📥 **Download.** Grab your results in the **Dataset** tab as CSV, Excel, JSON, or XML.

> ⏱️ Total time from signup to downloaded dataset: **3-5 minutes.** No coding required.

***

### 💼 Business use cases

<table>
<tr>
<td width="50%" valign="top">

#### 📊 DeFi Research

- Track TVL trends across protocol categories
- Compare liquid staking vs lending vs DEX dominance
- Monitor chain-level TVL distribution shifts
- Build historical TVL datasets from regular snapshots

</td>
<td width="50%" valign="top">

#### 💼 Investment Analysis

- Compare yield farming APY rates across pools
- Track protocol growth rates using TVL change metrics
- Monitor stablecoin supply for market health signals
- Identify emerging chains by TVL growth

</td>
</tr>
<tr>
<td width="50%" valign="top">

#### 🖥️ Dashboard Development

- Feed protocol data into real-time analytics dashboards
- Build leaderboards sorted by TVL, category, or chain
- Create automated reporting on DeFi market movements
- Power comparison tools for protocol selection

</td>
<td width="50%" valign="top">

#### 📈 Market Intelligence

- Monitor competitor protocols in your category
- Track cross-chain expansion patterns
- Analyze stablecoin market share and peg stability
- Generate weekly DeFi market summary reports

</td>
</tr>
</table>

***

***

### 🌟 Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

<table>
<tr>
<td width="50%">

#### 🎓 Research and academia

- Empirical datasets for papers, thesis work, and coursework
- Longitudinal studies tracking changes across snapshots
- Reproducible research with cited, versioned data pulls
- Classroom exercises on data analysis and ethical scraping

</td>
<td width="50%">

#### 🎨 Personal and creative

- Side projects, portfolio demos, and indie app launches
- Data visualizations, dashboards, and infographics
- Content research for bloggers, YouTubers, and podcasters
- Hobbyist collections and personal trackers

</td>
</tr>
<tr>
<td width="50%">

#### 🤝 Non-profit and civic

- Transparency reporting and accountability projects
- Advocacy campaigns backed by public-interest data
- Community-run databases for local issues
- Investigative journalism on public records

</td>
<td width="50%">

#### 🧪 Experimentation

- Prototype AI and machine-learning pipelines with real data
- Validate product-market hypotheses before engineering spend
- Train small domain-specific models on niche corpora
- Test dashboard concepts with live input

</td>
</tr>
</table>

### 🤖 Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:

- 💬 [**ChatGPT**](https://chat.openai.com/?q=How%20do%20I%20use%20the%20DefiLlama%20DeFi%20Protocol%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🧠 [**Claude**](https://claude.ai/new?q=How%20do%20I%20use%20the%20DefiLlama%20DeFi%20Protocol%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🔍 [**Perplexity**](https://perplexity.ai/search?q=How%20do%20I%20use%20the%20DefiLlama%20DeFi%20Protocol%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🅒 [**Copilot**](https://copilot.microsoft.com/?q=How%20do%20I%20use%20the%20DefiLlama%20DeFi%20Protocol%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)

### ❓ Frequently Asked Questions

<details>
<summary><b>💳 Do I need a paid Apify plan to run this actor?</b></summary>

No. You can start right now on the free Apify plan, which includes **$5 in free monthly credit**. That is enough to run this actor several times and explore the output before committing to anything. Paid plans unlock higher limits, more concurrent runs, and larger datasets. [Create a free Apify account here](https://console.apify.com/sign-up?fpr=vmoqkp) to get started.

</details>

<details>
<summary><b>🚨 What happens if my run fails or returns no results?</b></summary>

Failed runs are not charged. If the source site changes, proxies get rate-limited, or a specific input matches nothing, re-run the actor or open our [contact form](https://tally.so/r/BzdKgA) and we will investigate. You can also check the run log in the Apify console to see why the run stopped.

</details>

<details>
<summary><b>📏 How many items can I scrape per run?</b></summary>

Free users are limited to **10 items per run** so you can preview the output and confirm the actor works for your use case. Paid users can raise maxItems up to **1,000,000** per run. [Upgrade here](https://console.apify.com/sign-up?fpr=vmoqkp) if you need full scale.

</details>

<details>
<summary><b>🕒 How fresh is the data?</b></summary>

Every run fetches live data at the moment of execution. There is no cache or delay: the records you get reflect what the source returned at that moment. Schedule the actor to maintain a rolling snapshot of the data you need.

</details>

<details>
<summary><b>🧑‍💻 Can I call this actor from my own code?</b></summary>

Yes. Apify exposes every actor as a REST endpoint and ships first-class SDKs for [Node.js](https://docs.apify.com/sdk/js) and [Python](https://docs.apify.com/sdk/python). You can start a run, read the dataset, and handle webhooks from your own app in a few lines. All you need is your Apify API token.

</details>

<details>
<summary><b>📤 How do I export the data?</b></summary>

Every Apify dataset can be downloaded in one click from the console as CSV, JSON, JSONL, Excel, HTML, XML, or RSS. You can also pull results programmatically via the [Apify API](https://docs.apify.com/api/v2) or stream them into BigQuery, S3, and other destinations through built-in integrations.

</details>

<details>
<summary><b>📅 Can I schedule the actor to run automatically?</b></summary>

Yes. Use the Apify scheduler to run the actor on any cadence, from hourly to monthly. Results are saved to your dataset and can be delivered to webhooks, email, Slack, cloud storage, or automation tools such as Zapier and Make.

***

</details>

### 🔌 Automating DefiLlama Scraper

Control the scraper programmatically for scheduled runs and pipeline integrations:

- 🟢 **Node.js.** Install the apify-client NPM package.
- 🐍 **Python.** Use the apify-client PyPI package.
- 📚 See the [Apify API documentation](https://docs.apify.com/api/v2) for full details.

The [Apify Schedules feature](https://docs.apify.com/platform/schedules) lets you trigger this Actor on any cron interval. Schedule hourly runs to build a historical TVL database for trend analysis.

### 🔌 Integrate with any app

DefiLlama Scraper connects to any cloud service via [Apify integrations](https://apify.com/integrations):

- [**Make**](https://docs.apify.com/platform/integrations/make) - Automate multi-step workflows
- [**Zapier**](https://docs.apify.com/platform/integrations/zapier) - Connect with 5,000+ apps
- [**Slack**](https://docs.apify.com/platform/integrations/slack) - Get run notifications
- [**Airbyte**](https://docs.apify.com/platform/integrations/airbyte) - Pipe data into your warehouse
- [**GitHub**](https://docs.apify.com/platform/integrations/github) - Trigger runs from commits
- [**Google Drive**](https://docs.apify.com/platform/integrations/drive) - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes.

***

### 🔗 Recommended Actors

- [**💰 CoinGecko Scraper**](https://apify.com/parseforge/coingecko-scraper) - Real-time cryptocurrency prices, market cap, and volume data
- [**📊 FRED Economic Data Scraper**](https://apify.com/parseforge/fred-scraper) - Federal Reserve economic time-series data
- [**💼 SEC EDGAR Full Text Search**](https://apify.com/parseforge/sec-edgar-full-text-search-scraper) - Search SEC filings by keyword
- [**📈 BLS Wage Data Scraper**](https://apify.com/parseforge/bls-wage-data-scraper) - Employment and wage statistics
- [**🏢 Flippa Scraper**](https://apify.com/parseforge/flippa-scraper) - Online business and website marketplace data

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge) for more data scrapers and tools.

***

**🆘 Need Help?** [**Open our contact form**](https://tally.so/r/BzdKgA) to request a new scraper, propose a custom data project, or report an issue.

***

> **⚠️ Disclaimer:** this Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by DefiLlama. All trademarks mentioned are the property of their respective owners. Only publicly available data is collected.

# Actor input Schema

## `maxItems` (type: `integer`):

Free users: Limited to 10 records (preview). Paid users: Optional, max 1,000,000

## `endpoint` (type: `string`):

Which DefiLlama dataset to query.

## `protocol` (type: `string`):

Get detailed data for a specific protocol (e.g. 'aave', 'uniswap', 'lido'). Overrides endpoint selection.

## Actor input object example

```json
{
  "maxItems": 10,
  "endpoint": "protocols"
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "maxItems": 10,
    "endpoint": "protocols"
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/defillama-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "maxItems": 10,
    "endpoint": "protocols",
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/defillama-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxItems": 10,
  "endpoint": "protocols"
}' |
apify call parseforge/defillama-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=parseforge/defillama-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "DefiLlama DeFi Protocol Scraper",
        "description": "Scrape DeFi protocol analytics from DefiLlama. Get total value locked (TVL), yields, stablecoins, and chain data for 4,000+ protocols. Track TVL changes across timeframes, chain breakdowns, market cap, and protocol categories across 570+ blockchains.",
        "version": "1.0",
        "x-build-id": "LuNrmkm9yuQUJxHU8"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/parseforge~defillama-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-parseforge-defillama-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/parseforge~defillama-scraper/runs": {
            "post": {
                "operationId": "runs-sync-parseforge-defillama-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/parseforge~defillama-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-parseforge-defillama-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "Free users: Limited to 10 records (preview). Paid users: Optional, max 1,000,000"
                    },
                    "endpoint": {
                        "title": "Data Source",
                        "enum": [
                            "protocols",
                            "chains",
                            "stablecoins",
                            "yields",
                            "historical-tvl"
                        ],
                        "type": "string",
                        "description": "Which DefiLlama dataset to query."
                    },
                    "protocol": {
                        "title": "Protocol Slug",
                        "type": "string",
                        "description": "Get detailed data for a specific protocol (e.g. 'aave', 'uniswap', 'lido'). Overrides endpoint selection."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
