# Materials Stress-Strain Analysis

> Materials Stress-Strain Analysis is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.061001/call, status unknown (last checked 2026-10-21).

Extracts elastic modulus, yield strength, and other mechanical metrics from bounded stress-strain data arrays using a declared fitting method, reporting fit quality and sampling limits.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/micro/materials-stress-strain-analysis?utm_source=zero.xyz
- Price: $0.061001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/materials-stress-strain-analysis-d4d0ebed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dS3sZpPAKQDtHA9-cn0Rw

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 materials-stress-strain-analysis-d4d0ebed -d '<json body>'
```

Example prompt: I have tensile test data for a steel sample — strain values [0.0, 0.002, 0.005, 0.01, 0.02] and corresponding stress in MPa [0, 400, 1000, 1800, 2100]. The elastic region ends at index 3. Can you run a stress-strain analysis on this public dataset and extract the elastic modulus and other mechanical metrics?

## When to prefer this

Choose this endpoint when you have raw paired stress-strain data arrays from tensile or compression tests and need to programmatically extract elastic modulus, yield strength, and other supported mechanical metrics with fit quality reporting. It is especially suited for automated materials characterization pipelines, research data processing, or quality control workflows where structural design approval is not needed and results must be bounded to a declared elastic region index. It supports both public and synthetic data classifications, making it useful for research and simulation contexts.

## Known failure modes

- Strain and stress arrays of mismatched lengths cause validation failure
- elasticFitEndIndex outside the valid range (2–126) returns an error
- Arrays exceeding 128 items are rejected
- Invalid dataClass enum value (must be 'public' or 'synthetic') causes rejection
- Insufficient data points for reliable fitting may return degraded or null metrics
- Non-numeric values in strain or stress arrays cause schema validation errors

## How this service works

Extract supported metrics from bounded supplied stress-strain data under a declared method. Report fit and sampling limits; no structural design approval.

## Output

Returns a structured result object with extracted mechanical metrics (e.g. elastic modulus, yield strength), fit quality indicators, sampling boundary information, a unique offer ID, version string, input digest, and receipt digest for payment verification. The boundaries array indicates fit and sampling limits within the supplied data.

## 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",
      "strain",
      "stressMPa",
      "elasticFitEndIndex"
     ],
     "properties": {
      "strain": {
       "type": "array",
       "maxItems": 128,
       "minItems": 1
      },
      "dataClass": {
       "enum": [
        "public",
        "synthetic"
       ],
       "type": "string"
      },
      "stressMPa": {
       "type": "array",
       "maxItems": 128,
       "minItems": 1
      },
      "elasticFitEndIndex": {
       "type": "integer",
       "maximum": 126,
       "minimum": 2
      }
     },
     "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-stress-strain-analysis"
       ],
       "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": [
        "61001"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/materials-stress-strain-analysis-d4d0ebed/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)
