# Top USD Stablecoins Supply & Peg Prices

**Use case:** 

Get detailed insights on the top USD stablecoins, including current circulating supply and peg prices. This task retrieves data for up to 50 stablecoins, empowering crypto analysts with accurate metrics needed for market analysis and decision-making.

## Input

```json
{
  "mode": "stablecoins",
  "query": "",
  "maxItems": 50
}
```

## Output

```json
{
  "recordType": {
    "label": "recordType",
    "format": "string"
  },
  "id": {
    "label": "id",
    "format": "string"
  },
  "name": {
    "label": "name",
    "format": "string"
  },
  "symbol": {
    "label": "symbol",
    "format": "string"
  },
  "pegType": {
    "label": "pegType",
    "format": "string"
  },
  "pegMechanism": {
    "label": "pegMechanism",
    "format": "string"
  },
  "price": {
    "label": "price",
    "format": "string"
  },
  "circulatingUsd": {
    "label": "circulatingUsd",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The DeFiLlama Stablecoins & Bridges Crypto API Actor is ready to run with the inputs already set for "Top USD Stablecoins Supply & Peg Prices". [Sign up or log in](https://console.apify.com/create-task-from-example/KKSgwi7ESKFLeHMwS) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Top USD Stablecoins Supply & Peg Prices" task

The DeFiLlama Stablecoins & Bridges Crypto API Actor will start running based on the input automatically. You can also change all the input fields, like dataset mode and max items, to match your specific use case.

### 3. Receive the "Top USD Stablecoins Supply & Peg Prices" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as recordtype, id, name, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Top USD Stablecoins Supply & Peg Prices" task via API](https://apify.com/mehdad-datalabs/defillama-stablecoins-bridges-crypto-api.md).

## FAQ

### What data does the Top USD Stablecoins Supply & Peg Prices task return?

The Top USD Stablecoins Supply & Peg Prices task returns circulating supply, peg types, prices, and additional details for up to 50 USD stablecoins.

### What is the maximum number of stablecoins this task can analyze?

The task can analyze a maximum of 50 USD stablecoins at a time.

### What does the 'pegType' field indicate in the task output?

The 'pegType' field indicates the type of peg for each stablecoin, identifying whether it is pegged to fiat currencies or other assets.

### How can I automate running this task?

This task can be automated using the API, or by integrating it with tools like n8n or Clay for seamless execution.

### Does this task require any special authentication to run?

No, the task can be executed without any authentication or external API keys.

### How is the data from this task structured in the output?

The output data is structured in JSON format, providing key details such as id, name, symbol, price, and circulating supply.

## About this Actor

This example demonstrates how to use [DeFiLlama Stablecoins & Bridges Crypto API](https://apify.com/mehdad-datalabs/defillama-stablecoins-bridges-crypto-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/mehdad-datalabs/defillama-stablecoins-bridges-crypto-api.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/mehdad-datalabs/defillama-stablecoins-bridges-crypto-api.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
