4

How can I get all cryptocurrencies github main accounts (where there is one) ?

This information should be able with Coingecko API, as for instance we can see here a line called source code giving the address of the bitcoin github repository.

I want to get the githubs using coingecko API for all cryptocurrencies but I did not find any information for that in the documentation.

Is there an option to get this information from this API ? Or is there another free API for getting this information if this is not possible on coingecko ?

Any help would be great !

Linda Paiste
  • 38,446
  • 6
  • 64
  • 102
Li Tuan
  • 41
  • 2

1 Answers1

0

You can get the repo URLs in the coin detail endpoint (GET /coins/{id}, docs), property links.repos_url.

Example:

https://api.coingecko.com/api/v3/coins/bitcoin

{
  "id": "bitcoin",
  ...
  "links": {
      ...
      "repos_url": {
        "github": [
          "https://github.com/bitcoin/bitcoin",
          "https://github.com/bitcoin/bips"
        ],
        "bitbucket": []
      }
  }
}
Petr Hejda
  • 40,554
  • 8
  • 72
  • 100