Developer docs
PostCapture API
Generate shareable screenshots of social media posts programmatically, across X, YouTube, TikTok and Bluesky.
Quick start
- 1
- 2
Make a request
POST the post URL to the v1 endpoint with your key in the
Authorizationheader. Everything else is optional.1curl -X POST https://postcapture.com/api/v1/screenshot \2 -H "Authorization: Bearer $POSTCAPTURE_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "postUrl": "https://x.com/postcaboron/status/1924847327370461555"6 }' - 3
Get your screenshot
You get back JSON with a
urlto the PNG, its dimensions and your remaining quota. The URL is valid for at least an hour and the image is deleted shortly after, so download it if you need it for longer. Prefer the raw bytes? Add"response": "image"to the body.
Explore the docs
Authentication
Create and manage your own API keys.
Screenshot API
Full reference for the v1 endpoint, every setting and error.
MCP connector
Let Claude, ChatGPT and other AI agents create screenshots.
Rate limits
How rate limiting works and how to handle 429 responses.
Code examples
Ready-to-use snippets in cURL, TypeScript and Python.
Base URL
https://postcapture.com
All API endpoints are relative to this base URL. Each successful request uses one screenshot from your monthly quota.