Toolsmith gas price API

The gas price API from Toolsmith — 1 operation(s) for gas price.

GitHub OpenAPI

Operations 1

GET /t/crypto/gas Gas Price #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/toolcall-click:toolcall-click-gas-price-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

toolcall-click-gas-price-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Toolsmith gas price API
  version: 1.0.0
  description: 'Keyless pay-per-call APIs for AI agents: 30 tools across compliance, trade, safety, web and data. Pay per call with USDC on Base via x402. No account, no API key.'
  x-guidance: Every tool is a GET endpoint under /t/ taking query parameters. Call it without payment to receive an HTTP 402 challenge with x402 v2 payment requirements (USDC on Base, network eip155:8453); pay and retry the same URL to get the JSON result. GET / lists all tools with prices and example inputs; GET /.well-known/x402 serves the machine-readable manifest. Prices range $0.002-$0.25 per call.
  contact:
    email: dassad10@gmail.com
servers:
- url: https://toolcall.click
tags:
- name: gas price
paths:
  /t/crypto/gas:
    get:
      operationId: crypto-gas
      summary: Gas Price
      description: Current gas price and latest block for Base or Ethereum mainnet, straight from public RPC. Fresh within 15 seconds. JSON response.
      tags:
      - gas price
      parameters:
      - name: chain
        in: query
        required: true
        description: Chain to query
        schema:
          type: string
          enum:
          - base
          - ethereum
          description: Chain to query
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.002000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
              example:
                chain: base
                gasPriceWei: '5150000'
                gasPriceGwei: 0.00515
                blockNumber: 32456789
        '402':
          description: Payment Required