# UL Prospector — 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 chemicals and materials from the UL Prospector database across multiple industries, then retrieve detailed specifications and properties for any material you find. Discover industry-specific products and access comprehensive material information to support your sourcing and product development needs.

**Category:** Business Directories | **Website:** [ulprospector.com/](https://ulprospector.com/) | **Docs:** [parse.bot/marketplace/d510bd3c-c442-4b3e-a4c4-beabb2f42ca0/ulprospector-com-api](https://parse.bot/marketplace/d510bd3c-c442-4b3e-a4c4-beabb2f42ca0/ulprospector-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/ul-prospector/`
**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 industries

Get the list of supported industries and their URL slugs. Returns a fixed map of industry slug to human-readable display name. Use these slugs as the industry parameter for search_materials, list_materials, and get_material_detail.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ul-prospector/get-industries \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get material detail

Retrieve full detail for a specific material including product name, INCI name, description, and supplier. Requires product_id, supplier_id, and slug from search_materials or list_materials results. Returns a 422 if the material cannot be found upstream.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `industry` | string | Yes | Industry slug from get_industries. Accepted values: PersonalCare, Food, Inks, Cleaners, Lubricants, Coatings, Adhesives |
| `product_id` | string | Yes | Product ID from search_materials or list_materials results |
| `slug` | string | Yes | Product slug from search_materials or list_materials results (e.g. 'Sodium-Salicylate') |
| `supplier_id` | string | Yes | Supplier ID from search_materials or list_materials results |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ul-prospector/get-material-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"industry":"<string>","product_id":"<string>","slug":"<string>","supplier_id":"<string>"}'
```

### List materials

Browse materials in an industry without a specific keyword. Returns a broad set of materials using a single-character search internally. Results are paginated in batches of approximately 100. Use the start parameter to advance through pages.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `industry` | string | Yes | Industry slug from get_industries. Accepted values: PersonalCare, Food, Inks, Cleaners, Lubricants, Coatings, Adhesives |
| `start` | integer | No | Pagination start offset (number of results to skip) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ul-prospector/list-materials \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"industry":"<string>","start":"<integer>"}'
```

### Search materials

Search for materials by keyword within a specific industry. Returns paginated results (up to ~100 per page) with product identifiers needed for get_material_detail. Pagination advances via the start offset in increments matching the page size. Each result includes product_name, supplier_name, INCI name (when available), and the IDs/slug needed to fetch full detail.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `industry` | string | Yes | Industry slug from get_industries. Accepted values: PersonalCare, Food, Inks, Cleaners, Lubricants, Coatings, Adhesives |
| `query` | string | Yes | Search keyword (e.g. 'sodium', 'surfactant', 'vitamin') |
| `start` | integer | No | Pagination start offset (number of results to skip) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ul-prospector/search-materials \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"industry":"<string>","query":"<string>","start":"<integer>"}'
```

## Next steps

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