Your first recommendation
curl -X POST "$CROSSUP_BASE_URL/v1/recommendations" \
-H "Authorization: Bearer $CROSSUP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"connection_id": "cn_…",
"surface": "pdp",
"placement_key": "pdp-related",
"context_item_id": "itm_…"
}'
The base URL is in the API reference; you generate the key and the connection_id in your admin.
- Authentication
- Authorization: Bearer spk_…
- Quota
- 60 requests per minute per key; on a 429, Retry-After.
- Errors
- Problem Details (RFC 9457), with eleven documented types.
- Contract
- OpenAPI 3.1, with a playground in the docs.
- surface
pdpcartcarouselin-checkoutsuccess-page
Running an agency? The same integration in every store, with one key per store. See the agency program