404*
Not found
How to fix the Scrnpix API 404 Not Found error when requesting an endpoint that does not exist.
When Does This Happen?
This error occurs when you send a request to a URL path that does not match any known API endpoint. The Scrnpix API provides specific endpoints like /screenshot and /animate — any other path returns a 404.
Reproduce This Error
curl -H "X-KEY: your-api-key" \ "https://api.scrnpix.com/capture"
Not found
How to Fix
- 1Check that the endpoint path is correct: use /screenshot or /animate
- 2Verify there are no typos in the URL path
- 3Make sure you are using the correct base URL (api.scrnpix.com)
Correct Request
curl -H "X-KEY: your-api-key" \ "https://api.scrnpix.com/screenshot?url=https%3A%2F%2Fexample.com" \ --output screenshot.png
200 OK — returns the screenshot as a PNG image
Frequently Asked Questions
What endpoints are available in the Scrnpix API?
The main public endpoints are GET /screenshot for static screenshots and GET /animate for scrolling GIF animations. Both require an API key via the X-KEY header. Additional dashboard endpoints exist for managing API keys and subscriptions.
Still Having Issues?
Check your API key and subscription status in the dashboard, or explore our language guides for integration examples.
Go to Dashboard