Polygon API v1 Overview

Learn all about Blockdaemon's Polygon Staking Reporting API.

❗️

Now Supporting v2!

This section covers Polygon Staking Reporting v1. For upgraded functionality, check out our Polygon Staking Reporting v2.

Overview

With Blockdaemon Polygon Staking Reporting API, you can easily access Polygon staking information, which can be used for financial data analysis.

  • Retrieve staking data in Polygon Mainnet.
  • You can get the current or historical stake & rewards allocated to a given validator or delegator address(es) and other data, such as the status of a validator.
  • Verify the staking activity to a multiple or a given validator or delegator.

➡️ Get the Rewards

Endpoints

Sample Object

The example object returned by the Get the Stake & Rewards of a Delegator endpoint is shown below.

{
  "address": "0x2Be2Fa0C5A0BA2c046eDE2255E4bD08854347dE1",
  "currency": "MATIC",
  "metadata": {
    "epoch": 47429
  },
  "return": 0.214970142,
  "startingBalance": 120155.197012563,
  "timeAggregation": "epoch",
  "timeEnd": "2023-06-22T14:00:59Z",
  "timeStart": "2023-06-22T14:00:59Z"
}

➡️ Get a Status

Endpoints

Endpoint
Get the Status of a Delegator - GET /delegator/status/{address}
Get the Status of a Validator - GET /validator/status/{address}
Get the Status of Multiple Delegators - POST /delegator/status
Get the Status of Multiple Validators - POST /validator/status

Sample Object

The example object returned by the Get the Status of Multiple Validators endpoint is shown below.

{
  "addresses": [
    {
      "activationDate": "2021-03-28",
      "address": "0x72Cb5483e921DA4425D506cBC108aBC46eFB77c6",
      "status": "active"
    },
    {
      "activationDate": "2021-05-23",
      "address": "0x641f789E463295F05e7da0cFD85Fcf1D6d74785e",
      "status": "active"
    }
  ]
}

➡️ Verify a Staking Activity

Endpoints

Sample Object

The example object returned by the Verify the Staking Activity of a Delegator endpoint is shown below.

{
  "active": false,
  "address": "0x2Be2Fa0C5A0BA2c046eDE2255E4bD08854347dE1"
}

👋 Need Help?

Contact us through email or our support page for any issues, bugs, or assistance you may need.