Overview
Image Background removal
Remove.bg is a photography API from remove.bg. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 3 endpoints.
At a glance
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Photography
- Base URL
https://api.remove.bg/v1.0- Version
- 1.0.0
- Endpoints
- 3
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-06
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.remove.bg/v1.0/account" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://api.remove.bg/v1.0/account", {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.remove.bg/v1.0/account",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /account | Fetch credit balance and free API calls. |
| POST | /improve | Submit an image to the remove.bg Improvement program |
| POST | /removebg | Remove the background of an image |
Questions
Does the Remove.bg API need an API key?
Yes. The Remove.bg API uses API key authentication; the documentation explains how to get credentials.
Does the Remove.bg API support HTTPS?
Yes, the Remove.bg API is served over HTTPS.
How many endpoints does the Remove.bg API have?
Its OpenAPI description lists 3 endpoints in version 1.0.0. All of them are shown on this page.
What are alternatives to the Remove.bg API?
Other Photography APIs include Giphy, Getty Images, Unsplash, Imgur, shutterstock.
Similar photography APIs
Compare alternatives →Giphy
PhotographyThe GIPHY Developer Portal is how you integrate the world's best GIF API into your business, app or project.
Getty Images
PhotographyBuild applications using the world's most powerful imagery
Unsplash
PhotographyCreate with the largest collection of high-quality images that are free to use. Trusted by Trello, Medium, and thousands of other API applications to power their free picture needs.
Imgur
Photography## API Status Status for the API can be found at [status.imgur.com](http://status.imgur.com)! ## Getting Started Imgur's API exposes the entire Imgur infrastructure via a standardized programmatic interface. Using Imgur's API, you can do just about anything you can do on imgur.com, while using your programming language of choice. The Imgur API is a RESTful API based on HTTP requests and JSON respo
shutterstock
PhotographyStock Photos and Videos
Pexels
PhotographyFree Stock Photos and Videos
Listed from public-apis (MIT), public-apis database (MIT), APIs.guru (CC0).