Example of uploading a local PNG image to ImgBB using multipart form data. This is the recommended method for binary file uploads.
Image HostingImage UploadFile SharingCloud StorageMediaREST API
Upload Image Post is an example object payload from ImgBB, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.