# Molecular Identity Comparison

> Molecular Identity Comparison is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.021003/call, status unknown (last checked 2026-10-23).

Compares two chemical structures with explicit handling of salts, protonation states, and stereochemistry to determine molecular identity equivalence.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/compute/chemistry/molecular-identity-comparison?utm_source=zero.xyz
- Price: $0.021003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/molecular-identity-comparison-b1b2cde0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vMgkJUsn9gAe0b_to--Fq

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 molecular-identity-comparison-b1b2cde0 -d '<json body>'
```

Example prompt: Compare these two molecular structures for identity — left is 'CC(=O)Oc1ccccc1C(=O)O' and right is 'CC(=O)Oc1ccccc1C(=O)[O-]' — treat the data as synthetic and make sure to account for salts, protonation, and stereochemistry differences.

## When to prefer this

Choose this endpoint when you need programmatic, rule-based molecular identity comparison with explicit, configurable handling of salts, protonation, and stereochemistry — particularly for dataset reconciliation workflows where two representations of a molecule may differ in form but not in identity. This is not a substitute for empirical analytical confirmation of identity or purity; use it for computational/logical equivalence checks only. Prefer this over generic string comparison or similarity search when structural equivalence rules (salt stripping, protonation normalization, stereo handling) must be applied consistently.

## Known failure modes

- Invalid or unparseable molecular structure string — returns error indicating which side (left/right) failed parsing
- Structure string exceeds 512 character limit — returns validation error
- Missing required fields (left or right structure) — returns 400-level error
- Invalid dataClass enum value — returns schema validation error
- Service unavailable or timeout — returns 5xx error

## How this service works

Compare supplied structures with explicit salt, protonation and stereochemical handling. For dataset reconciliation; no empirical identity or purity confirmation. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.

## Output

Returns a structured comparison result indicating whether the two supplied molecular structures are considered identical, with explicit accounting for salt forms, protonation states, and stereochemistry. Results are retained for 24 hours; minimal receipt metadata is stored for 90 days. No empirical identity or purity confirmation is provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "left": {
   "type": "string",
   "maxLength": 512,
   "minLength": 1
  },
  "right": {
   "type": "string",
   "maxLength": 512,
   "minLength": 1
  },
  "dataClass": {
   "enum": [
    "public",
    "synthetic"
   ],
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/molecular-identity-comparison-b1b2cde0/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)
