{"id":15632552,"url":"https://github.com/jamiew/crypto-price-data","last_synced_at":"2026-01-24T10:36:07.235Z","repository":{"id":66289721,"uuid":"438071296","full_name":"jamiew/crypto-price-data","owner":"jamiew","description":"Fetch crypto price data from Coingecko in a format suitable for use in a Google Spreadsheet (via `ImportJSON`). Stores the data in GitHub gist (lol)","archived":false,"fork":false,"pushed_at":"2024-09-04T13:42:33.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-01T22:14:58.696Z","etag":null,"topics":["crypto","google-sheets","portfolio","prices","spreadsheets","trackers"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamiew.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-12-14T00:53:47.000Z","updated_at":"2025-01-21T16:44:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"210a4dfd-7ffa-44a3-8e80-54c8b32d16eb","html_url":"https://github.com/jamiew/crypto-price-data","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"683d16a3945bd6466fa4f486c1685adfa04bbff3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamiew/crypto-price-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fcrypto-price-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fcrypto-price-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fcrypto-price-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fcrypto-price-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamiew","download_url":"https://codeload.github.com/jamiew/crypto-price-data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fcrypto-price-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28725374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"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":["crypto","google-sheets","portfolio","prices","spreadsheets","trackers"],"created_at":"2024-10-03T10:44:35.505Z","updated_at":"2026-01-24T10:36:07.215Z","avatar_url":"https://github.com/jamiew.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crypto-price-data\n\nSimple vanilla js script to download crypto price data from [Coingecko](https://coingecko.com)\n\nTransforms it into a format that is designed to work well with the Google Sheets [ImportJSON](https://github.com/bradjasper/ImportJSON/blob/master/ImportJSON.gs) appscript.\n\n## Usage\n\nEdit the `symbols.txt` file and put in Coingecko-compatible ids, which come from their [coins/list API endpoint](https://api.coingecko.com/api/v3/coins/list). \n90% of the time the id is the same as the slug of their token urls, like [\"ethereum\"](https://www.coingecko.com/en/coins/ethereum), \nbut not always. Unfortunately I haven't found a good way to predict when it's not.\n\nThen run the script. To import it into Google Sheets it needs to be publicly accessible, \nso you could run it on public-facing web server, or save it to a [gist](https://gist.github.com) or [val](https://val.town)\n\n```\n./run.sh \u003e /var/www/html/crypto-prices.json\n```\n\nThen in your Google Sheet, try something like:\n\n```\n=ImportJSON(\"https://yourwebsite.com/crypto-prices.json\", \"\", \"rawHeaders,noTruncate,noInherit\")\n```\n\nwhich unfortunately ouputs things as two rows... you can combine them into a more usable 2-column layout with the `TRANSPOSE()` function\n\nCould we fix this using a different structure for the JSON? it's a mystery\n\n## License\n\nMIT\n\nPull requests welcome\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiew%2Fcrypto-price-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamiew%2Fcrypto-price-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiew%2Fcrypto-price-data/lists"}