Welcome to dweet.cc

Simple machine-to-machine messaging over HTTP.
No setup. No auth. Just post and get lightweight JSON.

Quick Start

Send a message:

curl "https://dweet.cc/dweet/for/my-thing-name?temperature=21&unit=c"

Get the latest message:

curl https://dweet.cc/get/latest/dweet/for/my-thing-name

Get all dweets for a thing:

curl https://dweet.cc/get/dweets/for/my-thing-name

Listen for real-time updates:

curl -N https://dweet.cc/listen/for/dweets/from/my-thing-name

Real-time updates in browser:

https://dweet.cc/realtime.html?thing=my-thing-name

Send a private dweet, json will return unique token

curl "https://dweet.cc/dweet/for/my-thing-name?temp=23&private=1"

Fetch the latest private dweet

curl "https://dweet.cc/get/latest/dweet/for/my-thing-name?auth=YOUR_TOKEN"

Register a user, json will return unique token

curl https://dweet.cc/register -d "username=alice&password=secret123"

Claim your thing

curl "https://dweet.cc/claim/alice" -d "user=alice&auth=YOUR_TOKEN"

Live stream a remote log file

On remote server
tail -F /var/log/syslog | while read line; do curl -ks "https://dweet.cc/for/my-thing-name" --data-urlencode "line=$line"; done
Then use the listen function to follow it

Note that dweet.cc only holds on to the last 5 dweets over a 24 hour period. If the thing hasn't dweeted in the last 24 hours, its history will be removed.

ALL DWEETS ARE PUBLIC unless specifically made private. Anonymous clients won't see private dweets.

🔧 Try It Now


Total Dweets: loading...