{"id":14989365,"url":"https://github.com/lionsharecapital/lionshare-api","last_synced_at":"2025-10-08T00:23:41.813Z","repository":{"id":45591291,"uuid":"79702137","full_name":"lionsharecapital/lionshare-api","owner":"lionsharecapital","description":"Realtime cryptocurrency API","archived":false,"fork":false,"pushed_at":"2018-01-11T04:12:48.000Z","size":107,"stargazers_count":263,"open_issues_count":55,"forks_count":48,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-15T23:05:18.538Z","etag":null,"topics":["bitcoin","ethereum","koa","nodejs","websockets"],"latest_commit_sha":null,"homepage":null,"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/lionsharecapital.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}},"created_at":"2017-01-22T07:37:02.000Z","updated_at":"2025-06-07T21:43:22.000Z","dependencies_parsed_at":"2022-08-28T09:32:32.313Z","dependency_job_id":null,"html_url":"https://github.com/lionsharecapital/lionshare-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lionsharecapital/lionshare-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionsharecapital%2Flionshare-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionsharecapital%2Flionshare-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionsharecapital%2Flionshare-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionsharecapital%2Flionshare-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lionsharecapital","download_url":"https://codeload.github.com/lionsharecapital/lionshare-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionsharecapital%2Flionshare-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278868809,"owners_count":26060046,"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-07T02:00:06.786Z","response_time":59,"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":["bitcoin","ethereum","koa","nodejs","websockets"],"created_at":"2024-09-24T14:18:13.253Z","updated_at":"2025-10-08T00:23:41.796Z","avatar_url":"https://github.com/lionsharecapital.png","language":"JavaScript","funding_links":[],"categories":["📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"readme":"# api.lionshare.capital\n\nAPI that powers [Lionshare](https://lionshare.capital) by providing both historical (REST)\nand realtime time (websocket) cryptocurrency market data. The data is sourced\nfrom [GDAX](https://gdax.com), [Poloniex](https://poloniex.com/), and\n[Coinmarketcap](https://coinmarketcap.com/).\n\nBuild with Node, Koa 2, `uws` and Redis.\n\n## API Endpoints\n\n### Prices \n\n`GET https://api.lionshare.capital/api/prices`\n\n#### Params\n\n- `period: hour | day | week | month | year`\n\nReturns historic prices for supported digital currencies\n\n\u003e Example response:\n\n```\n{\n  \"data\": {\n    \"BTC\": [924.2, 924.63, 923.82, 923.02, 924.82, ...],\n    \"ETH\": [10.74, 10.8, 10.79, 10.82, 10.82, 10.84, 10.78, ...],\n    \"LTC\": [3.88, 3.86, 3.85, 3.85, 3.86, 3.86, 3.84, ...]\n    ...\n  }\n}\n```\n\n\n### Markets\n\n`GET https://api.lionshare.capital/api/markets`\n\nReturns market capitalization data\n\n\u003e Example response:\n\n```\n{\n  \"data\": {\n    \"BTC\": 14718750986, \n    \"ETH\": 943628626,\n    \"LTC\": 188560718,\n    ...\n  }\n}\n\n```\n\n## Development\n\nRedis is required for caching and a valid connection URL should be set to `REDIS_URL`\nenvironment variable before running the development server. `.env` is loaded on\nstartup. Make sure that you have `redis` installed and running (`redis-server`)\nfor local development.\n\n```\nyarn\nyarn dev\n```\n\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/lionsharecapital/lionshare-api)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flionsharecapital%2Flionshare-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flionsharecapital%2Flionshare-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flionsharecapital%2Flionshare-api/lists"}