AWS EC2 instance plans and On-Demand prices API
Look up current AWS EC2 instance specifications and hourly On-Demand USD rates by exact instance type, region and operating system. The default is US East (Ohio) with Linux; other purchase options, tenancy and additional EBS or software costs are not quoted.
Endpoint health
Loading verification…
Connect your agent
Connect through MCP so your agent can find this API, read its docs, and call its endpoints.
Add the server from your terminal.
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcpIn Claude Code, run /mcp, select agent-data, then Authenticate. Sign in to your agent-data account in the browser.
Then ask your agent to use the AWS EC2 instance plans and On-Demand prices API for your task.
Call it over HTTP
Get an API keySign up free, generate an API key, and set it as AGENT_DATA_API_KEY in your environment. Your first 100 calls each month are free.
curl --request GET --get 'https://3kpkg0jfvk.execute-api.us-east-2.amazonaws.com/prod/cb448481-6a85-448e-b7b9-7aa77e5169cb/v1/instance-types/m7i.large' \
--header "Authorization: Bearer $AGENT_DATA_API_KEY"Endpoints
Inputs and response fields for every endpoint in this API.
GETInstance types by name/v1/instance-types/{name}
Fetch AWS public regional On-Demand catalog on every request; no fixture or disk access.
Input
nameRequiredPath · stringExact AWS EC2 instance type (not a family).
Example: m7i.large
regionOptionalQuery · string, default: US East (Ohio)AWS pricing location label; hourly rate depends on location.
Example: US East (Ohio)
operating_systemOptionalQuery · string, default: LinuxAWS pricing OS label; hourly rate depends on OS.
Example: Linux
Response
dataobjectdata.vcpuintegerdata.memorystringdata.regionstringdata.storagestringdata.currencystringdata.plan_namestringdata.rate_codestringdata.transportstringdata.source_urlstringdata.published_atstringdata.instance_familystringdata.operating_systemstringdata.price_usd_per_hourstringdata.network_performancestringrequest_idstringDon’t see the endpoint you need?
Ask agent-data to add an endpoint or return more fields. Extensions are free and keep existing endpoints working.
An account is required to submit an extension. Prepare your request, then sign in to build.