Adafruit IO REST API
adafruit · Company
### The Internet of Things for Everyone The Adafruit IO HTTP API provides access to your Adafruit IO data from any programming language or hardware environment that can speak HTTP. The easiest way to get started is with [an Adafruit IO learn guide](https://learn.adafruit.com/series/adafruit-io-basics) and [a simple Internet of Things capable device like the Feather Huzzah](https://www.adafruit.com/product/2821). This API documentation is hosted on GitHub Pages and is available at [https://gith
Authentication
Sample Requests
Get information about the current user
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/adafruit.com/2.0.0/user"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/adafruit.com/2.0.0/user",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/adafruit.com/2.0.0/user'; 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/adafruit.com/2.0.0/user"
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/adafruit.com/2.0.0/user")
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/adafruit.com/2.0.0/user";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));The Activities endpoint returns information about the user's activities.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/adafruit.com/2.0.0/{username}/activities?limit=10&end_time=example&start_time=example"import requests
params = {
"limit": "10",
"end_time": "example",
"start_time": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/adafruit.com/2.0.0/{username}/activities",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/adafruit.com/2.0.0/{username}/activities');
url.searchParams.set('limit', '10');
url.searchParams.set('end_time', 'example');
url.searchParams.set('start_time', 'example');
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/adafruit.com/2.0.0/{username}/activities")
q := baseURL.Query()
q.Set("limit", "10")
q.Set("end_time", "example")
q.Set("start_time", "example")
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/adafruit.com/2.0.0/{username}/activities")
uri.query = URI.encode_www_form({
"limit" => "10",
"end_time" => "example",
"start_time" => "example"
})
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/adafruit.com/2.0.0/{username}/activities?" . http_build_query([
"limit" => "10",
"end_time" => "example",
"start_time" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));The Dashboards endpoint returns information about the user's dashboards.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/adafruit.com/2.0.0/{username}/dashboards"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/adafruit.com/2.0.0/{username}/dashboards",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/adafruit.com/2.0.0/{username}/dashboards';
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/adafruit.com/2.0.0/{username}/dashboards"
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/adafruit.com/2.0.0/{username}/dashboards")
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/adafruit.com/2.0.0/{username}/dashboards";
$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 Adafruit IO REST API?
Adafruit IO REST API is a Company API. Developers commonly use company APIs for:
- enriching CRM records with company firmographics
- building lead-generation and prospecting tools
- verifying business identity and registration details
- monitoring competitors and market intelligence
- powering B2B data enrichment pipelines
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Adafruit IO REST 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?