Discover/KEH API
live

KEH APIkeh.com

Search KEH.com's used camera inventory via API. Filter by brand, grade, price, and category. Returns pricing, availability, and condition grades.

Endpoint health
verified 3d ago
search_products
suggest
2/2 passing latest checkself-healing
Endpoints
2
Updated
24d ago

What is the KEH API?

The KEH Camera API provides 2 endpoints for searching and browsing KEH's used photography equipment inventory. The search_products endpoint returns paginated product listings with up to 9 fields per item — including condition grade, price range, manufacturer, and stock quantity — while the suggest endpoint delivers query, product, and category autocomplete suggestions for a given partial search term.

Try it
Page number (1-based)
Sort order. Accepted values: 'min_price asc' (Price Low-High), 'min_price desc' (Price High-Low), 'title asc' (Name A-Z), 'title desc' (Name Z-A), 'pid desc' (Newest). Omit for relevance sorting.
Filter by brand name (e.g., 'Canon', 'Nikon', 'Sony', 'Leica', 'Fuji')
Filter by condition grade (e.g., 'Like New', 'Like New Minus', 'Excellent Plus', 'Excellent', 'Bargain', 'Ugly')
Search keyword (e.g., 'camera', 'mirrorless camera', 'canon lens', 'nikon')
Category ID to browse (e.g., '8258' for Used Cameras, '8226' for Used Camera Lenses). When provided, overrides keyword search.
Maximum price filter in USD
Minimum price filter in USD
Number of results per page (1-100)
Filter by product type (e.g., 'Bodies', 'Fixed-Lens Cameras', 'Point & Shoots', 'Fixed Focal Length Lenses, Mfg')
Filter to in-stock items only. Accepted values: 'true', 'false'.
api.parse.bot/scraper/665fddb5-5793-4f04-b3cf-87b1b256054d/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/665fddb5-5793-4f04-b3cf-87b1b256054d/search_products?sort=min_price+asc&brand=Sony&query=camera&page_size=5&page=1&grade=Like+New&category=8258&max_price=2000&min_price=100&product_type=Bodies&in_stock_only=true' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace keh-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.keh_camera_search_api import KEH, Product, Suggestion, Sort

keh = KEH()

# Search for Sony cameras sorted by price low to high
for product in keh.catalogs.search(query="sony mirrorless", sort=Sort.PRICE_LOW_HIGH, limit=5):
    print(product.title, product.min_price, product.manufacturer, product.quantity_available)

# Get autocomplete suggestions for a search term
suggestion = keh.suggestions.get(query="leica")
print(suggestion.query, len(suggestion.query_suggestions))

for ps in suggestion.product_suggestions:
    print(ps.title, ps.min_price, ps.in_stock)

for cat in suggestion.category_suggestions:
    print(cat.name, cat.id)
All endpoints · 2 totalmissing one? ·

Search for used cameras, lenses, and photography equipment. Supports filtering by brand, grade, product type, price range, and sorting options. Returns paginated results with product details including pricing, condition grades, and availability. When category is provided, performs a category browse instead of keyword search. Paginates via page number; each product exposes grades as an array of available condition levels.

Input
ParamTypeDescription
pageintegerPage number (1-based)
sortstringSort order. Accepted values: 'min_price asc' (Price Low-High), 'min_price desc' (Price High-Low), 'title asc' (Name A-Z), 'title desc' (Name Z-A), 'pid desc' (Newest). Omit for relevance sorting.
brandstringFilter by brand name (e.g., 'Canon', 'Nikon', 'Sony', 'Leica', 'Fuji')
gradestringFilter by condition grade (e.g., 'Like New', 'Like New Minus', 'Excellent Plus', 'Excellent', 'Bargain', 'Ugly')
querystringSearch keyword (e.g., 'camera', 'mirrorless camera', 'canon lens', 'nikon')
categorystringCategory ID to browse (e.g., '8258' for Used Cameras, '8226' for Used Camera Lenses). When provided, overrides keyword search.
max_pricestringMaximum price filter in USD
min_pricestringMinimum price filter in USD
page_sizeintegerNumber of results per page (1-100)
product_typestringFilter by product type (e.g., 'Bodies', 'Fixed-Lens Cameras', 'Point & Shoots', 'Fixed Focal Length Lenses, Mfg')
in_stock_onlystringFilter to in-stock items only. Accepted values: 'true', 'false'.
Response
{
  "type": "object",
  "fields": {
    "page": "integer - current page number",
    "query": "string - the search query or category ID used",
    "products": "array of product objects with id, title, url, image, image_webp, min_price, max_price, quantity_available, manufacturer, grades, product_type, system, lens_type, film_type, badges, specials",
    "page_size": "integer - results per page",
    "total_pages": "integer - total number of pages",
    "total_results": "integer - total matching products"
  },
  "sample": {
    "data": {
      "page": 1,
      "query": "camera",
      "products": [
        {
          "id": "389898",
          "url": "https://www.keh.com/shop/28203931.html",
          "image": "https://cgi.keh.com/media/catalog/product/3/8/389898-4192460_01_r370x.jpg",
          "title": "Canon EOS R50 Mirrorless Camera, Black {24.2MP}",
          "badges": [
            "Savings3"
          ],
          "grades": [
            "Excellent Plus",
            "Excellent",
            "Like New Minus"
          ],
          "system": "Canon R Mirrorless",
          "specials": [
            "Best Sellers",
            "Featured Products",
            "Savings3"
          ],
          "film_type": [],
          "lens_type": [],
          "max_price": 658,
          "min_price": 633,
          "image_webp": "https://cgi.keh.com/media/catalog/product/3/8/389898-4192460_01_r370x.webp",
          "manufacturer": "Canon",
          "product_type": "Bodies",
          "quantity_available": 69
        }
      ],
      "page_size": 5,
      "total_pages": 1133,
      "total_results": 5663
    },
    "status": "success"
  }
}

About the KEH API

Search Products

The search_products endpoint accepts a query string alongside a full set of filters: brand (e.g., Canon, Nikon, Leica), grade (e.g., Like New, Excellent Plus, Bargain), min_price and max_price in USD, and a category ID to browse specific sections of the catalog such as Used Cameras (8258) or Used Camera Lenses (8226). When category is supplied, it overrides keyword-based query matching. Results are sorted via the sort parameter — options include min_price asc, min_price desc, and title asc — and paginated with page, page_size, total_pages, and total_results fields in every response.

Product Response Shape

Each item in the products array includes id, title, url, image, image_webp, min_price, max_price, quantity_available, manufacturer, and grades. The grades field reflects KEH's condition grading system, which ranges from Like New down to Bargain and Ugly, giving you the full spread of available conditions for a given item rather than a single rolled-up state.

Autocomplete Suggestions

The suggest endpoint takes a partial query string and returns three typed suggestion arrays: query_suggestions (search term strings), product_suggestions (with id, title, url, image, min_price, max_price, and in_stock), and category_suggestions (with name and id). This makes it straightforward to build a type-ahead search interface that surfaces both matching products and relevant catalog categories before a full search is issued.

Reliability & maintenanceVerified

The KEH API is a managed, monitored endpoint for keh.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when keh.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official keh.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3d ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track price movements on specific used camera bodies across KEH's inventory by polling search_products with a query and recording min_price / max_price over time.
  • Build a used gear price comparison tool by querying the same lens model across multiple brand filters and comparing returned min_price values.
  • Populate a type-ahead search bar for a photography marketplace using suggest with partial brand or model strings.
  • Alert users when a specific condition grade (e.g., Like New) becomes available for a searched item by monitoring quantity_available in search_products results.
  • Browse KEH's full category tree programmatically by supplying known category IDs and paginating through results using total_pages.
  • Filter used equipment by budget by combining min_price and max_price parameters to surface only gear within a target spend range.
  • Aggregate inventory counts across brands by iterating brand values and summing total_results for each.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does KEH Camera have an official developer API?+
KEH does not publish a documented public developer API. This Parse API provides structured access to KEH's product search and autocomplete data.
What condition grades does `search_products` support for filtering?+
The grade parameter accepts values from KEH's own grading scale: Like New, Like New Minus, Excellent Plus, Excellent, Bargain, and Ugly. Each product in the response also returns a grades field listing all condition tiers currently in stock for that item, so you can see the full availability spread rather than a single grade.
Does the API return individual product detail pages or seller information?+
Not currently. The API covers search-level product data — pricing, condition grades, stock quantity, manufacturer, and a URL to the KEH listing — but does not return detailed per-product specifications, gear history notes, or seller-specific data. You can fork this API on Parse and revise it to add a product detail endpoint targeting the individual listing URL.
How does pagination work in `search_products`?+
Every response includes page (current page, 1-based), page_size (results per page), total_pages, and total_results. Increment the page parameter to walk through subsequent result pages. There is no cursor-based pagination; only integer page numbers are supported.
Can I retrieve user reviews or ratings for KEH listings through this API?+
Not currently. The API returns product inventory data including pricing and condition grades, but does not expose customer review text, star ratings, or review counts. You can fork this API on Parse and revise it to add a reviews endpoint if KEH surfaces that data on individual product pages.
Page content last updated . Spec covers 2 endpoints from keh.com.
Related APIs in EcommerceSee all →
bhphotovideo.com API
Search and browse B&H Photo's massive inventory of cameras, electronics, and photography gear with instant access to pricing, specifications, images, and customer reviews. Filter products by category, compare detailed specs, and discover used items all in one integrated platform.
sharegrid.com API
Search and browse peer-to-peer camera gear rentals and purchases on ShareGrid by location and keywords, then view detailed information about specific equipment listings. Get autocomplete suggestions to quickly find the filmmaking and creator gear you need.
anker.com API
Search and browse Anker products to find prices, images, variants, and availability information directly from their online store. Get detailed product specifications to compare items and make informed purchasing decisions.
brookstone.com API
Search and browse Brookstone's catalog of products with full-text search, filters, sorting, and pagination to find exactly what you need. Get instant search suggestions and access detailed product information including pricing, descriptions, and availability.
bestbuy.com API
Search Best Buy's entire product catalog and get instant autocomplete suggestions while browsing, then pull up detailed pricing, availability, and stock information for any item. Easily sort through results, look up multiple products at once, and discover what's trending in real-time.
sweetwater.com API
Search Sweetwater's catalog of musical instruments, audio equipment, and accessories to find products with detailed pricing, availability, ratings, and images. Get autocomplete suggestions as you type to quickly discover exactly what you're looking for.
reebelo.com API
Search Reebelo's refurbished products, browse categories and brands, check real-time pricing and condition-based costs, read customer reviews, and discover current deals all in one place. Get detailed product information including SKU prices and collections to compare and find the best secondhand electronics and accessories.
megekko.be API
Search and browse the full Megekko product catalog, view detailed specs, pricing, and stock availability. Browse by category, use keyword search to find specific products, or explore shortcut endpoints for popular categories like GPUs and CPUs.