Dog puppy API Documentation

Learn how to integrate random dog puppys into your applications using our simple API

🐕 💡 📚

How to Use

Our puppy API is simple to integrate into your applications. Just make a GET request to the endpoint.

Endpoint URL

https://api.sykes.pet/puppy

PHP Example

$url = 'https://api.sykes.pet/puppy';
$response = file_get_contents($url);
$data = json_decode($response);
$puppy = $data->puppy;
echo $puppy;

JavaScript Example

fetch('https://api.sykes.pet/puppy')
  .then(response => response.json())
  .then(data => {
    console.log(data.puppy);
    // Display the puppy in your application
  });

API Response

Response Structure

The API returns a JSON object with the following structure:

{
  "data": {
    "puppy": "Random dog puppy url",
    "message": "please submit images via [email protected]"
    "warning": "Do not use these direct urls, as they may change at any time."
  }
}
Note: Message and Warning Fields don't change, they are always the same values, Not needed for production.

Sample Response

{
  "data": {
    "puppy": "No puppy data available",
    "message": "No message available",
    "warning": "No warning available"
  }
}

Rate Limits

We allow up to 100 requests per hour per IP address. If you need higher limits, please contact us.

Live Demo

Current Random puppy

"No puppy data available"

Powered by Sykes.Pet & dytukMedia

Try It Yourself

GET https://api.sykes.pet/puppy

About Our Puppy Image API

Data Source

Our public API provides random dog puppys sourced from various dog image repositories. Each request returns a new puppy image URL. Want to contribute? You can submit your own puppy images via email to [email protected].

The API is updated regularly with new puppys to keep your applications fresh and engaging.

Integration Tips

  • Use in chatbots for fun dog-related interactions
  • Display on your website as a "puppy of the day" feature
  • Incorporate into mobile apps for educational content
  • Puppy Images are cute