# Extract Ethereum Mainnet Gas Oracle Data

**Use case:** 

Extract Etherscan gas oracle data for Ethereum mainnet with latest block, safe gas, fast gas, and gas-used ratios.

## Input

```json
{
  "chainId": 1,
  "samples": 3,
  "intervalSeconds": 5,
  "includeRawResponse": false,
  "maxRetries": 2
}
```

## Output

```json
{
  "timestamp": {
    "label": "Timestamp"
  },
  "chainId": {
    "label": "Chain ID"
  },
  "sampleIndex": {
    "label": "Sample #"
  },
  "status": {
    "label": "Status"
  },
  "lastBlock": {
    "label": "Last block"
  },
  "safeGasPriceGwei": {
    "label": "Safe gas (Gwei)"
  },
  "proposeGasPriceGwei": {
    "label": "Propose gas (Gwei)"
  },
  "fastGasPriceGwei": {
    "label": "Fast gas (Gwei)"
  },
  "suggestedBaseFeeGwei": {
    "label": "Suggested base fee (Gwei)"
  },
  "gasUsedRatioRaw": {
    "label": "Gas used ratio raw"
  },
  "sourceUrl": {
    "label": "Source URL"
  },
  "error": {
    "label": "Error"
  }
}
```

## About this Actor

This example demonstrates how to use [Etherscan Gas Tracker Scraper](https://apify.com/automation-lab/etherscan-gas-tracker-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/etherscan-gas-tracker-scraper) to learn more, explore other use cases, and run it yourself.