# Allpointsfps — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/allpointsfps/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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.beta.paywithlocus.com/api/wrapped/credits/allpointsfps/get-product-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/allpointsfps/search-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"brand_url":"<string>","manufacturer":"<string>","model":"<string>","page":"<integer>","page_size":"<integer>","query":"<string>","sort":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.