TinyPNG
5 operations0 webhooks
Image compression API for shrinking, resizing, and converting AVIF, WebP, JPEG, and PNG images.
Supported operations
- Get Compression CountRead-only
Get the number of compressions made this calendar month
FAQ
Install corsair and @corsair-dev/tinypng, add the TinyPNG plugin, and connect with an API key. Then call methods like corsair.tinypng.api.account.getCompressionCount() from your app. Corsair syncs data per tenant.
Yes. TinyPNG requires an API key from your TinyPNG account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit TinyPNG, GitHub, Notion, Stripe, and the rest. Trigger TinyPNG from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for image compression api for shrinking, resizing, and converting avif, webp, jpeg, and png images. Common builds include sync jobs, admin tooling, and agents that call TinyPNG APIs from your backend. Local DB entities let you query synced TinyPNG records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per TinyPNG API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/tinypng in the open repo. When TinyPNG ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your TinyPNG data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store TinyPNG data on your behalf.