{"id":31926232,"url":"https://github.com/juliantoledano/goingecko","last_synced_at":"2025-10-14T01:29:14.216Z","repository":{"id":57574445,"uuid":"331417550","full_name":"JulianToledano/goingecko","owner":"JulianToledano","description":"Coingecko API client for Golang","archived":false,"fork":false,"pushed_at":"2025-06-08T15:39:42.000Z","size":1926,"stargazers_count":16,"open_issues_count":2,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T09:26:54.569Z","etag":null,"topics":["coingecko","coingecko-api","coingecko-client","cryptocurrency","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JulianToledano.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-01-20T20:01:54.000Z","updated_at":"2025-06-08T15:39:42.000Z","dependencies_parsed_at":"2024-10-31T18:22:03.663Z","dependency_job_id":"5b066def-f5f0-443f-9df9-94937e053377","html_url":"https://github.com/JulianToledano/goingecko","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/JulianToledano/goingecko","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianToledano%2Fgoingecko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianToledano%2Fgoingecko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianToledano%2Fgoingecko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianToledano%2Fgoingecko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JulianToledano","download_url":"https://codeload.github.com/JulianToledano/goingecko/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianToledano%2Fgoingecko/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017493,"owners_count":26086082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coingecko","coingecko-api","coingecko-client","cryptocurrency","go","golang"],"created_at":"2025-10-14T01:29:08.657Z","updated_at":"2025-10-14T01:29:14.211Z","avatar_url":"https://github.com/JulianToledano.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Goingecko\n\nCoingecko API client for golang.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"docs/images/goingecko_logo.png\" alt=\"goingecko\" height=\"200\" /\u003e\n\u003c/p\u003e \n\nGoingecko is a Go client library for the CoinGecko API that provides easy access to cryptocurrency data. It supports both the public and Pro API endpoints, with features like rate limiting and automatic retries. The library is designed to be simple to use while providing comprehensive access to CoinGecko's cryptocurrency data services.\n\nKey features:\n- Support for both public and Pro API endpoints\n- Rate limiting with configurable request limits\n- Automatic retry with exponential backoff\n- Comprehensive endpoint coverage\n- Type-safe API responses\n- Context support for request cancellation and timeouts\n\n\n## Endpoints\n\n### Simple Endpoints\n| Endpoint                                                   |  Status | Function                  | Plan |\n|------------------------------------------------------------|--|---------------------------|------|\n| /ping                                                      | ✓ | Ping                      | 🦎 |\n| /simple/price                                              | ✓ | SimplePrice               | 🦎 |\n| /simple/token_price/{id}                                   | ✓ | SimpleTokenPrice          | 🦎 |\n| /simple/supported_vs_currencies                            | ✓ | SimpleSupportedVsCurrency | 🦎 |\n\n### Coins Endpoints\n| Endpoint                                 |  Status | Function                | Plan |\n|------------------------------------------|--|-------------------------|----|\n| /coins/list                              | ✓ | CoinsList               | 🦎 |\n| /coins/top_gainers_losers                | ✗ |                         | 💼 |\n| /coins/list/new                          | ✗ |                         | 💼 |\n| /coins/markets                           | ✓ | CoinsMarket             | 🦎 |\n| /coins/{id}                              | ✓ | CoinsId                 | 🦎 |\n| /coins/{id}/tickers                      | ✓ | CoinsIdTickers          | 🦎 |\n| /coins/{id}/history                      | ✓ | CoinsIdHistory          | 🦎 |\n| /coins/{id}/market_chart                 | ✓ | CoinsIdMarketChart      | 🦎 |\n| /coins/{id}/market_chart/range           | ✓ | CoinsIdMarketChartRange | 🦎 |\n| /coins/{id}/ohlc                         | ✓ | CoinsOhlc               | 🦎 | \n| /coins/id/ohlc/range                     | ✗ |                         | 💼 |\n| /coins/id/circulating_supply_chart       | ✗ |                         | 👑 |\n| /coins/id/circulating_supply_chart/range | ✗ |                         | 👑 |\n| /coins/id/total_supply_chart             | ✗ |                         | 👑 |\n| /coins/id/total_supply_chart/range       | ✗ |                         | 👑 |\n\n### Contract Endpoints\n| Endpoint                                                   |  Status | Function                  | Plan |\n|------------------------------------------------------------|--|---------------------------|------|\n| /coins/{id}/contract/{contract_address}                    | ✓ | ContractInfo              | 🦎 |\n| /coins/{id}/contract/{contract_address}/market_chart/      | ✓ | ContractMarketChart       | 🦎 |\n| /coins/{id}/contract/{contract_address}/market_chart/range | ✓ | ContractMarketChartRange  | 🦎 |\n\n### Categories Endpoints\n| Endpoint                                                   |  Status | Function                  | Plan |\n|------------------------------------------------------------|--|---------------------------|------|\n| /coins/categories/list                                     | ✓ | CategoriesList            | 🦎 |\n| /coins/categories/                                         | ✓ | Categories                | 🦎 |\n\n### Exchange Endpoints\n| Endpoint                               |  Status | Function               | Plan |\n|----------------------------------------|--|------------------------|------|\n| /exchanges                             | ✓ | Exchanges              | 🦎 |\n| /exchanges/list                        | ✓ | ExchangesList          | 🦎 |\n| /exchanges/{id}                        | ✓ | ExchangesId            | 🦎 |\n| /exchanges/{id}/tickers                | ✓ | ExchangesIdTickers     | 🦎 |\n| /exchanges/{id}/volume_chart           | ✓ | ExchangesIdVolumeChart | 🦎 |\n| /exchanges/id/volume_chart/range       | ✗ |                        | 💼 |\n\n### Derivatives Endpoints\n| Endpoint                                                   |  Status | Function                  | Plan |\n|------------------------------------------------------------|--|---------------------------|------|\n| /derivaties                                                | ✓ | Derivatives               | 🦎 |\n| /derivaties/exchanges                                      | ✓ | DerivativesExchanges      | 🦎 |\n| /derivaties/exchanges/{id}                                 | ✓ | DerivativesExchangesId    | 🦎 |\n| /derivaties/exchanges/list                                 | ✓ | DerivativesExchangesList  | 🦎 |\n\n### NFT Endpoints\n| Endpoint                                                       |  Status | Function     | Plan |\n|----------------------------------------------------------------|--|--------------|------|\n| /nfts/list                                                     | ✓ | NftsList     | 🦎 |\n| /nfts/{id}                                                     | ✓ | NftsId       | 🦎 |\n| /nfts/{asset_platform_id}/contract/{contract_address}          | ✓ | NftsContract | 🦎 |\n| /nfts/markets                                                  | ✗ |              | 💼 |\n| /nfts/id/market_chart                                          | ✗ |              | 💼 |\n| /nfts/asset_platform_id/contract/contract_address/market_chart | ✗ |              | 💼 |\n| /nfts/id/tickers                                               | ✗ |              | 💼 |\n\n### Other Endpoints\n| Endpoint                                |  Status | Function                 | Plan |\n|-----------------------------------------|--|--------------------------|----|\n| /asset_platforms                        | ✓ | AssetPlatforms           | 🦎 |\n| /token_lists/asset_platform_id/all.json | ✗ |                          | 👑 |\n| /key                                    | ✓ | AssetPlatforms           | 💼 |\n| /exchange_rates                         | ✗ |                          | 🦎 |\n| /search                                 | ✓ | Search                   | 🦎 |\n| /search/trending                        | ✓ | Trending                 | 🦎 |\n| /global                                 | ✓ | Global                   | 🦎 |\n| /global/decentralized_finance_defi      | ✓ | DecentrilizedFinanceDEFI | 🦎 |\n| /global/market_cap_chart                | ✗ |                          | 💼 |\n| /companies/public_treasury/{coin_id}    | ✓ | PublicTreasuryCoinId     | 🦎 |\n\n#### Legend\n* 🦎 - Free tier endpoints\n* 💼 - Exclusive for Paid Plan subscribers (Analyst/Lite/Pro)\n* 👑 - Exclusive for Enterprise Plan subscribers only\n\n## Usage\n\n```golang\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/JulianToledano/goingecko/v3/api\"\n\t\"github.com/JulianToledano/goingecko/v3/api/coins\"\n)\n\nfunc main() {\n\tcgClient := api.NewDefaultClient()\n\n\tdata, err := cgClient.CoinsId(context.Background(), \"bitcoin\", coins.WithTickers(false))\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Printf(\"Bitcoin price is: %f$\", data.MarketData.CurrentPrice.Usd)\n}\n```\n\nCheck dir [examples](docs/examples) for more.\n\n## Todo\n\n - [ ] Implement premium API endpoints\n - [ ] Implement On Chain Dex API\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliantoledano%2Fgoingecko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliantoledano%2Fgoingecko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliantoledano%2Fgoingecko/lists"}