# Chemistry Concentration Basis Converter

> Chemistry Concentration Basis Converter is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.008001/call, status unknown (last checked 2026-10-13).

Converts between molarity (mol/L), mass concentration (g/L), and mass fraction for a chemical species given its molar mass and solution density

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/micro/chemistry-concentration-basis?utm_source=zero.xyz
- Price: $0.008001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chemistry-concentration-basis-converter-c8522c3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mx4B4Q_mCDRVvyPORpwH7

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 chemistry-concentration-basis-converter-c8522c3b -d '<json body>'
```

Example prompt: Convert 2.5 mol/L of ethanol (molar mass 46.07 g/mol, density 0.789 g/mL) to mass fraction — flag any missing assumptions.

## When to prefer this

Use this endpoint when you need a deterministic, auditable unit conversion between mol/L, g/L, and mass fraction for a known chemical species and have both molar mass and solution density available. Prefer it over general-purpose calculators when you need explicit flagging of missing material property assumptions and a receipt-digested audit trail. Not suited for multi-component mixtures or cases where density or molar mass are unknown.

## Known failure modes

- Missing required inputs (molarMassGPerMol or densityGPerML not provided) — endpoint flags missing assumptions rather than inventing values
- Value out of range (negative or astronomically large numbers) — rejected by schema validation
- Invalid unit combination (from and to are the same) — may return identity or flag as no-op
- Non-physical density or molar mass (zero values) — may produce divide-by-zero or flag as invalid
- Payment failure via x402 protocol — call not processed

## How this service works

Reconcile molarity, mass concentration and fractions when required density and composition inputs exist. Flag missing assumptions; no invented material properties.

## Output

Returns the numerically converted concentration in the target unit (mol/L, g/L, or mass-fraction), along with boundary flags for edge cases and warnings about any missing or assumed material properties. Also includes offer metadata, version, input and receipt digests for auditability.

## 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",
      "value",
      "from",
      "to",
      "molarMassGPerMol",
      "densityGPerML"
     ],
     "properties": {
      "to": {
       "enum": [
        "mol/L",
        "g/L",
        "mass-fraction"
       ],
       "type": "string"
      },
      "from": {
       "enum": [
        "mol/L",
        "g/L",
        "mass-fraction"
       ],
       "type": "string"
      },
      "value": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": 0
      },
      "dataClass": {
       "enum": [
        "public",
        "synthetic"
       ],
       "type": "string"
      },
      "densityGPerML": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": 0
      },
      "molarMassGPerMol": {
       "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": [
        "chemistry-concentration-basis"
       ],
       "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": [
        "8001"
       ],
       "type": 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chemistry-concentration-basis-converter-c8522c3b/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)
