logicnodes-io Gas API
The Gas API from logicnodes-io — 3 operation(s) for gas.
The Gas API from logicnodes-io — 3 operation(s) for gas.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/logicnodes-io:logicnodes-io-gas-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: LogicNodes Gas API
version: 1.0.0
description: 'Blockchain and finance tools AI agents can trust: exact answers or typed errors, never a plausible guess. 40+ tools for EVM chains and Aptos (balances, token amounts, transaction status and receipts, contract and calldata decoding, payment verification, gas on 14 chains), exact finance math, and ERC-8004 agent reputation. Every answer carries a receipt timestamped into Bitcoin. Free tier; pay per call in USDC via x402 on 13 networks, no API key.'
x-guidance: 'How to use LogicNodes: 1) GET /v1/tools lists every tool with its JSON Schema. 2) POST /v1/tools/<name> with a JSON body, e.g. POST /v1/tools/evm_balance {"chain":"eip155:8453","address":"0x..."} or POST /v1/tools/token_amount_convert {"chain":"eip155:8453","asset":"<token address>","amount":"1.5","direction":"toBase"}. 3) Read "ok": true with "value", or "ok": false with a typed error: INVALID_INPUT (fix the field named), AMBIGUOUS_INPUT (pick one of the options listed and call again), NOT_FOUND, UPSTREAM_ERROR (retry). Chains are CAIP-2 ids (eip155:8453 Base, eip155:1 Ethereum, aptos:1); names like "base" are refused. Amounts are decimal strings, never floats. Pricing: free tools are unlimited; priced tools are free for 25 calls per day per IP, then the same URL returns 402 with x402 terms (USDC on Base, Solana, Polygon, Arbitrum and more: /v1/payments/methods); pay and retry. A failed call is never charged. MCP: /mcp/v2. Full guide: /agent-guide.'
contact:
email: denneyconner5@gmail.com
servers:
- url: https://logicnodes.io
tags:
- name: Gas
paths:
/premium/snapshot:
get:
summary: All-chains gas snapshot ($0.005 per call)
description: Gas price estimates for every supported chain in a single call.
operationId: all-chains-snapshot
parameters:
- name: confidenceLevels
in: query
required: false
explode: false
description: Comma-separated confidence levels 1-99 (max 12)
schema:
type: array
items:
type: integer
minimum: 1
maximum: 99
maxItems: 12
tags:
- Gas
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.005'
protocols:
- x402: {}
x-logicnodes:
asset: USDC
scheme: exact
methods: https://logicnodes.io/v1/payments/methods
terms: base64 PAYMENT-REQUIRED response header
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'Payment Required: terms are in the base64 PAYMENT-REQUIRED response header'
'503':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/premium/curve:
get:
summary: Extended confidence curve ($0.002 per call)
description: A dense gas-price curve (20 confidence points, 5-99%) for one chain, beyond the free tier's 12-level cap.
operationId: confidence-curve
parameters:
- name: chainid
in: query
required: false
description: EVM chain id; default 1
schema:
type: integer
enum:
- 1
- 8453
- 42161
- 10
- 137
- 56
- 43114
- 59144
- 534352
- 324
- 100
- 81457
- 5000
- 42220
default: 1
tags:
- Gas
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002'
protocols:
- x402: {}
x-logicnodes:
asset: USDC
scheme: exact
methods: https://logicnodes.io/v1/payments/methods
terms: base64 PAYMENT-REQUIRED response header
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'Payment Required: terms are in the base64 PAYMENT-REQUIRED response header'
'503':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/premium/forecast:
get:
summary: Next-blocks fee forecast ($0.01 per call)
description: Deterministic worst/best-case base-fee bound for the next 1-10 blocks (EIP-1559's 12.5%-per-block cap), not a statistical prediction.
operationId: block-forecast
parameters:
- name: chainid
in: query
required: false
description: EVM chain id; default 1
schema:
type: integer
enum:
- 1
- 8453
- 42161
- 10
- 137
- 56
- 43114
- 59144
- 534352
- 324
- 100
- 81457
- 5000
- 42220
default: 1
- name: blocks
in: query
required: false
description: How many blocks ahead, 1-10
schema:
type: integer
minimum: 1
maximum: 10
default: 5
tags:
- Gas
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
x-logicnodes:
asset: USDC
scheme: exact
methods: https://logicnodes.io/v1/payments/methods
terms: base64 PAYMENT-REQUIRED response header
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'Payment Required: terms are in the base64 PAYMENT-REQUIRED response header'
'503':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
properties:
error:
type: string
message:
type: string
required:
- error
- message