{
  "x402Version": 2,
  "id": 42658,
  "slug": "42658",
  "resource": "https://wod-api-production.up.railway.app/tools/substitute",
  "description": "Exercise substitution for injuries, $0.02 USDC on Base: give a movement (e.g. barbell back squat) and an injury or limitation (e.g. knee pain, shoulder impingement) and get 3-5 safe alternative exercises with prescriptions, coaching cues and stop signs. Physio-informed, not medical advice. Gym, home gym, CrossFit, Hyrox.",
  "type": "http",
  "serviceName": "Exercise Substitution Coach",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0395c1bed0b83ad6f0329b4132191934733e637c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 90
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "equipment": [
              "dumbbells",
              "box",
              "bands"
            ],
            "limitation": "patellar tendinopathy, pain in deep knee flexion",
            "movement": "Barbell Back Squat"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "alternatives": [
              {
                "name": "Banded Spanish Squat Isometric",
                "prescription": "5 × 45 s @ RPE 6-7",
                "why": "Loads the tendon isometrically"
              },
              {
                "name": "DB Box Squat (high box)",
                "prescription": "4 × 8 @ RPE 7",
                "why": "Limits knee flexion depth"
              }
            ],
            "coaching_cues": [
              "Vertical shin",
              "Pain ≤ 3/10 during and after"
            ],
            "disclaimer": "Not medical advice.",
            "limitation": "patellar tendinopathy",
            "movement": "Barbell Back Squat",
            "stop_signs": [
              "Sharp pain below the kneecap"
            ],
            "why_avoid": "Deep knee flexion under axial load peaks patellar tendon stress."
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "equipment": {
                    "description": "Available equipment; empty means \"assume a full gym\"",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 20,
                    "type": "array"
                  },
                  "limitation": {
                    "description": "Injury or limitation, e.g. \"left shoulder impingement\"",
                    "maxLength": 300,
                    "minLength": 2,
                    "type": "string"
                  },
                  "movement": {
                    "description": "e.g. \"Barbell Overhead Press\"",
                    "maxLength": 80,
                    "minLength": 2,
                    "type": "string"
                  }
                },
                "required": [
                  "movement",
                  "limitation"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "exercise_substitution",
    "injury_modification",
    "fitness_coaching",
    "bazaar"
  ],
  "sourceHost": "wod-api-production.up.railway.app",
  "lastUpdated": "2026-10-13T05:49:44.307Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T05:49:44.157Z"
  },
  "metadata": {
    "serviceName": "Exercise Substitution Coach",
    "extensions": {
      "bazaar": {
        "discoverable": true,
        "info": {
          "input": {
            "body": {
              "equipment": [
                "dumbbells",
                "box",
                "bands"
              ],
              "limitation": "patellar tendinopathy, pain in deep knee flexion",
              "movement": "Barbell Back Squat"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "alternatives": [
                {
                  "name": "Banded Spanish Squat Isometric",
                  "prescription": "5 × 45 s @ RPE 6-7",
                  "why": "Loads the tendon isometrically"
                },
                {
                  "name": "DB Box Squat (high box)",
                  "prescription": "4 × 8 @ RPE 7",
                  "why": "Limits knee flexion depth"
                }
              ],
              "coaching_cues": [
                "Vertical shin",
                "Pain ≤ 3/10 during and after"
              ],
              "disclaimer": "Not medical advice.",
              "limitation": "patellar tendinopathy",
              "movement": "Barbell Back Squat",
              "stop_signs": [
                "Sharp pain below the kneecap"
              ],
              "why_avoid": "Deep knee flexion under axial load peaks patellar tendon stress."
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "equipment": {
                      "description": "Available equipment; empty means \"assume a full gym\"",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 20,
                      "type": "array"
                    },
                    "limitation": {
                      "description": "Injury or limitation, e.g. \"left shoulder impingement\"",
                      "maxLength": 300,
                      "minLength": 2,
                      "type": "string"
                    },
                    "movement": {
                      "description": "e.g. \"Barbell Overhead Press\"",
                      "maxLength": 80,
                      "minLength": 2,
                      "type": "string"
                    }
                  },
                  "required": [
                    "movement",
                    "limitation"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "wod-api-production.up.railway.app",
    "manifest_name": "wod-api-production.up.railway.app",
    "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": {
    "example": {},
    "type": "string"
  }
}