# Raman Peak Reference Comparison

> Raman Peak Reference Comparison is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.159/call, status unknown (last checked 2026-10-21).

Matches observed Raman spectroscopy peak positions against reference peak positions using nearest-unused matching within a specified absolute tolerance in wavenumber units.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/micro/materials-raman-reference-comparison?utm_source=zero.xyz
- Price: $0.159/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/raman-peak-reference-comparison-b705604b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CuUbofV9DT9kgn0vNlCTl

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 raman-peak-reference-comparison-b705604b -d '<json body>'
```

Example prompt: I have observed Raman peaks at [520, 960, 1332] cm⁻¹ and my reference peaks are at [521, 958, 1333, 1580] cm⁻¹ — can you match them up using a tolerance of 5 cm⁻¹ and tell me which observed peaks align with which reference peaks? Data is public.

## When to prefer this

Use this endpoint when you need a fast, deterministic, nearest-neighbor match of observed Raman wavenumber peaks against a reference set within a strict absolute tolerance, without requiring linewidth fitting, peak deconvolution, or full material identification. Ideal for screening or pre-validation workflows where a simple positional match is sufficient. Not suitable when you need phase identification, mineral classification, or spectral similarity scoring beyond peak position correspondence.

## Known failure modes

- Input arrays exceed 128 items — returns validation error
- Tolerance value out of allowed range — returns schema error
- No peaks match within specified tolerance — returns empty match list with all peaks listed as unmatched
- Invalid dataClass enum value — returns 400 validation error
- Malformed or missing required fields — returns schema validation error

## How this service works

Match supplied Raman peak positions by nearest unused reference within an absolute tolerance. No linewidth analysis or unique material identification.

## Output

Returns a structured result containing matched pairs of observed-to-reference peak positions (nearest unused neighbor within the specified tolerance), any unmatched observed or reference peaks, boundary annotations, an offer ID, version, input digest, receipt digest, and amount paid — all without linewidth analysis or unique material identification.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "dataClass",
      "observedCmInverse",
      "referenceCmInverse",
      "toleranceCmInverse"
     ],
     "properties": {
      "dataClass": {
       "enum": [
        "public",
        "synthetic"
       ],
       "type": "string"
      },
      "observedCmInverse": {
       "type": "array",
       "maxItems": 128,
       "minItems": 1
      },
      "referenceCmInverse": {
       "type": "array",
       "maxItems": 128,
       "minItems": 1
      },
      "toleranceCmInverse": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": 0
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "version",
      "offerId",
      "amountBaseUnits",
      "inputDigest",
      "result",
      "boundaries",
      "receiptDigest"
     ],
     "properties": {
      "result": {
       "type": "object"
      },
      "offerId": {
       "enum": [
        "materials-raman-reference-comparison"
       ],
       "type": "string"
      },
      "version": {
       "enum": [
        "maha-microproducts/0.1"
       ],
       "type": "string"
      },
      "boundaries": {
       "type": "array",
       "maxItems": 128,
       "minItems": 0
      },
      "inputDigest": {
       "type": "string",
       "maxLength": 71
      },
      "receiptDigest": {
       "type": "string",
       "maxLength": 71
      },
      "amountBaseUnits": {
       "enum": [
        "159000"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/raman-peak-reference-comparison-b705604b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
