Fantomfoundation latest data API

The latest data API from Fantomfoundation, for latest data.

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 1

GET /api/v1/get-latest-data Get latest data #

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-latest-data-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-latest-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fantom explorer latest data API
  description: Work in progress
  version: '0.1'
servers:
- url: http://3.136.216.35:3100
tags:
- name: latest data
paths:
  /api/v1/get-latest-data:
    servers:
    - url: http://3.136.216.35:3100
    get:
      description: Returns latest blocks and transactions with pagination. Max count = 30.
      parameters:
      - name: count
        in: query
        schema:
          type: integer
        example: 1
      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
                      count:
                        type: integer
                        description: number of blocks and transactions per page
                      blocks:
                        type: array
                        items:
                          $ref: '#/components/schemas/Block'
                      transactions:
                        type: array
                        items:
                          $ref: '#/components/schemas/Transaction'
      servers:
      - url: http://3.136.216.35:3100
      summary: Get latest data
      tags:
      - latest data
      operationId: getApiV1GetLatestData
      x-operation-id-source: derived
components:
  schemas:
    Block:
      type: object
      properties:
        gasUsed:
          type: integer
          description: The total used gas by all transactions in this block.
        hash:
          type: string
          description: Hash of the block.
        number:
          type: integer
          description: The block number.
        parentHash:
          type: string
          description: Hash of the parent block.
        stateRoot:
          type: string
          description: The root of the final state trie of the block.
        timestamp:
          type: integer
          description: The unix timestamp for when the block was collated.
        transactions:
          type: integer
          description: number of transactions in block
    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