{"_id":"@bahaa_kallas/coingecko-api-v3","name":"@bahaa_kallas/coingecko-api-v3","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.5":{"name":"@bahaa_kallas/coingecko-api-v3","version":"0.0.5","description":"Client SDK library for coingecko api v3. A fork of samuraitruong/coingecko-api-v3.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bahaa-kallas/coingecko-api-v3.git"},"keywords":["coingecko","api","cryptocurrency"],"author":{"name":"dev.bahaakallas@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahaa-kallas/coingecko-api-v3/issues"},"homepage":"https://samuraitruong.github.io/coingecko-api-v3","devDependencies":{"@types/jest":"^29.5.6","@types/node":"^16.18.59","gh-pages":"^6.0.0","jest":"^29.7.0","rimraf":"^5.0.5","standard-version":"^9.5.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","typedoc":"^0.25.2","typescript":"^5.2.2"},"dependencies":{"https":"^1.0.0"},"scripts":{"build":"rimraf ./dist && tsc","dev":"ts-node ./src/index","test":"jest --runInBand --verbose --silent=false","doc-gen":"rimraf ./dist && typedoc --out ./docs src/","prepublish":"pnpm run build","publish-doc":"pnpm run doc-gen &&  gh-pages -d ./docs","release":"standard-version"},"_id":"@bahaa_kallas/coingecko-api-v3@0.0.5","_integrity":"sha512-NS7DMuoCV5JUmFK/CyFtvED8Kc4Zkn+kxKUZ7wCiE4ycE161T5DqBk7aXfZ9V2/hiQ7n/VR9Ooa4ZLiFV+HGgQ==","_resolved":"/tmp/3e2e80f265cbae90c8594a3a49e4ca02/bahaa_kallas-coingecko-api-v3-0.0.5.tgz","_from":"file:bahaa_kallas-coingecko-api-v3-0.0.5.tgz","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-NS7DMuoCV5JUmFK/CyFtvED8Kc4Zkn+kxKUZ7wCiE4ycE161T5DqBk7aXfZ9V2/hiQ7n/VR9Ooa4ZLiFV+HGgQ==","shasum":"50c879b2e321174ec1ef9130eb82e71a6c6ce7e7","tarball":"https://registry.npmjs.org/@bahaa_kallas/coingecko-api-v3/-/coingecko-api-v3-0.0.5.tgz","fileCount":18,"unpackedSize":102969,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD1rwaojr8zqxPIB4to4EoY6n3Vh95nNHHF5l6yYFwoyQIhAODtcn6Zu4do4poKxmYztTpNCF6cY+a2sETB1924PAjU"}]},"_npmUser":{"name":"bahaa_kallas","email":"dev.bahaakallas@gmail.com"},"directories":{},"maintainers":[{"name":"bahaa_kallas","email":"dev.bahaakallas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/coingecko-api-v3_0.0.5_1746640303532_0.5763960237065895"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-07T17:51:43.471Z","0.0.5":"2025-05-07T17:51:43.728Z","modified":"2025-05-07T17:51:43.976Z"},"maintainers":[{"name":"bahaa_kallas","email":"dev.bahaakallas@gmail.com"}],"description":"Client SDK library for coingecko api v3. A fork of samuraitruong/coingecko-api-v3.","homepage":"https://samuraitruong.github.io/coingecko-api-v3","keywords":["coingecko","api","cryptocurrency"],"repository":{"type":"git","url":"git+https://github.com/bahaa-kallas/coingecko-api-v3.git"},"author":{"name":"dev.bahaakallas@gmail.com"},"bugs":{"url":"https://github.com/bahaa-kallas/coingecko-api-v3/issues"},"license":"MIT","readme":">This is a fork of [samuraitruong/coingecko-api-v3](https://github.com/samuraitruong/coingecko-api-v3/). With plans to support further development to the client.\n# 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://bahaa-kallas.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| /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","readmeFilename":"README.md","_rev":"1-4dce700877dcf6bbbcfedd881999d45d"}