How can I check my API usage?
You can check your API usage by calling the endpoint:
GET https://image-api.photoroom.com/v2/accountThis 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"
}Last updated
Was this helpful?