B&H Photo Product API Documentation Read one public B&H product by the id returned from search or by a product url. The answer has the name, brand, model, sale price, original price, discount, availability, full-size images, a rating with review count and a specification list with unique names. When the public page does not publish a regular price, original_price and discount_percent are null. 1 credit per successful request. A failed request is not billed. Not affiliated with B&H Photo.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
3 optional filters available.
string
Optional
B&H product id as search returns it, for example 1948568-REG. Required without url.
1234567890
string
Optional
B&H product url. Required without id.
https://example.com/product
string
Optional
bh only.
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Response fields
26 fields| Field | Type | Description |
|---|---|---|
data.item.id
|
string |
e.g. 1948568-REG
|
data.item.mpn
|
string |
e.g. 3382C002
|
data.item.sku
|
string |
e.g. 1948568
|
data.item.url
|
string |
e.g. https://www.bhphotovideo.com/c/product/1948568-REG/canon_...
|
data.item.brand
|
string |
e.g. Canon
|
data.item.image
|
string |
e.g. https://static.bhphoto.com/images/images2500x2500/1948568...
|
data.item.price.amount
|
integer |
e.g. 1999
|
data.item.price.currency
|
string |
e.g. USD
|
data.item.title
|
string |
e.g. Canon EOS R6 Mirrorless Camera
|
data.item.images
|
array | |
data.item.images[]
|
string |
e.g. https://static.bhphoto.com/images/images2500x2500/1948568...
|
data.item.rating
|
number |
e.g. 4.8
|
data.item.availability
|
string |
e.g. In Stock
|
data.item.review_count
|
integer |
e.g. 312
|
data.item.original_price.amount
|
integer |
e.g. 2299
|
data.item.original_price.currency
|
string |
e.g. USD
|
data.item.specifications
|
array | |
data.item.specifications[].name
|
string |
e.g. Sensor
|
data.item.specifications[].value
|
string |
e.g. Full-Frame CMOS
|
data.item.discount_percent
|
integer |
e.g. 13
|
data.site
|
string |
e.g. bh
|
data.currency
|
string |
e.g. USD
|
meta.credits
|
integer |
e.g. 1
|
meta.billable
|
boolean |
e.g. true
|
meta.endpoint_family
|
string |
e.g. product
|
success
|
boolean |
e.g. true
|
{
"data": {
"item": {
"id": "1948568-REG",
"mpn": "3382C002",
"sku": "1948568",
"url": "https://www.bhphotovideo.com/c/product/1948568-REG/canon_eos_r6_mirrorless_camera.html",
"brand": "Canon",
"image": "https://static.bhphoto.com/images/images2500x2500/1948568_1.jpg",
"price": {
"amount": 1999,
"currency": "USD"
},
"title": "Canon EOS R6 Mirrorless Camera",
"images": [
"https://static.bhphoto.com/images/images2500x2500/1948568_1.jpg"
],
"rating": 4.8,
"availability": "In Stock",
"review_count": 312,
"original_price": {
"amount": 2299,
"currency": "USD"
},
"specifications": [
{
"name": "Sensor",
"value": "Full-Frame CMOS"
}
],
"discount_percent": 13
},
"site": "bh",
"currency": "USD"
},
"meta": {
"credits": 1,
"billable": true,
"endpoint_family": "product"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A query parameter is missing or invalid. This response is not billable.
{
"errors": {
"id": [
"Send an id or a product url."
]
},
"message": "The request validation failed"
}Not Found
B&H has no product with this id. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "product"
},
"error": {
"code": "NOT_FOUND",
"message": "B&H has no product with this id."
},
"success": false
}Upstream Unavailable
The upstream service is temporarily unavailable. Please retry shortly.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "product"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "B&H is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.