Developers & API

Does bgclear have an API?

Short answer

Yes. The bgclear REST API removes backgrounds with one HTTP call — multipart or JSON in, PNG/WebP/JPG out — plus async jobs up to 50 MP, batches of 50 images, callbacks and usage endpoints. Its request fields match remove.bg's. Preview-size results are free; full resolution is one credit.

Base URL https://www.bgclear.ai/api/v1, Bearer-key auth, an OpenAPI 3.1 spec, and code samples in curl, Python, Node, PHP, Ruby, Java, C#, Go and Rust on the docs and the blog. The API is also listed on RapidAPI with a free plan.

Create a key on the dashboard — the first key includes 10 free full-resolution credits, and checkout for more needs no prior account.

Try it on your own photo

Free, unlimited, no signup, no watermark. About five seconds per image.

Read the API docs

Related questions

How much does the bgclear API cost?

Credit packs, no subscription: $9 for 100 credits ($0.09 per image), $39 for 500 ($0.078) and $129 for 2,000 (about $0.065). One credit is one full-resolution image; preview-size results (up to 800 px) are free and unlimited. Credits never expire and failed requests are never charged.

Full answer →

Is there a free background removal API?

Free tiers rather than fully free APIs. bgclear gives unlimited free preview-size results (up to 800 px, no watermark) and 10 full-resolution credits with your first key, plus a free plan on RapidAPI. The open-source rembg is free to run on your own hardware.

Full answer →

Is the bgclear API compatible with remove.bg?

For the fields almost every integration uses — image_file, image_url, image_file_b64, size, format, bg_color, crop — yes: same names, same meaning. You change the base URL and the auth header (X-Api-Key becomes Authorization: Bearer). Not supported: zip output and the type, roi, scale, position and add_shadow parameters.

Full answer →

All questions →