How can I check my API usage?

You can check your API usage by calling the endpoint:

GET https://image-api.photoroom.com/v2/account

This endpoint works for both the Remove Background API and the Image Editing API.

Here's an example of a call to this endpoint:

curl --location 'https://image-api.photoroom.com/v2/account' \
  --header 'x-api-key: YOUR_API_KEY'

And here's an example of the response you'll receive:

{
  "images": {
    "available": 83,
    "subscription": 100
  },
  "plan": "basic"
}

You can use this endpoint to setup an automated monitoring of your API usage.

Last updated

Was this helpful?