Go back

Basic Attention Token (BAT) API and Price Oracle

Basic Attention Token icon

Basic Attention Token

BAT
$ 
Information
For informational use only; request a custom oracle/API for production below.

General information

Contract address
Smart contract address of the asset
More info
0x0d87...87ef
Network
Blockchain network where the asset is deployed
More info
ethereum
Methodology
Pricing methodology used to determine the price of the token in USD. By default, all price feeds on the DIA App are calculated with a MAIR methodology. This parameter is customisable.Learn more about methodologies.
More info
MAIR
Update frequency
120 seconds is the default update frequency. This parameter is customisable.Learn more about oracle updates.
More info
120s
Next update
24h Volume
The total volume captured by DIA across all the integrated sources.
More info
Source
Volume 24h
Trades 24h
Pairs

Get a custom Basic Attention Token price oracle or API endpoint

Request custom oracle

Request a fully tailored price oracle implementation

  • Autonomously deploy oracles under 3 minutes
  • Tailored oracles for any individual needs
  • Editable, updatable oracles
  • Real-time gas balance notifications
  • Available in 50+ chains
Start request process

Token information

What is Basic Attention Token (BAT)?

Basic Attention Token (BAT) is a utility token built on Ethereum that powers the Brave browser's attention economy model. Users earn BAT by viewing privacy-respecting ads, while publishers and content creators receive tokens for their audience engagement. Launched in 2017 by Brave Software founder Brendan Eich, BAT aligns user attention with direct rewards, replacing traditional ad intermediaries. The token functions as the currency within Brave's ecosystem for tipping, ad payments, and creator support.

The Basic Attention Token price API is a data feed that returns real-time BAT pricing derived from aggregated trade data across multiple on-chain and off-chain exchanges. Developers integrate this endpoint into applications that need current BAT market values, such as wallet interfaces, trading dashboards, DeFi protocols, or analytics platforms monitoring the Ethereum-based attention token used in the Brave browser ecosystem.

DIA offers a Basic Attention Token price API built on its oracle infrastructure spanning 60+ blockchains. The free endpoint available on this page enables developers to test integration and evaluate data quality before production deployment. For production environments or custom requirements, DIA builds dedicated feeds configurable by data sources, pricing methodology, and update frequency. Production implementations can be requested through DIA's Discord or Telegram channels.

DIA publishes a free Basic Attention Token price API endpoint on this asset page, available for developers to test and evaluate without cost. The endpoint aggregates trade data from on-chain and off-chain sources across 100+ exchanges to deliver market prices for BAT.

The free endpoint is intended for testing and evaluation only, not for production use. Developers requiring production deployment or custom configuration of BAT price feeds—such as adjusted data sources, alternative pricing methodology, or modified update frequency—can request a dedicated feed through DIA's Discord or Telegram channels.

A blockchain price oracle is an external information provider that supplies verified offchain data to smart contracts on the blockchain. Price oracles enable decentralized applications to access real-world market data needed for transactions, liquidations, and other onchain logic.

DIA can deploy a Basic Attention Token (BAT) price oracle on any supported blockchain, delivering verified onchain BAT price data that smart contracts can consume. DIA's market price feeds aggregate individual trade data from 100+ exchanges across onchain and offchain sources. DIA's oracle infrastructure runs on Lasernet, an Ethereum layer-2 rollup, which makes each feed independently verifiable. Custom BAT price oracles are configurable by data sources, pricing methodology, and update frequency. Production deployments and custom requirements are requested via DIA's Discord or Telegram.

DIA calculates Basic Attention Token price by aggregating individual trade data from on-chain and off-chain sources across multiple exchanges, rather than relying on a single exchange or liquidity pool. This approach captures BAT trading activity across the market infrastructure where it actually trades.

The sources used in the aggregation and the pricing methodology applied to them are transparent and publicly documented. For production deployments, the data sources, calculation method, and update frequency are configurable to meet specific application requirements. Custom feed parameters can be requested through DIA's Discord or Telegram channels.

A free API endpoint for testing this price feed is available on this asset's page and is suitable for evaluation purposes.

Basic Attention Token (BAT) is an ERC-20 utility token used within the Brave browser ecosystem to reward content creators and users for attention metrics. Developers can build several concrete applications using BAT price data.

Advertising settlement platforms can ingest BAT price feeds to calculate real-time payouts for publishers and advertisers participating in Brave's attention-based ad system, converting attention metrics into fiat-equivalent compensation. Decentralized exchanges and DEX aggregators use BAT pricing to route trades and manage liquidity pools where BAT pairs trade against stablecoins or other assets. Token-holder governance dashboards consume BAT price data to display voting power weighted by current token value, helping BAT holders assess their stake in protocol decisions.

DIA aggregates Basic Attention Token price data from 100+ exchanges by collecting individual trade data across on-chain and off-chain sources, making sourcing transparent and traceable. Developers can configure custom feeds by specifying data sources, pricing methodology, and update frequency rather than accepting a one-size-fits-all approach.

DIA deploys price oracles across 60+ blockchains, allowing Basic Attention Token feeds to reach applications wherever they operate. Each feed runs on Lasernet, DIA's Ethereum layer-2 rollup, enabling independent verification of price data on-chain.

To evaluate DIA for Basic Attention Token, developers can test the free price-feed API endpoint available on this page. For production use or custom requirements, teams request a dedicated feed through DIA's Discord or Telegram.

Why use DIA data feeds and oracles?

Transparent

DIA provides full insight on the oracle’s data journey as well monitoring tools to track feeds in real-time.

Customisable

Oracles can be tailored to any use case in terms of data sources, methodologies and update mechanisms and much more.

Broadest coverage

DIA provides price oracles for 3,000+ cryptocurrencies: from blue-chip tokens to long-tail assets.