{"id":21131202,"url":"https://github.com/blockstarter/rate_history_service","last_synced_at":"2026-05-17T03:05:31.373Z","repository":{"id":143861979,"uuid":"93348330","full_name":"blockstarter/rate_history_service","owner":"blockstarter","description":"Service returns average rates per Unix timestamp. Calculation is based on historical trade data from Poloniex.","archived":false,"fork":false,"pushed_at":"2017-06-05T03:01:27.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-10T13:30:33.956Z","etag":null,"topics":["api","bitcoin","chf","cryptocurrency","ethereum","poloniex","trade-api","usdt"],"latest_commit_sha":null,"homepage":"","language":"LiveScript","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/blockstarter.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":"2017-06-04T23:43:30.000Z","updated_at":"2023-06-17T13:00:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"efeb21d6-38d8-4929-ac2f-be88e859a405","html_url":"https://github.com/blockstarter/rate_history_service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blockstarter/rate_history_service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockstarter%2Frate_history_service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockstarter%2Frate_history_service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockstarter%2Frate_history_service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockstarter%2Frate_history_service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blockstarter","download_url":"https://codeload.github.com/blockstarter/rate_history_service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockstarter%2Frate_history_service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274187869,"owners_count":25237845,"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-09-08T02:00:09.813Z","response_time":121,"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":["api","bitcoin","chf","cryptocurrency","ethereum","poloniex","trade-api","usdt"],"created_at":"2024-11-20T05:50:49.307Z","updated_at":"2026-05-17T03:05:31.279Z","avatar_url":"https://github.com/blockstarter.png","language":"LiveScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rate History Service\n\n![Logo](https://avatars2.githubusercontent.com/u/28689719?v=3\u0026s=200)\n\n## Install\n\n```Bash\nsudo npm i livescript -g\ngit clone https://github.com/blockstarter/rate_history_service\ncd rate_history_service\nnpm i\n```\n\n## Run \n\n```Bash\nsh run\n```\n\n## Check \n\nOnce server starts it loads calculates average rates and stores them into \nmemory for faster access.\n\n```Coffeescript\nhttp://localhost:8080 # modify port in server.ls\n```\n\n## Usage (REST API)\n\n### `GET /`\n\nReturns a basic information.\n\n\n### `GET /rate/:unix_ts`\n\n```Coffeescript\n\n# Check rate for BTC/ETH and CHF/ETH\nhttp://localhost:8080/rate/:unix_ts\n\n# Response example:\n{ \"ETH\": { \"BTC\": \"0.0917820001808675764\", \"CHF\": \"202.00443299777144779363\" }}\n\n```\n\n### `GET /status`\n\n```Coffeescript\n\n# Get status of service\nhttp://localhost:8080/status\n\n# Possible responses\n{ serverStarting: true }\n\n# Service loads historical trading data from Poloniex...\n\n# `true` when service is calculating average rates.\n# `false` when averages calculated.\n{ btc_eth: true, usdt_eth: false } \n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockstarter%2Frate_history_service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblockstarter%2Frate_history_service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockstarter%2Frate_history_service/lists"}