Fantomfoundation Staker API

The staker API from Fantomfoundation, for staker.

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 8

GET /api/v1/staker/id/{id}/downtime Staker's downtime #
GET /api/v1/staker/id/{id}/origination-score Staker's origination score #
GET /api/v1/staker/id/{id}/poi Staker's PoI #
GET /api/v1/staker/id/{id}/validation-score Staker's validating score #
GET /api/v1/staker/id/{id} Staker by id #
GET /api/v1/staker/address/{address} Staker by address #
GET /api/v1/staker/ Stakers list #
GET /api/v1/staker/id/{id}/reward-weights Staker's reward weights #

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-staker-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-staker-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fantom explorer Staker API
  description: Work in progress
  version: '0.1'
servers:
- url: http://3.136.216.35:3100
tags:
- name: staker
paths:
  /api/v1/staker/id/{id}/downtime:
    servers:
    - url: http://3.136.216.35:3100
    get:
      description: Period of time in nanoseconds for which validator didn’t participate in blocks.
      parameters:
      - name: id
        in: path
        schema:
          type: number
        example: 1
        required: true
      responses:
        '200':
          description: ok
          content:
            application/json; charset=utf-8:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta'
                  data:
                    type: object
                    properties:
                      downtime:
                        type: string
                      missedBlocks:
                        type: string
      servers:
      - url: http://3.136.216.35:3100
      summary: Staker's downtime
      tags:
      - staker
      operationId: getApiV1StakerIdByIdDowntime
      x-operation-id-source: derived
  /api/v1/staker/id/{id}/origination-score:
    servers:
    - url: http://3.136.216.35:3100
    get:
      description: Returns staker's origination score
      parameters:
      - name: id
        in: path
        schema:
          type: number
        example: 1
        required: true
      responses:
        '200':
          description: ok
          content:
            application/json; charset=utf-8:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta'
                  data:
                    type: object
                    properties:
                      originationScore:
                        type: string
      servers:
      - url: http://3.136.216.35:3100
      summary: Staker's origination score
      tags:
      - staker
      operationId: getApiV1StakerIdByIdOriginationScore
      x-operation-id-source: derived
  /api/v1/staker/id/{id}/poi:
    servers:
    - url: http://3.136.216.35:3100
    get:
      description: Returns staker's proof of importance
      parameters:
      - name: id
        in: path
        schema:
          type: number
        example: 1
        required: true
      responses:
        '200':
          description: ok
          content:
            application/json; charset=utf-8:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta'
                  data:
                    type: object
                    properties:
                      poi:
                        type: string
      servers:
      - url: http://3.136.216.35:3100
      summary: Staker's PoI
      tags:
      - staker
      operationId: getApiV1StakerIdByIdPoi
      x-operation-id-source: derived
  /api/v1/staker/id/{id}/validation-score:
    servers:
    - url: http://3.136.216.35:3100
    get:
      description: Returns staker's validating score
      parameters:
      - name: id
        in: path
        schema:
          type: number
        example: 1
        required: true
      responses:
        '200':
          description: ok
          content:
            application/json; charset=utf-8:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta'
                  data:
                    type: object
                    properties:
                      validationScore:
                        type: string
      servers:
      - url: http://3.136.216.35:3100
      summary: Staker's validating score
      tags:
      - staker
      operationId: getApiV1StakerIdByIdValidationScore
      x-operation-id-source: derived
  /api/v1/staker/id/{id}:
    servers:
    - url: http://3.136.216.35:3100
    get:
      description: Returns staker by its id
      parameters:
      - name: id
        in: path
        schema:
          type: number
        example: 1
        required: true
      - name: verbosity
        in: query
        schema:
          type: number
        example: 2
        description: If 1, then include base fields. If 2, then include metrics.
      responses:
        '200':
          description: ok
          content:
            application/json; charset=utf-8:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta'
                  data:
                    $ref: '#/components/schemas/StakerObject'
      servers:
      - url: http://3.136.216.35:3100
      summary: Staker by id
      tags:
      - staker
      operationId: getApiV1StakerIdById
      x-operation-id-source: derived
  /api/v1/staker/address/{address}:
    servers:
    - url: http://3.136.216.35:3100
    get:
      description: Returns staker by its address
      parameters:
      - name: address
        in: path
        schema:
          type: string
        example: '0xf88d5892faf084dcf4143566d9c9b3f047c153ca'
        required: true
      - name: verbosity
        in: query
        schema:
          type: number
        example: 2
        description: If 0, then include only stakerID. If 1, then include base field. If 2, then include metrics.
      responses:
        '200':
          description: ok
          content:
            application/json; charset=utf-8:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta'
                  data:
                    $ref: '#/components/schemas/StakerObject'
      servers:
      - url: http://3.136.216.35:3100
      summary: Staker by address
      tags:
      - staker
      operationId: getApiV1StakerAddressByAddress
      x-operation-id-source: derived
  /api/v1/staker/:
    servers:
    - url: http://3.136.216.35:3100
    get:
      description: Returns list of stakers.
      parameters:
      - name: verbosity
        in: query
        schema:
          type: number
        example: 2
        description: If 0, then include only stakerIDs. If 1, then include base field. If 2, then include metrics (including downtime if validator).
      responses:
        '200':
          description: ok
          content:
            application/json; charset=utf-8:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta'
                  data:
                    type: object
                    properties:
                      stakers:
                        type: array
                        items:
                          $ref: '#/components/schemas/StakerObject'
      servers:
      - url: http://3.136.216.35:3100
      summary: Stakers list
      tags:
      - staker
      operationId: getApiV1Staker
      x-operation-id-source: derived
  /api/v1/staker/id/{id}/reward-weights:
    servers:
    - url: http://3.136.216.35:3100
    get:
      description: Returns staker's baseRewardWeight and txRewardWeight.
      parameters:
      - name: id
        in: path
        schema:
          type: number
        example: 1
        required: true
      responses:
        '200':
          description: ok
          content:
            application/json; charset=utf-8:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta'
                  data:
                    type: object
                    properties:
                      baseRewardWeight:
                        type: string
                      txRewardWeight:
                        type: string
      servers:
      - url: http://3.136.216.35:3100
      summary: Staker's reward weights
      tags:
      - staker
      operationId: getApiV1StakerIdByIdRewardWeights
      x-operation-id-source: derived
components:
  schemas:
    StakerObject:
      type: object
      properties:
        address:
          type: string
        claimedRewards:
          type: string
        createdEpoch:
          type: string
        createdTime:
          type: string
        deactivatedEpoch:
          type: string
        deactivatedTime:
          type: string
        delegatedMe:
          type: string
        delegatorsClaimedRewards:
          type: string
        downtime:
          type: string
        id:
          type: string
        isCheater:
          type: boolean
        isValidator:
          type: boolean
        missedBlocks:
          type: string
        originationScore:
          type: string
        poi:
          type: string
        stake:
          type: string
        totalStake:
          type: string
        validationScore:
          type: string
        isActive:
          type: boolean
        isOffline:
          type: boolean
        baseRewardWeight:
          type: string
        txRewardWeight:
          type: string
    meta:
      type: object
      properties:
        success:
          type: boolean
          description: is operation successful
      required:
      - success