Linode API
linode · Cloud
## Introduction The Linode API provides the ability to programmatically manage the full range of Linode products and services. This reference is designed to assist application developers and system administrators. Each endpoint includes descriptions, request syntax, and examples using standard HTTP requests. Response data is returned in JSON format. This document was generated from our OpenAPI Specification. See the OpenAPI website for mo
Authentication
Sample Requests
Returns the contact and billing information related to your Account.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/linode.com/4.145.0/account"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/linode.com/4.145.0/account",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/linode.com/4.145.0/account'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/linode.com/4.145.0/account"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/linode.com/4.145.0/account")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/linode.com/4.145.0/account";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));This is a collection of Domains that you have registered in Linode's DNS Manager. Linode is not a registrar, and in order for these to work you must own the domains and point your registrar at Linode's nameservers.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/linode.com/4.145.0/domains?page=1&page_size=100"
import requests
params = {
"page": "1",
"page_size": "100"
}
response = requests.get(
"https://api.apis.guru/v2/specs/linode.com/4.145.0/domains",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/linode.com/4.145.0/domains');
url.searchParams.set('page', '1');
url.searchParams.set('page_size', '100');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/linode.com/4.145.0/domains")
q := baseURL.Query()
q.Set("page", "1")
q.Set("page_size", "100")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/linode.com/4.145.0/domains")
uri.query = URI.encode_www_form({
"page" => "1",
"page_size" => "100"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/linode.com/4.145.0/domains?" . http_build_query([
"page" => "1",
"page_size" => "100"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns a paginated list of Images. * **Public** Images have IDs that begin with "linode/". These distribution images are generally available to all users. * **Private** Images have IDs that begin with "private/". These Images are Account-specific and only accessible to Users with appropriate [Gra
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/linode.com/4.145.0/images?page=1&page_size=100"
import requests
params = {
"page": "1",
"page_size": "100"
}
response = requests.get(
"https://api.apis.guru/v2/specs/linode.com/4.145.0/images",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/linode.com/4.145.0/images');
url.searchParams.set('page', '1');
url.searchParams.set('page_size', '100');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/linode.com/4.145.0/images")
q := baseURL.Query()
q.Set("page", "1")
q.Set("page_size", "100")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/linode.com/4.145.0/images")
uri.query = URI.encode_www_form({
"page" => "1",
"page_size" => "100"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/linode.com/4.145.0/images?" . http_build_query([
"page" => "1",
"page_size" => "100"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Linode API?
Linode API is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Linode API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?