Remote Data
Fetch and display data from external APIs. What can load remote JSON data during render and make it available in your templates.
Dog Facts
Random facts about dogs from the Dog API.
The U.S. has the highest dog population in the world.
Did you hear that? Sound frequency is measured in Hertz (Hz). The higher the Hertz, the higher-pitched the sound. Dogs hear best at 8,000 Hz, while humans hear best at around 2,000 Hz.
A Beatles hit. It’s rumored that, at the end of the Beatles song, "A Day in the Life," Paul McCartney recorded an ultrasonic whistle, audible only to dogs, just for his Shetland sheepdog.
// Dog API endpoint
GET https://dogapi.dog/api/v2/facts?limit=3
// Response structure
{
"data": [
{
"attributes": {
"body": "Fact text here..."
}
}
]
}
Dog Breeds
Browse dog breeds with details like lifespan, weight, and characteristics.
Affenpinscher
The Affenpinscher is a small and playful breed of dog that was originally bred in Germany for hunting small game. They are intelligent, energetic, and affectionate, and make excellent companion dogs.
Afghan Hound
The Afghan Hound is a large and elegant breed of dog that was originally bred in Afghanistan for hunting small game. They are intelligent, independent, and athletic, and make excellent companion dogs.
Airedale Terrier
The Airedale Terrier is a large and powerful breed of dog that was originally bred in England for hunting small game. They are intelligent, energetic, and determined, and make excellent hunting dogs.
Akita
The Akita is a large, muscular dog breed that originated in Japan. They are known for their loyalty and courage.
Alaskan Klee Kai
The Alaskan Klee Kai is a small to medium-sized breed of dog that was developed in Alaska in the 1970s. It is an active and intelligent breed that is loyal and friendly. The Alaskan Klee Kai stands between 13-17 inches at the shoulder and has a double-coat that can come in various colors and patterns.
Alaskan Malamute
The Alaskan Malamute is a large and powerful sled dog from Alaska. They are strong and hardworking, yet friendly and loyal. Alaskan Malamutes have a thick, double coat that can be any color. They are active and require plenty of exercise and mental stimulation to stay healthy and happy.
// Paginated API request
GET https://dogapi.dog/api/v2/breeds
?page[number]=1
&page[size]=6
// Response includes pagination meta
{
"data": [...],
"meta": {
"pagination": {
"current_page": 1,
"total_pages": 10,
"total_count": 60
}
}
}
Random Dog Images
Random dog images from Dog CEO API.
// Dog CEO API endpoint
GET https://dog.ceo/api/breeds/image/random/4
// Response structure
{
"message": [
"https://images.dog.ceo/...",
"https://images.dog.ceo/...",
"https://images.dog.ceo/...",
"https://images.dog.ceo/..."
],
"status": "success"
}
API Resources
Find more free APIs to use in your projects.
- Free APIs Directory - Curated list of free APIs
- Dog API - Dog breeds and facts
- Dog CEO - Random dog images
<!-- Fetch data in What templates -->
<what>
fetch.dogs = "https://dogapi.dog/api/v2/breeds"
</what>
<loop data="#dogs.data#" as="breed">
<h3>#breed.attributes.name#</h3>
</loop>