# Allpointsfps — 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 AllPoints Foodservice's catalog to instantly find parts and supplies by item number, and access detailed product information including titles, images, descriptions, and pricing to compare options and make informed purchasing decisions. Pull comprehensive product data to streamline your procurement workflow and keep your inventory management up to date.

**Category:** E-commerce | **Website:** [www.allpointsfps.com/spaceman/](https://www.allpointsfps.com/spaceman/) | **Docs:** [parse.bot/marketplace/2801ebe5-6d76-4500-b057-f5a388b8347c/allpointsfps-com-api](https://parse.bot/marketplace/2801ebe5-6d76-4500-b057-f5a388b8347c/allpointsfps-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-allpointsfps-com-api-2801ebe5/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product_details

Get detailed product information by BigCommerce entity ID. Returns full product data including description, all images, custom fields, pricing, availability status, and equipment compatibility (fits). The entity_id comes from search_products results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `entity_id` | string | Yes | BigCommerce product entity ID (numeric). Obtain from search_products results (entity_id field). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-allpointsfps-com-api-2801ebe5/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"entity_id":"<string>"}'
```

### search_products

Search and browse products on AllPoints FPS. Supports keyword search, brand page browsing, and filtering by manufacturer or model. Returns paginated product listings with pricing, images, and availability. Use brand_url to browse a specific brand's catalog (e.g. '/spaceman/') or query for keyword search.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `brand_url` | string | No | Brand category URL path to browse (e.g. '/spaceman/'). Used when query is not provided. |
| `manufacturer` | string | No | Filter by manufacturer name (e.g. 'spaceman', 'berkel'). Value should be lowercase. |
| `model` | string | No | Filter by equipment model number (e.g. '6210', '6228 (rev. 102-01-00)'). Value should be lowercase. |
| `page` | integer | No | Page number for pagination (1-based). |
| `page_size` | integer | No | Number of results per page. Accepted values: 24, 48, 96. |
| `query` | string | No | Search keyword (e.g. 'spaceman belt', 'drive belt'). When omitted, results default to browsing the brand_url page. |
| `sort` | string | No | Sort order for results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-allpointsfps-com-api-2801ebe5/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"brand_url":"<string>","manufacturer":"<string>","model":"<string>","page":"<integer>","page_size":"<integer>","query":"<string>","sort":"<string>"}'
```
