dweet.io
dweet · IoT
Dweet.io allows users to share data from mobile, tablets, and pcs, and them to other devices and accounts across social media platforms. Dweet.io provides an API to access the different functionality of the Dweet.io service. Users can make REST calls to read and create dweets, lock and unlock things, and perform other calls. The API returns JSON and JSONP.
Authentication
Sample Requests
Reserve and lock a thing.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/dweet.io/2.0/lock/{thing}?key=YOUR_API_KEY&lock=example"import requests
params = {
"key": "YOUR_API_KEY",
"lock": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/dweet.io/2.0/lock/{thing}",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/dweet.io/2.0/lock/{thing}');
url.searchParams.set('key', 'YOUR_API_KEY');
url.searchParams.set('lock', '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/dweet.io/2.0/lock/{thing}")
q := baseURL.Query()
q.Set("key", "YOUR_API_KEY")
q.Set("lock", "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/dweet.io/2.0/lock/{thing}")
uri.query = URI.encode_www_form({
"key" => "YOUR_API_KEY",
"lock" => "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/dweet.io/2.0/lock/{thing}?" . http_build_query([
"key" => "YOUR_API_KEY",
"lock" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Unlock a thing.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/dweet.io/2.0/unlock/{thing}?key=YOUR_API_KEY"import requests
params = {
"key": "YOUR_API_KEY"
}
response = requests.get(
"https://api.apis.guru/v2/specs/dweet.io/2.0/unlock/{thing}",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/dweet.io/2.0/unlock/{thing}');
url.searchParams.set('key', 'YOUR_API_KEY');
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/dweet.io/2.0/unlock/{thing}")
q := baseURL.Query()
q.Set("key", "YOUR_API_KEY")
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/dweet.io/2.0/unlock/{thing}")
uri.query = URI.encode_www_form({
"key" => "YOUR_API_KEY"
})
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/dweet.io/2.0/unlock/{thing}?" . http_build_query([
"key" => "YOUR_API_KEY"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Remove a lock from thing.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/dweet.io/2.0/remove/lock/{lock}?key=YOUR_API_KEY"import requests
params = {
"key": "YOUR_API_KEY"
}
response = requests.get(
"https://api.apis.guru/v2/specs/dweet.io/2.0/remove/lock/{lock}",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/dweet.io/2.0/remove/lock/{lock}');
url.searchParams.set('key', 'YOUR_API_KEY');
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/dweet.io/2.0/remove/lock/{lock}")
q := baseURL.Query()
q.Set("key", "YOUR_API_KEY")
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/dweet.io/2.0/remove/lock/{lock}")
uri.query = URI.encode_www_form({
"key" => "YOUR_API_KEY"
})
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/dweet.io/2.0/remove/lock/{lock}?" . http_build_query([
"key" => "YOUR_API_KEY"
]);
$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 dweet.io?
dweet.io is a IoT API. Developers commonly use iot APIs for:
- collecting and streaming sensor and device data
- monitoring and controlling connected devices
- building smart-home and industrial dashboards
- processing device telemetry at scale
- automating device provisioning and alerting
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. dweet.io 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?