Instance Types API Endpoints
Fetch all available instance types with our API.
Contents
Get Instance Types
To list all available instance types you can simply send a GET
request to the following endpoint.
https://api.nodion.com/v1/instance_types
Required Headers: Authorization
Example Response:
{ "instance_types": [ { "id": "711ef4cc-0e35-4192-a552-945e0794a2b7", "name": "DS-G2-256MB", "slug": "ds-g2-256mb", "category": "sb", "cpu": 0.25, "mem": 0.25, "price_month": "1.0", "price_second": "0.000000380517504" }, { "id": "c375c6ab-8dcc-40e4-9623-3ad7f762b752", "name": "DS-G2-512MB", "slug": "ds-g2-512mb", "category": "sb", "cpu": 0.5, "mem": 0.5, "price_month": "2.0", "price_second": "0.000000761035008" }, { "id": "8f940d8c-d50c-45eb-93b9-486d529cb949", "name": "DS-G2-1GB", "slug": "ds-g2-1gb", "category": "sb", "cpu": 0.5, "mem": 1.0, "price_month": "4.0", "price_second": "0.000001522070015" }, { "id": "2b288bbd-b4a2-4b20-b412-c345ed7571db", "name": "DS-G2-2GB", "slug": "ds-g2-2gb", "category": "sb", "cpu": 0.5, "mem": 2.0, "price_month": "8.0", "price_second": "0.00000304414003" }, { "id": "eb5cfdb3-88dc-44c1-8476-ff228739f6a5", "name": "GP-G2-4GB1C", "slug": "gp-g2-4gb1c", "category": "gp", "cpu": 1.0, "mem": 4.0, "price_month": "16.0", "price_second": "0.000006088280061" }, { "id": "28749d0b-6353-48bb-bd10-1595c81064f9", "name": "GP-G2-4GB2C", "slug": "gp-g2-4gb2c", "category": "gp", "cpu": 2.0, "mem": 4.0, "price_month": "20.0", "price_second": "0.000007610350076" }, { "id": "691e87e5-a854-457e-800a-9a53b6ee77ef", "name": "GP-G2-8GB2C", "slug": "gp-g2-8gb2c", "category": "gp", "cpu": 2.0, "mem": 8.0, "price_month": "32.0", "price_second": "0.000012176560122" }, { "id": "511fa25e-0483-4d94-9b3f-c5b4584525ba", "name": "GP-G2-8GB4C", "slug": "gp-g2-8gb4c", "category": "gp", "cpu": 4.0, "mem": 8.0, "price_month": "40.0", "price_second": "0.000015220700152" }, { "id": "f7a1985b-8524-4965-8dff-a37b0f860f29", "name": "GP-G2-16GB8C", "slug": "gp-g2-16gb8c", "category": "gp", "cpu": 8.0, "mem": 16.0, "price_month": "80.0", "price_second": "0.000030441400304" }, { "id": "dc14f367-f6d3-4583-b952-c5a88f32fbc5", "name": "GP-G2-16GB4C", "slug": "gp-g2-16gb4c", "category": "gp", "cpu": 4.0, "mem": 16.0, "price_month": "64.0", "price_second": "0.000024353120244" }, { "id": "0cd12db4-d4b9-4404-a38a-4982e5a5a801", "name": "GP-G2-32GB8C", "slug": "gp-g2-32gb8c", "category": "gp", "cpu": 8.0, "mem": 32.0, "price_month": "128.0", "price_second": "0.000048706240487" }, { "id": "5baeb2ce-489f-4fdd-a472-4d504abda4fe", "name": "GP-G2-32GB16C", "slug": "gp-g2-32gb16c", "category": "gp", "cpu": 16.0, "mem": 32.0, "price_month": "160.0", "price_second": "0.000060882800609" } ] }