{"id":47102416,"url":"https://github.com/samuraitruong/coingecko-api-v3","last_synced_at":"2026-03-12T15:34:14.575Z","repository":{"id":44663565,"uuid":"358808026","full_name":"samuraitruong/coingecko-api-v3","owner":"samuraitruong","description":"The nodejs api library for accessing coingecko api v3 , develop with typescript","archived":false,"fork":false,"pushed_at":"2025-04-28T04:28:05.000Z","size":12908,"stargazers_count":57,"open_issues_count":6,"forks_count":30,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-02T01:19:30.633Z","etag":null,"topics":["api","api-client","coingecko-api","cryptocurrency","hacktoberfest","hacktoberfest-accepted","hacktoberfest2021","nodejs","typescipt"],"latest_commit_sha":null,"homepage":"https://samuraitruong.github.io/coingecko-api-v3/","language":"TypeScript","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/samuraitruong.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-04-17T06:57:03.000Z","updated_at":"2025-07-11T08:24:30.000Z","dependencies_parsed_at":"2022-07-13T01:10:27.459Z","dependency_job_id":"b76941db-6637-4e17-973a-5fbd91f629f6","html_url":"https://github.com/samuraitruong/coingecko-api-v3","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/samuraitruong/coingecko-api-v3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraitruong%2Fcoingecko-api-v3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraitruong%2Fcoingecko-api-v3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraitruong%2Fcoingecko-api-v3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraitruong%2Fcoingecko-api-v3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuraitruong","download_url":"https://codeload.github.com/samuraitruong/coingecko-api-v3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraitruong%2Fcoingecko-api-v3/sbom","scorecard":{"id":798617,"data":{"date":"2025-08-11","repo":{"name":"github.com/samuraitruong/coingecko-api-v3","commit":"fa8f4f020865f8293b8f5ce7be1ea512a3f4d609"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":2,"reason":"Found 7/26 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/samuraitruong/coingecko-api-v3/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/samuraitruong/coingecko-api-v3/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/samuraitruong/coingecko-api-v3/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/samuraitruong/coingecko-api-v3/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/samuraitruong/coingecko-api-v3/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/samuraitruong/coingecko-api-v3/ci.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T09:45:27.996Z","repository_id":44663565,"created_at":"2025-08-23T09:45:27.996Z","updated_at":"2025-08-23T09:45:27.996Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30430679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","api-client","coingecko-api","cryptocurrency","hacktoberfest","hacktoberfest-accepted","hacktoberfest2021","nodejs","typescipt"],"created_at":"2026-03-12T15:34:13.765Z","updated_at":"2026-03-12T15:34:14.560Z","avatar_url":"https://github.com/samuraitruong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coingecko-api-v3\n\n[![CI](https://github.com/samuraitruong/coingecko-api-v3/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/samuraitruong/coingecko-api-v3/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/samuraitruong/coingecko-api-v3/branch/main/graph/badge.svg?token=A7P9GCFGN2)](https://codecov.io/gh/samuraitruong/coingecko-api-v3) [![version](https://badgen.net/npm/v/coingecko-api-v3)](https://badgen.net/npm/v/coingecko-api-v3)\n\nThe nodejs api library for accessing coingecko api v3 , develop with typescript with zero dependencies\n\n- [Official document here](https://www.coingecko.com/api/documentations/v3)\n\n- [API document generated](https://samuraitruong.github.io/coingecko-api-v3/classes/CoinGeckoClient.CoinGeckoClient-1.html)\n\n\n## Get started\n\n```\nnpm install coingecko-api-v3\n\n```\n\n```js\nimport { CoinGeckoClient } from 'coingecko-api-v3';\nconst client = new CoinGeckoClient({\n  timeout: 10000,\n  autoRetry: true,\n});\nconst trendingSearch = await client.trending();\n```\n\n## Options\n\n- timeout (optional): The http timeout, default 30s\n- autoRetry (optional): Auto retry if the http response code is 429 - to many request\n\n## Supported API method\n\n| Endpoint                                                   |                                  function | tested? |\n|------------------------------------------------------------|------------------------------------------:| :-----: |\n| /ping                                                      |                             client.ping() |   ✅    |\n| /simple/price                                              |                      client.simplePrice() |   ✅    |\n| /simple/token_price/:id                                    |                    client.simplePriceId() |   ✅    |\n| /simple/supported_vs_currencies                            |        client.simpleSupportedCurrencies() |   ✅    |\n| /coins/list                                                |                         client.coinList() |   ✅    |\n| /coins/markets                                             |                      client.coinMarkets() |   ✅    |\n| /coins/:id                                                 |                           client.coinId() |   ✅    |\n| /coins/:id/tickers                                         |                    client.coinIdTickers() |   ✅    |\n| /coins/:id/history                                         |                    client.coinIdHistory() |   ✅    |\n| /coins/:id/market_history                                  |              client.coinIdMarketHistory() |   ✅    |\n| /coins/id/market_chart                                     |                client.coinIdMarketChart() |   ✅    |\n| /coins/{id}/market_chart/range                             |           client.coinIdMarketChartRange() |   ✅    |\n| /coins/{id}/status_updates                                 |              client.coinIdStatusUpdates() |   ✅    |\n| /coins/{id}/ohlc                                           |                       client.coinIdOHLC() |   ✅    |\n| /coins/{id}/contract/{contract_address}                    |                         client.contract() |   ✅    |\n| /coins/{id}/contract/{contract_address}/market_chart/      |              client.contractMarketChart() |   ✅    |\n| /coins/{id}/contract/{contract_address}/market_chart/range |         client.contractMarketChartRange() |   ✅    |\n| /coins/categories/list                                     |               client.coinCategoriesList() |   ✅    |\n| /coins/categories                                          | client.coinCategoriesListWithMarketData() |   ✅    |\n| /exchanges                                                 |                        client.exchanges() |   ✅    |\n| /exchanges/list                                            |                     client.exchangeList() |   ✅    |\n| /exchanges/{id}/tickers                                    |                client.exchangeIdTickers() |   ✅    |\n| /exchanges/{id}/status_update                              |          client.exchangeIdStatusUpdates() |   ✅    |\n| /exchanges/{id}/volume_chart                               |            client.exchangeIdVolumeChart() |   ✅    |\n| /finance_platforms                                         |                 client.financePlatforms() |   ✅    |\n| /finance_products                                          |                  client.financeProducts() |   ✅    |\n| /indexes                                                   |                          client.indexes() |   ✅    |\n| /indexes/{market_id}/{id}                                  |                  client.indexesMarketId() |   ✅    |\n| /indexes/list                                              |                      client.indexesList() |   ✅    |\n| /indexes/list_by_market_and_id/{market_id}/{id}            |                  client.financeProducts() |   ✅    |\n| /derivatives                                               |                     client./derivatives() |   ✅    |\n| /derivatives/exchanges                                     |            client./derivativesExchanges() |   ✅    |\n| /derivatives/exchanges/{id}                                |          client./derivativesExchangesId() |   ✅    |\n| /status_updates                                            |                    client.statusUpdates() |   ✅    |\n| /exchange_rates                                            |                    client.exhangesRates() |   ✅    |\n| /search                                                    |                           client.search() |   ✅    |\n| /search/trending                                           |                         client.trending() |   ✅    |\n| /global                                                    |                           client.global() |   ✅    |\n| /status_updates                                            |                    client.statusUpdates() |   ✅    |\n| /global/decentralized_finance_defi                         |                       client.globalDefi() |   ✅    |\n\n\n## Development\ne\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuraitruong%2Fcoingecko-api-v3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuraitruong%2Fcoingecko-api-v3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuraitruong%2Fcoingecko-api-v3/lists"}