Fia & Greed Gas API

The gas API from Fia & Greed — 6 operation(s) for gas.

GitHub OpenAPI

Operations 6

GET /v1/gas/prices Get All Prices #
GET /v1/gas/prices/{chain} Get Chain Price #
POST /v1/gas/estimate Estimate Cost #
GET /v1/gas/compare/{tx_type} Compare Costs #
GET /v1/gas/history/{chain} History #
GET /v1/gas/cheapest/{tx_type} Cheapest Chain #

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/fiasignals-com:fiasignals-com-gas-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

fiasignals-com-gas-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Signals Gas API
  version: 1.0.0
tags:
- name: Gas
paths:
  /v1/gas/prices:
    get:
      tags:
      - Gas
      summary: Get All Prices
      operationId: get_all_prices_v1_gas_prices_get
      parameters:
      - name: fresh
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Fresh
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get All Prices V1 Gas Prices Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/gas/prices/{chain}:
    get:
      tags:
      - Gas
      summary: Get Chain Price
      operationId: get_chain_price_v1_gas_prices__chain__get
      parameters:
      - name: chain
        in: path
        required: true
        schema:
          type: string
          title: Chain
      - name: fresh
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Fresh
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Chain Price V1 Gas Prices  Chain  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/gas/estimate:
    post:
      tags:
      - Gas
      summary: Estimate Cost
      operationId: estimate_cost_v1_gas_estimate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EstimateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Estimate Cost V1 Gas Estimate Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/gas/compare/{tx_type}:
    get:
      tags:
      - Gas
      summary: Compare Costs
      operationId: compare_costs_v1_gas_compare__tx_type__get
      parameters:
      - name: tx_type
        in: path
        required: true
        schema:
          type: string
          title: Tx Type
      - name: token
        in: query
        required: false
        schema:
          type: string
          default: native
          title: Token
      - name: amount
        in: query
        required: false
        schema:
          anyOf:
          - type: number
          - type: 'null'
          title: Amount
      - name: urgency
        in: query
        required: false
        schema:
          type: string
          default: standard
          title: Urgency
      - name: chains
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Comma-separated chain list
          title: Chains
        description: Comma-separated chain list
      - name: include_bridge_from
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Include Bridge From
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Compare Costs V1 Gas Compare  Tx Type  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/gas/history/{chain}:
    get:
      tags:
      - Gas
      summary: History
      operationId: history_v1_gas_history__chain__get
      parameters:
      - name: chain
        in: path
        required: true
        schema:
          type: string
          title: Chain
      - name: hours
        in: query
        required: false
        schema:
          type: integer
          maximum: 336
          minimum: 1
          default: 24
          title: Hours
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 5000
          minimum: 10
          default: 500
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response History V1 Gas History  Chain  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/gas/cheapest/{tx_type}:
    get:
      tags:
      - Gas
      summary: Cheapest Chain
      operationId: cheapest_chain_v1_gas_cheapest__tx_type__get
      parameters:
      - name: tx_type
        in: path
        required: true
        schema:
          type: string
          title: Tx Type
      - name: token
        in: query
        required: false
        schema:
          type: string
          default: native
          title: Token
      - name: amount
        in: query
        required: false
        schema:
          anyOf:
          - type: number
          - type: 'null'
          title: Amount
      - name: urgency
        in: query
        required: false
        schema:
          type: string
          default: standard
          title: Urgency
      - name: include_bridge_from
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Include Bridge From
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Cheapest Chain V1 Gas Cheapest  Tx Type  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    EstimateRequest:
      properties:
        chain:
          type: string
          title: Chain
          description: Target chain
        tx_type:
          type: string
          title: Tx Type
          description: Transaction type
        token:
          type: string
          title: Token
          default: native
        amount:
          anyOf:
          - type: number
          - type: 'null'
          title: Amount
        urgency:
          type: string
          title: Urgency
          description: slow | standard | fast
          default: standard
        include_bridge_from:
          anyOf:
          - type: string
          - type: 'null'
          title: Include Bridge From
          description: Optional source chain for bridge-first costing
      type: object
      required:
      - chain
      - tx_type
      title: EstimateRequest