# Fahrrad — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> 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.

**Category:** E-commerce | **Website:** [fahrrad.de/](https://fahrrad.de/) | **Docs:** [parse.bot/marketplace/10dd490b-6a0b-4862-b02f-df2394a2946c/fahrrad-de-api](https://parse.bot/marketplace/10dd490b-6a0b-4862-b02f-df2394a2946c/fahrrad-de-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-fahrrad-de-api-10dd490b/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product_availability

Check variant availability and prices for a product. Returns a simplified list of all variants with their stock status and pricing.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_handle` | string | Yes | The URL handle of the product. Obtainable from search_products or list_collection results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-fahrrad-de-api-10dd490b/get_product_availability \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_handle":"<string>"}'
```

### get_product_details

Get detailed information about a single product including technical specifications parsed from the product page. Combines the Shopify JSON product data with HTML-parsed spec tables containing technical details grouped under named sections.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_handle` | string | Yes | The URL handle of the product (e.g. 'cube-fahrradstander-cubestand-cmpt'). Obtainable from search_products or list_collection results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-fahrrad-de-api-10dd490b/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_handle":"<string>"}'
```

### list_brands

List all available brands sold on fahrrad.de. Returns brand names and their collection handles, which can be used with list_collection to browse a brand's products.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-fahrrad-de-api-10dd490b/list_brands \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### list_collection

List all products in a specific collection/category with full product details including variants, images, and pricing. Returns paginated results from the Shopify products JSON endpoint.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `collection_handle` | string | Yes | The handle of the collection (e.g. 'e-bikes', 'sale', 'fahrraeder') |
| `limit` | integer | No | Maximum number of products per page. |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-fahrrad-de-api-10dd490b/list_collection \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"collection_handle":"<string>","limit":"<integer>","page":"<integer>"}'
```

### list_stores

List physical store locations of fahrrad.de. Returns store names with their page handles and URLs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-fahrrad-de-api-10dd490b/list_stores \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_products

Full-text predictive search over the fahrrad.de product catalog. Returns matching products with title, price, vendor, and image. Results are ranked by relevance.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of results to return. |
| `query` | string | Yes | Search keyword (e.g. 'Cube', 'e-bike', 'helmet') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-fahrrad-de-api-10dd490b/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","query":"<string>"}'
```
