🟒
Filecoin Green Documentation
  • πŸ“—Filecoin Green Documentation
  • ♻️Storage Providers Green Guidance Documentation
    • 🌐Introduction
    • 🌍Filecoin Green
      • πŸ”±Filecoin Green Pledge
    • πŸ“‘Storage Provider’s Tiered Sustainability Claims
    • πŸ“‹Storage Providers Sustainability Criteria
      • GHG Emissions Accounting
        • How Storage Providers should Calculate Emissions
      • Renewable Energy Procurement
        • How Storage Providers should Procure Renewable Energy
          • Renewable Electricity Sourcing Methods
            • Spotlight: DCENT
          • Additional methods for procuring renewable energy
            • Spotlight: Zero Labs
          • Credible Claims Requirements
          • Energy Sources and Technologies
      • Additional Reporting Criteria and Reporting Cadence
        • Water Use
        • Hardware Waste
        • Reporting Periods and Cadence
    • πŸ”†Conclusion
    • πŸ—ƒοΈAdditional Resources
      • Annex 1: Carbon Accounting Methodologies Hierarchy
      • Annex 2: Details on Storage Provider’s Tiered Sustainability Claims
      • Annex 3: Filecoin Green Reporting Portal
      • Annex 4: Treatment of Carbon Credits
  • βš™οΈFilecoin Green API Docs
    • πŸ”§List of APIs
      • ⚑Energy Consumption API
      • 🌿Green Scores API
      • πŸ“ˆRenewable Energy Certificates API
      • ↔️Filecoin Miner ID <-> Peer ID relation API
  • πŸ–₯️Filecoin Green UI Tools
    • πŸ”CID.place
    • πŸ“ƒREC Browser
    • πŸ“ˆMetered Energy Consumption
    • πŸ“©CSV Export utility
    • πŸ‘ΎCO2.Storage
  • πŸ“šAdditional Resources
  • πŸ‘ΎCO2.Storage Docs
    • 🧐About
    • βš™οΈData Model
    • βš’οΈUI: Getting Started
    • πŸ—οΈSetting Up the CLI
    • ✍️Template Author's Guide
    • πŸ’₯Examples
    • 🌱Build a Web UI
    • πŸ–₯️UI Functionality
    • ⌨️API Functionality
    • πŸŽ†Configuring IPFS Nodes
    • ‼️FAQ
    • πŸ—ΊοΈDevelopment Roadmap
    • πŸ—»Decarbonize Your Travel
    • πŸ’‘Energy Validation Process (EVP) Schema
Powered by GitBook
On this page
  • Find Peer IDs for provided Miner IDs
  • Get Filecoin storage providers' Peer IDs for supplied list of comma separated Miner IDs
  • Find Miner IDs for provided Peer IDs
  • Get Filecoin storage providers' Miner IDs for supplied list of comma separated Peer IDs
  1. Filecoin Green API Docs
  2. List of APIs

Filecoin Miner ID <-> Peer ID relation API

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

PreviousRenewable Energy Certificates APINextFilecoin Green UI Tools

Last updated 2 years ago

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

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:

Query Parameters

Name
Type
Description

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

Query Parameters

Name
Type
Description

peer_id

String

Comma separated list of peer IDs

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

Example:

βš™οΈ
πŸ”§
↔️
here
https://green.filecoin.space/minerid-peerid/api/v1/peer-id?miner_id=f01234
https://green.filecoin.space/minerid-peerid/api/v1/miner-id?peer_id=12D3KooWPWJemjphGa2pANr6j7HCaLyjUvCroHyTJsATY6TaCFAF