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
3mo 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 →
lowes.com API
Search and browse products from Lowe's, including product listings by category, detailed product information, and pricing. Retrieve comprehensive details on specific items to compare options and make informed purchasing decisions.
bilbasen.dk API
Search Denmark's largest car marketplace to find vehicles by make and model, then access detailed pricing and technical specifications including emissions, weight, MSRP, battery size, and equipment details. Get comprehensive car listings and full specs to compare vehicles on Bilbasen.dk.
jula.fi API
Search and browse products from Jula.fi to find hardware items with detailed information including prices (with and without VAT), stock availability, brand details, and product SKUs. Explore products by category or search for specific items to compare pricing and check real-time stock status.
leroymerlin.fr API
Search and browse Leroy Merlin France's complete product catalog to find items by category, view pricing, product details, and compare offerings from Leroy Merlin and their online partners. Access real-time product information including names, IDs, URLs, and seller details to help you discover and evaluate home improvement and DIY products.
industrynet.com API
Find industrial suppliers and browse product categories across a comprehensive marketplace directory. Connect directly with suppliers by viewing detailed listings and submitting contact inquiries programmatically.
carsforsale.com API
Search vehicle listings and browse detailed car inventory by make, model, and trim to find the perfect vehicle on CarsForSale.com. Access comprehensive listing details including pricing, specifications, and availability all in one place.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
x-kom.pl API
Access product data from x-kom.pl, a major Polish electronics retailer. Search products by keyword or category, retrieve detailed product pages, customer reviews, Q&A, promotions, flash deals, and physical store locations.
Trek Bikes API – Catalog, Reviews & Shop Finder · Parse