# Tigerfitness — 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.

> Access data from tigerfitness.com.

**Category:** E-commerce | **Website:** [tigerfitness.com/](https://tigerfitness.com/) | **Docs:** [parse.bot/marketplace/1a308042-7a2d-4f27-a543-07331e7c3893/tigerfitness-com-api](https://parse.bot/marketplace/1a308042-7a2d-4f27-a543-07331e7c3893/tigerfitness-com-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-tigerfitness-com-api-1a308042/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_collection_products

Get products from a specific Tiger Fitness collection by its URL handle. Useful for browsing sale/clearance collections (e.g. 'the-5-below-tiger-rack') or category collections (e.g. 'protein-powder', 'pre-workout'). Returns paginated product listings with computed discount percentages when compare_at_price is present.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `collection_handle` | string | Yes | URL slug of the collection (e.g. 'the-5-below-tiger-rack', 'protein-powder', 'pre-workout'). |
| `limit` | integer | No | Number of products per page (1-250). |
| `page` | integer | No | Page number (1-based). |

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

### search_products

Search Tiger Fitness products by keyword. Returns paginated results with pricing, discount percentage, vendor, review scores, and stock status. Supports sorting by relevance or price. Each result page contains up to 50 items; use the page parameter to paginate through total_results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of products per page (1-50). |
| `page` | integer | No | Page number (1-based). |
| `query` | string | Yes | Search keyword (e.g. 'protein', 'creatine', 'pre workout'). |
| `sort_by` | string | No | Sort field for results. |
| `sort_order` | string | No | Sort direction. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tigerfitness-com-api-1a308042/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>","query":"<string>","sort_by":"<string>","sort_order":"<string>"}'
```
