Skip to Content

Overview

The Bencha API predicts what a second-hand product will sell for. Describe a product by its brand, category, condition and other attributes, and get back a price in the currency you choose. Brand and category search help you match your own product data to the brands and categories the models know.

Base URL

API Base URL
https://api.bencha.io/v1

Conventions

  • Every endpoint is a POST with a JSON body, sent with Content-Type: application/json, and returns JSON.
  • Every request needs an API key as a bearer token. See Authentication.
  • Predictions use spot-5-turbo, our latest model, unless you choose another with model. See Model.
  • Prices come back in the currency you ask for with currency, and in EUR without it. See Currency.

Errors

The API uses standard HTTP status codes. Errors usually come with a JSON body that says what went wrong:

Error
{
  "code": "resource.not_found",
  "status": 404,
  "message": "brand not found",
  "request_id": "request_01M9093P26RKCG4014R02280HF"
}
StatusMeaning
400The request body is invalid, for example malformed JSON or a missing query.
403The API key is missing or invalid. See Authentication.
404The brand or category in a prediction couldn't be found.
500Something went wrong on our side. Try again, and contact us if it persists.

Help

Contact us here or email us at hello@bencha.io. Include the request_id of a failed request if you have one.

On this page