For AI agents · Dercora

How ChatGPT, Grok, Claude, and other AI tools can search products on Dercora via the public API, llms.txt, and OpenAPI spec.

# Use Dercora from ChatGPT, Grok, Claude, and other AI tools

Dercora exposes a **public product search API**. AI assistants can call it when a user asks to search on Dercora.

## Quick start for any AI chat

Ask the model:

> Fetch https://dercora.com/llms.txt and follow its instructions to search Dercora for: [your query]

Or call the API directly:

```
GET https://dercora.com/api/search?q=your+query&lite=1
```

No API key is required. Use **server-side** HTTP (ChatGPT Actions, tool runtimes, curl). Third-party websites cannot call the API from a visitor's browser.

## ChatGPT (Custom GPT Actions)

1. Create a Custom GPT → **Configure** → **Actions** → **Import from URL**.
2. Paste: `https://dercora.com/openapi.json`
3. Leave authentication as **None**.
4. In instructions, add: "When the user wants to find products on Dercora, call searchProducts, then link to Dercora product pages."

## Grok / Claude / other browsers

1. Open or fetch `https://dercora.com/llms.txt`.
2. Use the documented GET endpoints.
3. Prefer `lite=1` to keep responses small.

## Response tips

- Prices are in **cents** (`amount`) with an ISO `currency` (e.g. `{"amount":4999,"currency":"USD"}` = $49.99).
- Build PDP links as `https://dercora.com/product/{url-encoded id}`.
- Mention that Dercora may earn a commission when users buy via merchant links.

## Specs

- OpenAPI: https://dercora.com/openapi.json
- llms.txt: https://dercora.com/llms.txt
- UCP profile: https://dercora.com/ucp-agent.json