Quick Start
Get up and running with DevUtils API in under 5 minutes. This guide will walk you through making your first API request.
Prerequisites
Before you begin, make sure you have:
- A DevUtils account - Sign up here
- An API key from your dashboard
- cURL or any HTTP client installed
Make Your First Request
Let's capture a screenshot of a webpage. Replace YOUR_API_KEY with your actual API key.
Example Requestbash
curl -X POST https://api.devutils.io/v1/screenshot \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com"
}'Understanding the Response
A successful request returns a JSON response with the screenshot URL:
Example Responsejson
{
"success": true,
"data": {
"image_url": "https://cdn.devutils.io/screenshots/abc123.png",
"width": 1920,
"height": 1080,
"format": "png"
}
}The image_url contains your generated screenshot. URLs are valid for 24 hours.
Next Steps
Now that you have made your first request, explore more features: