Discover/trekbikes.com API
live

trekbikes.com APItrekbikes.com

Access Trek Bikes product catalog, specs, customer reviews, and store locator via 6 API endpoints. Search models, browse categories, and find nearby dealers.

Endpoints
6
Updated
4mo ago
Try it

No input parameters required.

api.parse.bot/scraper/2e90137f-b0a8-40af-829c-8882d4701140/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/2e90137f-b0a8-40af-829c-8882d4701140/get_bike_categories' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 6 totalclick to expand

Retrieve the complete category tree for bikes including Electric, Mountain, Road, Gravel, City, and Kids sections. Each category includes subcategories with optional category codes for use in list_bikes_by_category.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "categories": "array of category objects with section, name, uid, url, and subcategories"
  },
  "sample": {
    "data": {
      "categories": [
        {
          "uid": "Tier2Node_b2cElectricMTB",
          "url": "/bikes/mountain-bikes/electric-mountain-bikes/c/B512/",
          "name": "Tier2Node_b2cElectricMTB",
          "section": "Electric",
          "subcategories": [
            {
              "uid": "Tier3Link_b2cElectricMTBFullSuspPowerflyPlusFS",
              "url": "/bikes/mountain-bikes/electric-mountain-bikes/powerfly/powerfly-full-suspension/c/B338/",
              "name": "Powerfly+ FS",
              "category_code": "B338"
            }
          ]
        }
      ]
    },
    "status": "success"
  }
}

About the trekbikes.com API

The Trek Bikes API provides 6 endpoints covering Trek's full bike catalog, dealer locator, and customer reviews. Use list_bikes_by_category to paginate through hundreds of models in categories like Electric, Mountain, and Gravel, each returning price, stock status, and image data. Other endpoints handle keyword search, detailed specs, proximity-based shop lookup, and PowerReviews-sourced customer ratings — all in structured JSON.

Catalog Browsing and Search

get_bike_categories returns the complete category tree — sections like Electric, Mountain, Road, Gravel, City, and Kids — including nested subcategories with uid, name, and url fields. Each subcategory carries a category code (e.g. B213-2, B338) that feeds directly into list_bikes_by_category. That endpoint accepts a category_code, an optional 0-based page integer, page_size, and a sort parameter. Its response includes a products array (each with code, name, formattedPrice, currency, and image) and a pagination object showing totalResults and totalPages. For ad-hoc lookup, search_bikes accepts a free-text query and returns matching products plus an array of suggestions strings for autocomplete-style interfaces.

Product Details and Reviews

get_bike_details accepts a product_id from any product listing and returns a richer object: description, stockStatus, specs, and a isBike boolean alongside the standard price and URL fields. get_bike_reviews takes the same product_id and returns PowerReviews data — a results array where each entry contains a page_id and a reviews list, plus a configuration object with display localizations and feature flags. Review content and ratings are available without separate authentication.

Store Locator

find_bike_shops accepts latitude, longitude, and an optional radius in miles, returning up to 15 Trek-authorized stores sorted by proximity. The stores response object includes each location's address, hours, and distance, along with pagination metadata and the source coordinates used for the query. This makes it straightforward to build dealer-finder features tied to any geolocation input.

Common use cases
  • Build a bike comparison tool using get_bike_details to surface specs and stock status side-by-side for multiple models.
  • Power a category browser with get_bike_categories to render Trek's full navigation tree and link each node to paginated list_bikes_by_category results.
  • Implement an autocomplete search bar using search_bikes query suggestions and returned product names.
  • Show nearest Trek dealers on a map by passing user coordinates to find_bike_shops and rendering the address and hours fields.
  • Aggregate customer sentiment for specific models by pulling get_bike_reviews results and averaging rating data from the PowerReviews payload.
  • Sync Trek product inventory into an internal catalog by polling list_bikes_by_category pages and tracking stockStatus changes from get_bike_details.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 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 Trek Bikes have an official public developer API?+
Trek does not publish a public developer API or offer API keys for third-party access to its catalog or store data.
What does `get_bike_details` return beyond what the listing endpoints provide?+
get_bike_details returns a specs object with technical specifications, a description field with full model copy, a stockStatus value, and an isBike boolean — fields that are absent from the products array returned by list_bikes_by_category or search_bikes.
How does pagination work in `list_bikes_by_category`?+
The endpoint uses 0-based page numbering via the page parameter. The response pagination object returns currentPage, pageSize, totalPages, and totalResults, so you can calculate how many requests are needed to fetch a full category before making them.
Does the API cover Trek accessories, components, or apparel — not just bikes?+
The current endpoints focus on the bike catalog: categories, bike listings, and bike product details. Accessories, components, and apparel are not covered by the existing endpoints. You can fork this API on Parse and revise it to add an endpoint targeting those product types.
Is review data available for all bike models?+
Review availability depends on whether a given product_id has PowerReviews data attached to it. Models with no customer reviews will return an empty reviews list. Aggregate rating summaries beyond individual review text are not broken out as separate fields in the current response shape. You can fork the API on Parse and revise it to extract and surface summary statistics if needed.
Page content last updated . Spec covers 6 endpoints from trekbikes.com.
Related APIs in EcommerceSee all →
giant-bicycles.com API
Shop Giant Bicycles with ease by browsing categories, searching specific models, viewing detailed specs and pricing, and checking real-time inventory across retail locations. Find nearby stores and discover clearance deals all in one place.
bike-discount.de API
Search and browse e-bikes from Bike-Discount.de to retrieve detailed specs, motor information, frame geometry, pricing, and stock availability. Access comprehensive product data across multiple brands and categories for research, comparison, and market analysis.
rei.com API
Search and browse REI's full catalog of outdoor gear and clothing, compare detailed product specifications, check real-time store availability, and read customer reviews to find the perfect equipment for your adventures. Explore products by category or use targeted searches to discover gear that matches your needs, all with instant access to pricing and local stock information.
cannondale.com API
Find detailed Cannondale bicycle and gear information including specs, geometry, and variants, then locate authorized dealers near you. Search across bikes, electric bikes, and accessories to compare products and check local availability in real-time.
fahrrad.de API
Search and browse e-bikes and bicycles from fahrrad.de to compare technical specifications, prices, and real-time availability across their store network. Find products by brand, view detailed product information, and locate inventory at specific store locations.
backcountry.com API
backcountry.com API
patagonia.com API
Access Patagonia's full product catalog via search and category browsing. Retrieve detailed product information including variants, pricing, specs, and materials. Fetch customer reviews, locate nearby stores and authorized dealers, and browse the Worn Wear used and refurbished gear selection.
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.