# ScentPulse Occasion Match

> ScentPulse Occasion Match is a paid API for AI agents from scentpulse-xi.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-16).

Returns fragrance recommendations tailored to a specific occasion, setting, or context based on fragrance intelligence

## Facts

- Endpoint: GET https://scentpulse-xi.vercel.app/api/scent/occasion-match
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scentpulse-occasion-match-6efb3640
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-nr0rp-lFKXQCnjEZMphi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scentpulse-occasion-match-6efb3640
```

Example prompt: What fragrance should I wear to a formal outdoor summer wedding — something versatile, mineral or woody, that holds up in heat?

## When to prefer this

Choose this endpoint when the user wants fragrance recommendations contextualized to a specific event, environment, or mood — as opposed to note-profile lookup (which describes a known fragrance) or dupe-finding (which seeks cheaper alternatives). Ideal for blind-buyers seeking occasion guidance or collectors deciding what to reach for.

## Known failure modes

- Missing or invalid occasion parameter returns an error or empty recommendations
- Overly vague occasion input may yield generic or low-confidence matches
- Payment header missing or invalid results in 402 Payment Required response
- Unsupported occasion type or out-of-vocabulary input may return no results
- Network or server errors from the Vercel deployment may cause intermittent 5xx failures

## How this service works

Fragrance intelligence for perfume collectors, dupe-hunters, and blind-buyers. All endpoints require x402 payment (USDC on Base mainnet, or Solana USDC-SPL) via the PAYMENT-SIGNATURE header.

## Output

A JSON array of fragrance recommendations, each with the fragrance name and a concise explanation of why it fits the specified occasion — including notes on performance characteristics like climate suitability, projection, and accord style.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lang": {
       "type": "string",
       "description": "en | de | fr | es | ar | ja | ko | zh | pt"
      },
      "season": {
       "type": "string",
       "description": "spring | summer | fall | winter (optional)"
      },
      "climate": {
       "type": "string",
       "description": "hot-humid | hot-dry | temperate | cold (optional)"
      },
      "occasion": {
       "type": "string",
       "description": "office | date night | wedding | signature scent (optional)"
      },
      "age_range": {
       "type": "string",
       "description": "20s | 30s | 40s+ (optional)"
      },
      "budget_usd": {
       "type": "string",
       "description": "optional"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "errors": {
     "type": "object",
     "description": "Documented error responses, keyed by HTTP status code",
     "additionalProperties": {
      "type": "object",
      "required": [
       "description"
      ],
      "properties": {
       "example": {
        "type": "object"
       },
       "description": {
        "type": "string"
       }
      }
     }
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "recommendations": [
   {
    "fragrance": "Terre d'Hermes",
    "why_it_fits": "Versatile mineral-woody, strong hot-climate performer"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scentpulse-occasion-match-6efb3640/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scentpulse-xi.vercel.app](https://www.zero.xyz/host/scentpulse-xi.vercel.app/llms.txt)
