# B&H Photo API

> B&H Photo returns product prices, availability, ratings, and specifications, available as a workflow and API.

B&H Photo, also called B&H, returns product prices, savings, stock, ratings, and identifiers through Search products, which needs search words. Get product returns details, features, specifications, and prices and needs a product name, product link, or B&H number.

- Page: https://fous.com/tools/bh-photo
- Handle: `@bh-photo`
- Category: [Commerce](https://fous.com/tools/category/commerce)
- Source website: https://bhphotovideo.com
- Last verified: Sep 29, 2026

## Methods

### Get product

Operation `get_product`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Get product details from B&H Photo by name, product link, or B&H number. A name uses the best matching search result; details and prices reflect the public page.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `product` | string | yes | `"Sony FE 70-200mm f/2.8 GM OSS II Lens"` | Product name, B&H product link, or B&H number, for example Sony a7 IV body. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "product"
  ],
  "properties": {
    "product": {
      "type": "string",
      "description": "Product name, B&H product link, or B&H number, for example Sony a7 IV body.",
      "examples": [
        "Sony FE 70-200mm f/2.8 GM OSS II Lens",
        "https://www.bhphotovideo.com/c/product/1666363-REG/sony_fe_70_200mm_f_2_8_gm.html",
        "SOA74"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "product": "Sony FE 70-200mm f/2.8 GM OSS II Lens"
    },
    {
      "product": "https://www.bhphotovideo.com/c/product/1666363-REG/sony_fe_70_200mm_f_2_8_gm.html"
    },
    {
      "product": "SOA74"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `brand` | string or null | `"Sony"` |  |
| `price` | number or null | `3098` |  |
| `currency` | string | `"USD"` |  |
| `bh_number` | string or null | `"SO70200282GM"` |  |
| `in_the_box` | array |  |  |
| `image_links` | array |  |  |
| `star_rating` | number or null | `4.9` |  |
| `availability` | string or null | `"In Stock"` |  |
| `key_features` | array |  |  |
| `product_link` | string | `"https://www.bhphotovideo.com/c/product/1666363-REG/sony_fe_70_200mm_f_2_8_gm.html"` |  |
| `product_name` | string | `"Sony FE 70-200mm f/2.8 GM OSS II Lens"` |  |
| `review_count` | integer or null | `200` |  |
| `specifications` | array |  |  |
| `specifications[].name` | string | `"Focal Length"` |  |
| `specifications[].group` | string or null | `"Key Specs"` |  |
| `specifications[].value` | string | `"70 to 200mm"` |  |
| `instant_savings` | number or null | `500` |  |
| `manufacturer_model_number` | string or null | `"SEL70200GM2"` |  |

**Example input**

```json
{
  "product": "Sony FE 70-200mm f/2.8 GM OSS II Lens"
}
```

**Example output**

```json
{
  "brand": "Sony",
  "price": 3098,
  "currency": "USD",
  "bh_number": "SO70200282GM",
  "in_the_box": [
    "Sony FE 70-200mm f/2.8 GM OSS II Lens",
    "Sony Lens Hood for FE 70-200mm f/2.8 GM OSS II Lens",
    "Sony ALC-F77S 77mm Front Lens Cap"
  ],
  "image_links": [
    "https://www.bhphotovideo.com/images/images500x500/sony_fe_70_200mm_f_2_8_gm_1784716794_1666363.jpg",
    "https://static.bhphoto.com/images/multiple_images/images500x500/1634123357_IMG_1621823.jpg",
    "https://static.bhphoto.com/images/multiple_images/images500x500/1634123357_IMG_1621824.jpg"
  ],
  "star_rating": 4.9,
  "availability": "In Stock",
  "key_features": [
    "E-Mount Lens/Full-Frame Format",
    "Aperture Range: f/2.8 to f/22",
    "29% Weight Reduction from Previous Model"
  ],
  "product_link": "https://www.bhphotovideo.com/c/product/1666363-REG/sony_fe_70_200mm_f_2_8_gm.html",
  "product_name": "Sony FE 70-200mm f/2.8 GM OSS II Lens",
  "review_count": 200,
  "specifications": [
    {
      "name": "Focal Length",
      "group": null,
      "value": "70 to 200mm"
    },
    {
      "name": "Aperture",
      "group": null,
      "value": "Maximum: f/2.8 / Minimum: f/22"
    },
    {
      "name": "Lens Mount",
      "group": null,
      "value": "Sony E"
    }
  ],
  "instant_savings": null,
  "manufacturer_model_number": "SEL70200GM2"
}
```

### Search products

Operation `search_products`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Search B&H Photo products and return prices, savings, stock, ratings, identifiers, images and links in site order. Exact category names may use phrase matching to show products.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `sort` | string | no | `"price_low_to_high"` | Product order, for example price_low_to_high. |
| `query` | string | yes | `"Sony headphones"` | Words to search for, such as mirrorless camera. |
| `max_price` | number | no | `350` | Highest price in USD, for example 1500. |
| `min_price` | number | no | `100` | Lowest price in USD, for example 500. |
| `max_results` | integer | no | `32` | Maximum products to return, for example 24. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "sort": {
      "enum": [
        "best_match",
        "price_low_to_high",
        "price_high_to_low",
        "top_rated",
        "newest"
      ],
      "type": "string",
      "default": "best_match",
      "description": "Product order, for example price_low_to_high.",
      "examples": [
        "price_low_to_high"
      ]
    },
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "Words to search for, such as mirrorless camera.",
      "examples": [
        "Sony headphones",
        "mirrorless camera",
        "zzxxyyqqnonexistent123446688"
      ]
    },
    "max_price": {
      "type": "number",
      "minimum": 0,
      "description": "Highest price in USD, for example 1500.",
      "examples": [
        350
      ]
    },
    "min_price": {
      "type": "number",
      "minimum": 0,
      "description": "Lowest price in USD, for example 500.",
      "examples": [
        100
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 24,
      "maximum": 60,
      "minimum": 1,
      "description": "Maximum products to return, for example 24.",
      "x-fous-developer": true,
      "examples": [
        32,
        24,
        5
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "sort": "price_low_to_high",
      "query": "Sony headphones",
      "max_price": 350,
      "min_price": 100,
      "max_results": 32
    },
    {
      "query": "mirrorless camera",
      "max_results": 24
    },
    {
      "query": "zzxxyyqqnonexistent123446688",
      "max_results": 5
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `products` | array |  |  |
| `products[].name` | string | `"Sony MDR-7506 Headphones"` |  |
| `products[].brand` | string or null | `"Sony"` |  |
| `products[].price` | number or null | `113` | Current price in USD. |
| `products[].currency` | string | `"USD"` |  |
| `products[].bh_number` | string or null | `"SOMDR7506"` |  |
| `products[].image_link` | string or null | `"https://static.bhphoto.com/images/images345x345/1317204371_49510.jpg"` |  |
| `products[].star_rating` | number or null | `4.7` |  |
| `products[].availability` | string or null | `"In Stock"` |  |
| `products[].product_link` | string | `"https://www.bhphotovideo.com/c/product/49510-REG/Sony_MDR_7506_MDR_7506_Headphone.html"` |  |
| `products[].review_count` | integer | `1645` |  |
| `products[].instant_savings` | number or null | `100` | Displayed savings in USD, or null if none. |
| `products[].manufacturer_model_number` | string or null | `"MDR-7506"` |  |

**Example input**

```json
{
  "sort": "price_low_to_high",
  "query": "Sony headphones",
  "max_price": 350,
  "min_price": 100,
  "max_results": 32
}
```

**Example output**

```json
{
  "products": [
    {
      "name": "Sony MDR-7506 Headphones",
      "brand": "Sony",
      "price": 113,
      "currency": "USD",
      "bh_number": "SOMDR7506",
      "image_link": "https://static.bhphoto.com/images/images345x345/1317204371_49510.jpg",
      "star_rating": 4.7,
      "availability": "In Stock",
      "product_link": "https://www.bhphotovideo.com/c/product/49510-REG/Sony_MDR_7506_MDR_7506_Headphone.html",
      "review_count": 1645,
      "instant_savings": null,
      "manufacturer_model_number": "MDR-7506"
    },
    {
      "name": "Sony INZONE H3 Wired Headset (White)",
      "brand": "Sony",
      "price": 118,
      "currency": "USD",
      "bh_number": "SOMDRG300W",
      "image_link": "https://static.bhphoto.com/images/images345x345/1659461721_1720014.jpg",
      "star_rating": 4.5,
      "availability": "In Stock",
      "product_link": "https://www.bhphotovideo.com/c/product/1720014-REG/sony_mdrg300_w_inzone_h3_wired_headset.html",
      "review_count": 33,
      "instant_savings": null,
      "manufacturer_model_number": "MDRG300/W"
    },
    {
      "name": "Sony ULT WEAR Wireless Over-Ear Noise-Canceling Headphones (Black)",
      "brand": "Sony",
      "price": 148,
      "currency": "USD",
      "bh_number": "SOWHULT900NB",
      "image_link": "https://static.bhphoto.com/images/images345x345/1714661420_1824830.jpg",
      "star_rating": 3.8,
      "availability": "In Stock",
      "product_link": "https://www.bhphotovideo.com/c/product/1824830-REG/sony_whult900n_b_ult_wear_wireless_noise.html",
      "review_count": 6,
      "instant_savings": 100,
      "manufacturer_model_number": "WHULT900N/B"
    }
  ]
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@bh-photo",
  "visibility": "public",
  "operation": "get_product",
  "version": 1,
  "input": {
    "product": "Sony FE 70-200mm f/2.8 GM OSS II Lens"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@bh-photo\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_product\",\n  \"version\": 1,\n  \"input\": {\n    \"product\": \"Sony FE 70-200mm f/2.8 GM OSS II Lens\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@bh-photo",
  "visibility": "public",
  "operation": "get_product",
  "version": 1,
  "input": {
    "product": "Sony FE 70-200mm f/2.8 GM OSS II Lens"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/bh-photo`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `get_product`: Get product. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `search_products`: Search products. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-bh-photo https://api.fous.com/mcp/tools/bh-photo --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Compare product prices and displayed savings
- Find products within a budget
- Check product availability and ratings
- Review product features and specifications
- Match products using brand and model identifiers

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this B&H Photo tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a B&H Photo account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from bhphotovideo.com when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

### What products match my search?

Search products returns matching products using the search words you provide.

### What is a product’s current price and availability?

Search products returns prices and availability for matching products; Get product returns those details for a specified product.

### What are a product’s specifications?

Get product returns specifications and key features for a product identified by name, link, or B&H number.

## Related

- [Best Buy API](https://fous.com/tools/best-buy.md): Best Buy returns US electronics and appliance listings, prices, deals, specifications, images, reviews, and nearby store pickup and shipping details; prices and availability can change by location and before checkout.
- [Newegg API](https://fous.com/tools/newegg.md): Newegg provides US computer and electronics listings, with product details and selected public offers whose prices, availability, stock, and shipping can change or may not be displayed.
- [Amazon API](https://fous.com/tools/amazon.md): Amazon returns publicly shown product listings, prices, details, ratings, reviews, current best sellers, and Today's Deals; availability and content vary by store, location, and access.
- [Sephora API](https://fous.com/tools/sephora.md): Sephora provides US beauty products, shopping information, product details, and customer reviews; prices and availability may change.
- [Walmart API](https://fous.com/tools/walmart.md): Walmart helps shoppers find products from Walmart and marketplace sellers, view details, prices, ratings and reviews; availability uses Walmart’s default location, not ZIP codes.
- [H&M API](https://fous.com/tools/hm.md): H&M offers clothing and home shopping, with country-specific prices and online size stock; product details reflect current catalog information.
- [Nordstrom API](https://fous.com/tools/nordstrom.md): Search clothing, shoes, and beauty products at Nordstrom.
- [Nike API](https://fous.com/tools/nike.md): Nike returns country-specific listings and details, including prices, sizes, availability and reviews, plus publicly shown upcoming or recently stocked SNKRS releases with local launch times.
- [All Commerce tools](https://fous.com/tools/category/commerce)
