↔️Filecoin Miner ID <-> Peer ID relation API

This API provides relation in between Filecoin Miner IDs and Peer IDs.

Good to know: In addition to below there is an Open API documentation available here.

Find Peer IDs for provided Miner IDs

By passing in the comma delimited list of Miner Ids, you can search for related Peer Ids in the system.

Get Filecoin storage providers' Peer IDs for supplied list of comma separated Miner IDs

GET https://green.filecoin.space/minerid-peerid/api/v1/peer_id

Example: https://green.filecoin.space/minerid-peerid/api/v1/peer-id?miner_id=f01234

Query Parameters

NameTypeDescription

miner_id

String

Comma separated list of miner IDs

[
  {
    "Head": 1908194,
    "MinerId": "f01234",
    "PeerId": "12D3KooWPWJemjphGa2pANr6j7HCaLyjUvCroHyTJsATY6TaCFAF",
    "Multiaddrs": [
      "BI2KQBQGXcE="
    ]
  }
]

Find Miner IDs for provided Peer IDs

By passing in the comma delimited list of Peer Ids, you can search for related Miner Ids in the system.

Get Filecoin storage providers' Miner IDs for supplied list of comma separated Peer IDs

GET https://green.filecoin.space/minerid-peerid/api/v1/miner_id

Example: https://green.filecoin.space/minerid-peerid/api/v1/miner-id?peer_id=12D3KooWPWJemjphGa2pANr6j7HCaLyjUvCroHyTJsATY6TaCFAF

Query Parameters

NameTypeDescription

peer_id

String

Comma separated list of peer IDs

[
  {
    "Head": 1908194,
    "MinerId": "f01234",
    "PeerId": "12D3KooWPWJemjphGa2pANr6j7HCaLyjUvCroHyTJsATY6TaCFAF",
    "Multiaddrs": [
      "BI2KQBQGXcE="
    ]
  }
]

Last updated