{"id":23529401,"url":"https://github.com/simplr-sh/coin-rates","last_synced_at":"2026-05-03T05:40:32.540Z","repository":{"id":269595032,"uuid":"907690683","full_name":"simplr-sh/coin-rates","owner":"simplr-sh","description":"Super Simplr conversion rates API. 95 Top cryptocurrency USD conversion rates.","archived":false,"fork":false,"pushed_at":"2024-12-24T17:17:30.000Z","size":954,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T12:21:17.306Z","etag":null,"topics":["cloudflare-workers","coincap-api","coins","conversion-rate","cryptocurrency","hono","tokens","usd-coin-conversion"],"latest_commit_sha":null,"homepage":"https://coin-rates.simplr.sh","language":"TypeScript","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/simplr-sh.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":"2024-12-24T06:51:25.000Z","updated_at":"2025-01-04T14:40:05.000Z","dependencies_parsed_at":"2024-12-24T17:43:29.090Z","dependency_job_id":null,"html_url":"https://github.com/simplr-sh/coin-rates","commit_stats":null,"previous_names":["simplr-sh/coin-rates"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simplr-sh/coin-rates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplr-sh%2Fcoin-rates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplr-sh%2Fcoin-rates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplr-sh%2Fcoin-rates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplr-sh%2Fcoin-rates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplr-sh","download_url":"https://codeload.github.com/simplr-sh/coin-rates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplr-sh%2Fcoin-rates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32559716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T03:21:47.309Z","status":"ssl_error","status_checked_at":"2026-05-03T03:21:43.884Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cloudflare-workers","coincap-api","coins","conversion-rate","cryptocurrency","hono","tokens","usd-coin-conversion"],"created_at":"2024-12-25T21:10:20.474Z","updated_at":"2026-05-03T05:40:32.526Z","avatar_url":"https://github.com/simplr-sh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg style=\"vertical-align: middle;\" width=\"128\" height=\"128\" src=\"./readme-assets/coin-rates-logo.png\"\u003e\n    \u003ch1 align=\"center\"\u003e\n      \u003ca href=\"https://github.com/simplr-sh/coin-rates\"\u003e\n        Coin Rates\n      \u003c/a\u003e\n    \u003c/h1\u003e\n    \u003cp align=\"center\"\u003e\u003cstrong\u003eSimple \u0026 Fast Cryptocurrency Rate API\u003c/strong\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg style=\"vertical-align: middle;\" src=\"./readme-assets/coin-rates-banner.png\"\u003e\n\u003c/div\u003e\n\n![Coin Rates Github Social Preview](./readme-assets//github-social-preview.jpg)\n\n## Features\n\n- 🚀 **95+ Top Cryptocurrencies** - All major tokens supported\n- ⚡ **Real-time Rates** - Updates every 30 seconds\n- 🌐 **Global Edge Network** - Powered by Cloudflare\n- 🆓 **100% Free** - No API keys, no rate limits\n- 📊 **JSON \u0026 CSV Support** - Flexible data formats\n- ⚙️ **Simple Integration** - Just HTTP GET requests\n\n## Quick Start\n\n```bash\n# Get all supported tokens\ncurl https://coin-rates.simplr.sh/api/tokens.json\n\n# Get Bitcoin's current rate\ncurl https://coin-rates.simplr.sh/api/rates/bitcoin\n\n# Get Ethereum's current rate\ncurl https://coin-rates.simplr.sh/api/rates/ethereum\n```\n\n## API Documentation\n\n### Get All Available Tokens\n\nRetrieve a list of all supported cryptocurrency tokens.\n\n**JSON Format:**\n```\nGET https://coin-rates.simplr.sh/api/tokens.json\n```\n\n**CSV Format:**\n```\nGET https://coin-rates.simplr.sh/api/tokens.csv\n```\n\nReturns a list of tokens with their ID, name, and symbol. Example response (JSON):\n```json\n[\n  {\n    \"id\": \"bitcoin\",\n    \"name\": \"Bitcoin\",\n    \"symbol\": \"BTC\"\n  },\n  {\n    \"id\": \"ethereum\",\n    \"name\": \"Ethereum\",\n    \"symbol\": \"ETH\"\n  }\n  // ... more tokens\n]\n```\n\nUse these token IDs to query individual token rates.\n\n### Get Token Exchange Rate\n\nGet the current USD exchange rate for a specific cryptocurrency token.\n\n```\nGET https://coin-rates.simplr.sh/api/rates/{id}\n```\n\n- `{id}`: The token ID from the tokens list (e.g., \"bitcoin\", \"ethereum\")\n- Updates every 30 seconds\n- Returns the current USD exchange rate\n\nExample Request:\n```\nGET https://coin-rates.simplr.sh/api/rates/bitcoin\n```\n\nExample Response:\n```json\n{\n  \"btc\": {\n    \"usd\": 42789.65\n  }\n}\n```\n\nError Response (Invalid Token ID):\n```json\n{\n  \"error\": \"Invalid token id\"\n}\n```\n\n#### Rate Limits\n- No request limits\n- No bandwidth limits\n- 30-second cache per token\n- Free for all usage\n\n## Integration Examples\n\n### JavaScript/Node.js\n```javascript\n// Fetch Bitcoin rate\nconst response = await fetch('https://coin-rates.simplr.sh/api/rates/bitcoin');\nconst data = await response.json();\nconsole.log(`Bitcoin price: $${data.btc.usd}`);\n```\n\n### Python\n```python\nimport requests\n\n# Fetch Ethereum rate\nresponse = requests.get('https://coin-rates.simplr.sh/api/rates/ethereum')\ndata = response.json()\nprint(f\"Ethereum price: ${data['eth']['usd']}\")\n```\n\n## Development\n\n### Prerequisites\n- Node.js 18+ installed\n- Wrangler CLI installed (`npm install -g wrangler`)\n- Cloudflare account (for deployment)\n\n### Local Development\n1. Clone the repository:\n```bash\ngit clone https://github.com/simplr-sh/coin-rates.git\ncd coin-rates\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Start the development server:\n```bash\nnpm run dev\n```\n\nThe API will be available at `http://localhost:8787`.\n\n## Deployment\n\n### Deploy to Cloudflare Workers\n\n1. Login to Cloudflare (if not already):\n```bash\nwrangler login\n```\n\n2. Deploy to Cloudflare Workers:\n```bash\nnpm run deploy\n```\n\nYour API will be deployed to `https://\u003cyour-worker\u003e.workers.dev`.\n\n### Environment Variables\nNo environment variables required for basic setup.\n\n### Notes\n- Updates automatically every 30 seconds\n- Uses Cloudflare's edge network for global distribution\n- Zero configuration required\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\n- 🌟 Star this repo if you find it useful\n- 🐛 Report bugs by creating an issue\n- 💡 Request features through issues","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplr-sh%2Fcoin-rates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplr-sh%2Fcoin-rates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplr-sh%2Fcoin-rates/lists"}