Fantomfoundation Transaction API

The transaction API from Fantomfoundation, for transaction.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

GET /api/v1/get-transaction Get transaction by hash #
GET /api/v1/get-transactions Transactions list #

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/fantomfoundation:fantomfoundation-transaction-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

fantomfoundation-transaction-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fantom explorer Transaction API
  description: Work in progress
  version: '0.1'
servers:
- url: http://3.136.216.35:3100
tags:
- name: Transaction
paths:
  /api/v1/get-transaction:
    servers:
    - url: http://3.136.216.35:3100
    get:
      parameters:
      - name: transactionHash
        in: query
        schema:
          type: string
        required: true
        example: '0x506a50cd7ecf27c3834a045d5e7501bc3bfb56b6bae03637c093c6c8d9735b8e'
      responses:
        '200':
          description: ok
          content:
            application/json; charset=utf-8:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta'
                  data:
                    type: object
                    properties:
                      transaction:
                        $ref: '#/components/schemas/Transaction'
      servers:
      - url: http://3.136.216.35:3100
      tags:
      - Transaction
      summary: Get transaction by hash
      operationId: getApiV1GetTransaction
      x-operation-id-source: derived
  /api/v1/get-transactions:
    servers:
    - url: http://3.136.216.35:3100
    get:
      description: Returns transactions list with pagination. Max count = 30, order may be -1 or 1.
      parameters:
      - name: offset
        in: query
        schema:
          type: integer
        example: 0
      - name: count
        in: query
        schema:
          type: integer
        example: 1
      - name: order
        in: query
        schema:
          type: integer
        example: -1
      - name: block
        in: query
        schema:
          type: integer
        example: 15232
      - name: from
        in: query
        schema:
          type: string
        example: '0x239fa7623354ec26520de878b52f13fe84b06971'
        description: Add filter by sender address
      - name: to
        in: query
        schema:
          type: string
        example: '0x239fa7623354ec26520de878b52f13fe84b06971'
        description: Add filter by recipient address
      - name: contractCreation
        in: query
        schema:
          type: boolean
        example: false
        description: Exclude contract creation trxs or select only ctonract creation trxs. Omitting this parameter will cause including all types of trxs in selection.
      - name: contractAddress
        in: query
        schema:
          type: string
        example: '0x1234567890123456789012345678901234567891'
        description: Add filter by contract address
      responses:
        '200':
          description: ok
          content:
            application/json; charset=utf-8:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta'
                  data:
                    type: object
                    properties:
                      maxBlockHeight:
                        type: integer
                      total:
                        type: integer
                        description: total number of transactions in database by provided (or not) conditions
                      offset:
                        type: integer
                        description: offset of pagination
                      count:
                        type: integer
                        description: number of transactions per page
                      transactions:
                        type: array
                        items:
                          $ref: '#/components/schemas/Transaction'
      servers:
      - url: http://3.136.216.35:3100
      summary: Transactions list
      tags:
      - Transaction
      operationId: getApiV1GetTransactions
      x-operation-id-source: derived
components:
  schemas:
    meta:
      type: object
      properties:
        success:
          type: boolean
          description: is operation successful
      required:
      - success
    Transaction:
      type: object
      properties:
        blockHash:
          type: string
        blockNumber:
          type: integer
        from:
          type: string
        hash:
          type: string
        value:
          type: string
        nonce:
          type: integer
        r:
          type: string
        s:
          type: string
        v:
          type: string
        gas:
          type: integer
        gasUsed:
          type: integer
        gasPrice:
          type: string
        input:
          type: string
        transactionIndex:
          type: integer
        timestamp:
          type: integer
        cumulativeGasUsed:
          type: integer
        fee:
          type: integer
        status:
          type: boolean
        to:
          type: string
        contractAddress:
          type: string