Get all cryptocurrencies github repositories on coingecko API

462 Views Asked by At

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 !

1

There are 1 best solutions below

0
On

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": []
      }
  }
}