# Gas Platform

The Blocknative Gas Platform is a set of APIs that accurately price transactions to get them on-chain faster, for less. Simply integrate the API into your protocol, dapp, wallet, or bot to get started.

## The Blocknative Difference

The Gas Platform is the industry's most precise tool for predicting gas prices. Unlike other solutions relying solely on on-chain data, Blocknative leverages real-time mempool data when accessible and predictive modeling to forecast gas price distribution and the gas price required for inclusion in the next block or next ∼10 seconds, depending on the chain. Blocknative confidently prices your user's transactions for the transaction execution speed desired based on the current pressure in the mempool:

* **Based on** [**quantile regression model**](https://www.blocknative.com/blog/base-fee-prediction-and-intelligent-max-fee): optimized for accurate and consistent prediction of the minimum marketable gas price for either the next block or the next ∼10 seconds, depending on the chain.
* **Accurately predicting&#x20;*****minimum*****&#x20;gas price:** Prediction models must measure the validity of their results against the ground truth of confirmed blocks.
* **Avoiding over paying:** Confidence in predicting sufficient gas price to be included in the next block must be balanced against over paying. *Our goal is to be as close as possible, but not below, the minimum gas price of the next block*.
* **User control:** Since different users have different degrees of urgency for getting transactions into the next block, we provide a range of confidence levels for next-block inclusion.

## APIs Available

Three gas APIs are available to integrate into your protocol, dapp, or bot:

* The [Gas Price API](https://docs.blocknative.com/gas-prediction/gas-platform) provides precise, real-time calculations required for next-block or next ∼10 seconds confirmation, depending on the chain. Available for Ethereum, Polygon, Bitcoin, SEI, Optimism, Arbitrum, Base and others.
* The [Base Fee Prediction API](https://docs.blocknative.com/gas-prediction/prediction-api-base-fee-and-blob-fee) provides both type-2 base fee and type-3 blob base fee prediction 5 blocks into the future. Available for Ethereum.
* The [Gas Distribution API](https://docs.blocknative.com/gas-prediction/gas-distribution-api) provides the distribution of gas prices in the mempool at that moment in time. Available for Ethereum.

The use of these endpoints requires an API key. Request an API key [here](https://www.blocknative.com/request-api-key).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.blocknative.com/gas-prediction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
