# 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-ulprospector-com-api-d510bd3c/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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/parse-ulprospector-com-api-d510bd3c/get_industries \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ulprospector-com-api-d510bd3c/get_material_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ulprospector-com-api-d510bd3c/list_materials \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ulprospector-com-api-d510bd3c/search_materials \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"industry":"<string>","query":"<string>","start":"<integer>"}'
```
