{"id":17736532,"url":"https://github.com/toshimaru/ec2-price","last_synced_at":"2026-03-15T09:33:31.501Z","repository":{"id":36141698,"uuid":"40445698","full_name":"toshimaru/ec2-price","owner":"toshimaru","description":"Retrieve the latest EC2 prices via command line.","archived":false,"fork":false,"pushed_at":"2021-04-29T20:11:16.000Z","size":13,"stargazers_count":5,"open_issues_count":4,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-19T08:21:27.403Z","etag":null,"topics":[],"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/toshimaru.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":"2015-08-09T18:11:10.000Z","updated_at":"2020-04-08T21:40:20.000Z","dependencies_parsed_at":"2022-09-05T18:50:46.285Z","dependency_job_id":null,"html_url":"https://github.com/toshimaru/ec2-price","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fec2-price","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fec2-price/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fec2-price/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fec2-price/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toshimaru","download_url":"https://codeload.github.com/toshimaru/ec2-price/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243593255,"owners_count":20316155,"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","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":[],"created_at":"2024-10-26T00:23:20.089Z","updated_at":"2026-03-15T09:33:26.479Z","avatar_url":"https://github.com/toshimaru.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/ec2-price.svg)](http://badge.fury.io/js/ec2-price)\n\nec2-price\n----\n\nRetrieve the latest EC2 prices via command line.\n\n## Installation\n\n```\nnpm install ec2-price -g\n```\n\n## Usage\n\nOutput all prices in all regions.\n\n```shell\n$ ec2-price\n```\n\nYou can specify a region.\n\n```shell\n$ ec2-price --region us-east-1\n```\n\nYou can specify a particular type across all regions.\n\n````shell\n$ ec2-price --type c4.2xlarge\n````\n\nYou can specify a region and a particular type.\n\n````shell\n$ ec2-price --region us-west-1 --type c4.2xlarge\n````\n\nYou can specify JSON format (for use w/ [jq](https://stedolan.github.io/jq/) or other).\n\n````shell\n$ ec2-price  --json | jq '.'\n{\n  \"regions\": [\n    {\n      \"region\": \"us-east-1\",\n      \"instances\": [\n        {\n          \"name\": \"t2.nano\",\n          \"price\": \"0.0065\"\n        },\n        {\n          \"name\": \"t2.micro\",\n          \"price\": \"0.013\"\n        },\n        {\n          \"name\": \"t2.small\",\n          \"price\": \"0.026\"\n        },\n  ...\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshimaru%2Fec2-price","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoshimaru%2Fec2-price","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshimaru%2Fec2-price/lists"}