How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Basescan Gas Tracker API

The Gas Tracker API from Basescan — 5 operation(s) for gas tracker.

Basescan Gas Tracker API is one of 10 APIs that Basescan publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Gas Tracker. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and rate-limit docs.

This API exposes 5 operations across 5 paths, and defines 14 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against 2 base URLs: https://api.basescan.org/api, https://api-sepolia.basescan.org/api.

5 operations 5 paths 14 schemas 5 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.basescan.org/api
Authentication
API Key
License
Resource Areas
1

Authentication & Security 1

Basescan Gas Tracker API declares 1 security scheme for authenticating requests. An API key is passed in the query as apikey (apiKeyAuth). By default, every request must be authenticated.

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 5 GET. Each is listed below with its method, path, parameters, and response codes.

Gas Tracker 5
GET
/?module=gastracker&action=gasestimate
Get Estimation of Confirmation Time
get-estimation-of-confirmation-time 1 param → 200
GET
/?module=gastracker&action=gasoracle
Get Gas Oracle
get-gas-oracle → 200
GET
/?module=stats&action=dailyavggaslimit
Get Daily Average Gas Limit
get-daily-average-gas-limit 3 params → 200
GET
/?module=stats&action=dailygasused
Get Ethereum Daily Total Gas Used
get-ethereum-daily-total-gas-used 3 params → 200
GET
/?module=stats&action=dailyavggasprice
Get Daily Average Gas Price
get-daily-average-gas-price 3 params → 200

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are ResponseOK (3 properties), ResponseNOTOK (3 properties), Result.stats.dailyavggaslimit (1 property), Result.gastracker.gasoracle (1 property). Each schema is shown below with its type and property counts.

UnixTimestampString
string
A Unix timestamp representing the number of seconds since January 1, 1970, expressed as a string.
IntegerMin0String
string
An integer greater than 0 represented as a string.
Result.gastracker.gasestimate
object
1 property
Result.stats.dailygasused
object
1 property
DateYYYYMMDD
string
A date in the YYYY-MM-DD format
FloatString
string
A float represented as a string.
FloatCsvString
string
A comma-separated list of float values, represented as a string.
ResponseOK
object
3 properties 3 required
Result.gastracker.gasoracle
object
1 property
PageSort
string
IntegerMin1
integer
Result.stats.dailyavggaslimit
object
1 property
ResponseNOTOK
object
3 properties 3 required
Result.stats.dailyavggasprice
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

basescan-gas-tracker-api-openapi.yml Raw ↑

Other APIs Basescan publishes across the network.

Basescan Accounts API
Basescan API PRO Endpoints API
Basescan Blocks API
Basescan Contracts API
Basescan Geth/Parity Proxy API
Basescan Logs API
Basescan Stats API
Basescan Tokens API
Basescan Transactions API
Where this information came from

This is an independent, third-party profile of Basescan Gas Tracker API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.