{
  "x402Version": 2,
  "id": 32210,
  "slug": "32210",
  "resource": "https://www.mahastrategies.com/api/v1/micro/terrain-profile-arithmetic",
  "description": "Compute exact rises/runs and rounded slopes from bounded caller samples in millimetres. Not live volcanic hazard analysis.",
  "type": "http",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786099228/bazaar-icons/1a820036513dff1d.png",
  "resourceType": "Identity & Enrichment",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "65000",
      "amountUsd": 0.065,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "amountBaseUnits": {
            "enum": [
              "65000"
            ],
            "type": "string"
          },
          "boundaries": {
            "maxItems": 128,
            "minItems": 0,
            "type": "array"
          },
          "inputDigest": {
            "maxLength": 71,
            "type": "string"
          },
          "offerId": {
            "enum": [
              "terrain-profile-arithmetic"
            ],
            "type": "string"
          },
          "receiptDigest": {
            "maxLength": 71,
            "type": "string"
          },
          "result": {
            "type": "object"
          },
          "version": {
            "enum": [
              "maha-microproducts/0.1"
            ],
            "type": "string"
          }
        },
        "required": [
          "version",
          "offerId",
          "amountBaseUnits",
          "inputDigest",
          "result",
          "boundaries",
          "receiptDigest"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "dataClass": "synthetic",
            "samples": [
              {
                "distanceMm": 0,
                "elevationMm": 1000,
                "id": "a"
              },
              {
                "distanceMm": 10000,
                "elevationMm": 2000,
                "id": "b"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "amountBaseUnits": "65000",
            "boundaries": [
              "Public or synthetic inputs only. Caller labels are declarations,…"
            ],
            "inputDigest": "sha256:c4c3125637c6bac37957b642229ab5804bce85584dd01c258e264d100…",
            "offerId": "terrain-profile-arithmetic",
            "receiptDigest": "sha256:fe6031d455d38c839b060a5f36c4df5a21ebd6baa7626c931eef93f6f…",
            "result": {
              "ascentMm": 1000,
              "dataClass": "synthetic",
              "descentMm": 0,
              "limitations": [
                "Caller-supplied sampled profile arithmetic only; millimetres and…"
              ],
              "netRiseMm": 1000,
              "sampledPathLengthMm": "10049.875621",
              "segments": [
                {
                  "angleDeg": "5.710593",
                  "from": "a",
                  "gradePercent": "10.000000",
                  "lengthMm": "10049.875621",
                  "riseMm": 1000,
                  "runMm": 10000,
                  "to": "b"
                }
              ],
              "serviceId": "terrain-profile-arithmetic",
              "totalRunMm": 10000
            },
            "version": "maha-microproducts/0.1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "dataClass": {
                    "enum": [
                      "public",
                      "synthetic"
                    ],
                    "type": "string"
                  },
                  "samples": {
                    "maxItems": 64,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "dataClass",
                  "samples"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "amountBaseUnits": {
                    "enum": [
                      "65000"
                    ],
                    "type": "string"
                  },
                  "boundaries": {
                    "maxItems": 128,
                    "minItems": 0,
                    "type": "array"
                  },
                  "inputDigest": {
                    "maxLength": 71,
                    "type": "string"
                  },
                  "offerId": {
                    "enum": [
                      "terrain-profile-arithmetic"
                    ],
                    "type": "string"
                  },
                  "receiptDigest": {
                    "maxLength": 71,
                    "type": "string"
                  },
                  "result": {
                    "type": "object"
                  },
                  "version": {
                    "enum": [
                      "maha-microproducts/0.1"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "version",
                  "offerId",
                  "amountBaseUnits",
                  "inputDigest",
                  "result",
                  "boundaries",
                  "receiptDigest"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "declaration-integrity": {
      "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/terrain-profile-arithmetic",
      "declarationDigest": "sha256:dff8459d7c7e648e76e0aae3c8b2363e41b62b5df56728caaeb395acd5d85bc6",
      "metadataVersion": "2026-08-10"
    },
    "maha-offer": {
      "amount": "65000",
      "asset": "USDC",
      "assetDecimals": 6,
      "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/terrain-profile-arithmetic",
      "declarationInline": "compact",
      "declarationUrl": "https://www.mahastrategies.com/api/discovery/x402-offers/terrain-profile-arithmetic",
      "fullSourceTextStored": false,
      "maxRequestBytes": 32768,
      "method": "POST",
      "network": "eip155:8453",
      "offerId": "terrain-profile-arithmetic",
      "payableInProduction": true,
      "status": "available",
      "verbatimExcerptsRetained": false
    }
  },
  "tags": [
    "bounded-computation",
    "evidence",
    "deterministic",
    "microproduct",
    "expansion-20261011",
    "bazaar",
    "declaration-integrity",
    "maha-offer"
  ],
  "sourceHost": "www.mahastrategies.com",
  "lastUpdated": "2026-10-11T09:03:19.627Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-11T09:03:19.436Z"
  },
  "metadata": {
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786099228/bazaar-icons/1a820036513dff1d.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "dataClass": "synthetic",
              "samples": [
                {
                  "distanceMm": 0,
                  "elevationMm": 1000,
                  "id": "a"
                },
                {
                  "distanceMm": 10000,
                  "elevationMm": 2000,
                  "id": "b"
                }
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "amountBaseUnits": "65000",
              "boundaries": [
                "Public or synthetic inputs only. Caller labels are declarations,…"
              ],
              "inputDigest": "sha256:c4c3125637c6bac37957b642229ab5804bce85584dd01c258e264d100…",
              "offerId": "terrain-profile-arithmetic",
              "receiptDigest": "sha256:fe6031d455d38c839b060a5f36c4df5a21ebd6baa7626c931eef93f6f…",
              "result": {
                "ascentMm": 1000,
                "dataClass": "synthetic",
                "descentMm": 0,
                "limitations": [
                  "Caller-supplied sampled profile arithmetic only; millimetres and…"
                ],
                "netRiseMm": 1000,
                "sampledPathLengthMm": "10049.875621",
                "segments": [
                  {
                    "angleDeg": "5.710593",
                    "from": "a",
                    "gradePercent": "10.000000",
                    "lengthMm": "10049.875621",
                    "riseMm": 1000,
                    "runMm": 10000,
                    "to": "b"
                  }
                ],
                "serviceId": "terrain-profile-arithmetic",
                "totalRunMm": 10000
              },
              "version": "maha-microproducts/0.1"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "dataClass": {
                      "enum": [
                        "public",
                        "synthetic"
                      ],
                      "type": "string"
                    },
                    "samples": {
                      "maxItems": 64,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "dataClass",
                    "samples"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "amountBaseUnits": {
                      "enum": [
                        "65000"
                      ],
                      "type": "string"
                    },
                    "boundaries": {
                      "maxItems": 128,
                      "minItems": 0,
                      "type": "array"
                    },
                    "inputDigest": {
                      "maxLength": 71,
                      "type": "string"
                    },
                    "offerId": {
                      "enum": [
                        "terrain-profile-arithmetic"
                      ],
                      "type": "string"
                    },
                    "receiptDigest": {
                      "maxLength": 71,
                      "type": "string"
                    },
                    "result": {
                      "type": "object"
                    },
                    "version": {
                      "enum": [
                        "maha-microproducts/0.1"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "version",
                    "offerId",
                    "amountBaseUnits",
                    "inputDigest",
                    "result",
                    "boundaries",
                    "receiptDigest"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "declaration-integrity": {
        "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/terrain-profile-arithmetic",
        "declarationDigest": "sha256:dff8459d7c7e648e76e0aae3c8b2363e41b62b5df56728caaeb395acd5d85bc6",
        "metadataVersion": "2026-08-10"
      },
      "maha-offer": {
        "amount": "65000",
        "asset": "USDC",
        "assetDecimals": 6,
        "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/terrain-profile-arithmetic",
        "declarationInline": "compact",
        "declarationUrl": "https://www.mahastrategies.com/api/discovery/x402-offers/terrain-profile-arithmetic",
        "fullSourceTextStored": false,
        "maxRequestBytes": 32768,
        "method": "POST",
        "network": "eip155:8453",
        "offerId": "terrain-profile-arithmetic",
        "payableInProduction": true,
        "status": "available",
        "verbatimExcerptsRetained": false
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "www.mahastrategies.com",
    "manifest_name": "www.mahastrategies.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "amountBaseUnits": "65000",
    "boundaries": [
      "Public or synthetic inputs only. Caller labels are declarations,…"
    ],
    "inputDigest": "sha256:c4c3125637c6bac37957b642229ab5804bce85584dd01c258e264d100…",
    "offerId": "terrain-profile-arithmetic",
    "receiptDigest": "sha256:fe6031d455d38c839b060a5f36c4df5a21ebd6baa7626c931eef93f6f…",
    "result": {
      "ascentMm": 1000,
      "dataClass": "synthetic",
      "descentMm": 0,
      "limitations": [
        "Caller-supplied sampled profile arithmetic only; millimetres and…"
      ],
      "netRiseMm": 1000,
      "sampledPathLengthMm": "10049.875621",
      "segments": [
        {
          "angleDeg": "5.710593",
          "from": "a",
          "gradePercent": "10.000000",
          "lengthMm": "10049.875621",
          "riseMm": 1000,
          "runMm": 10000,
          "to": "b"
        }
      ],
      "serviceId": "terrain-profile-arithmetic",
      "totalRunMm": 10000
    },
    "version": "maha-microproducts/0.1"
  }
}